get_server_tools
Discover available tools on downstream MCP servers with permission-based filtering. Use to find specific tools you can access and execute through the gateway.
Instructions
Discover tools available on a downstream MCP server accessed through this gateway. Returns only tools you have permission to use (filtered by policy rules). Use the returned tool definitions to call execute_tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Your agent identifier (leave empty if not provided to you) | |
| server | No | Server name from list_servers | |
| names | No | Filter: comma-separated tool names | |
| pattern | No | Filter: wildcard pattern (e.g., 'get_*') | |
| max_schema_tokens | No | Limit total tokens in returned schemas |
Input Schema (JSON Schema)
{
"properties": {
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your agent identifier (leave empty if not provided to you)"
},
"max_schema_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Limit total tokens in returned schemas"
},
"names": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter: comma-separated tool names"
},
"pattern": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter: wildcard pattern (e.g., 'get_*')"
},
"server": {
"default": "",
"description": "Server name from list_servers",
"type": "string"
}
},
"type": "object"
}