Skip to main content
Glama

Agent MCP Gateway

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

NameRequiredDescriptionDefault
agent_idNoYour agent identifier (leave empty if not provided to you)
serverNoServer name from list_servers
namesNoFilter: comma-separated tool names
patternNoFilter: wildcard pattern (e.g., 'get_*')
max_schema_tokensNoLimit 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" }

Other Tools from Agent MCP Gateway

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/roddutra/agent-mcp-gateway'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server