***

title: get_service_tools
slug: /reference/python/agents/mcp-gateway/mcp-manager/get-service-tools
description: Discover a service's available tools without maintaining a persistent session.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Start a temporary MCP client, retrieve the list of available tools, then stop
the client. Useful for discovering a service's capabilities without maintaining
a persistent session.

## **Parameters**

<ParamField path="service_name" type="str" required={true} toc={true}>
  Name of the service to query.
</ParamField>

## **Returns**

`list[dict[str, Any]]` -- List of tool definition dictionaries from the MCP server.

## **Example**

```python {10}
from signalwire.mcp_gateway import MCPManager

config = {
    "services": {
        "todo": {"command": ["python3", "todo_mcp.py"], "description": "Todo list", "enabled": True}
    }
}

manager = MCPManager(config)
tools = manager.get_service_tools("todo")
for tool in tools:
    print(f"  {tool['name']}: {tool.get('description', '')}")
```