Skip to main content
Glama

execute_tool

Execute tools on downstream MCP servers through gateway validation and forwarding. Access specific server tools with proper arguments while maintaining permission controls and timeout management.

Instructions

Execute a tool on a downstream MCP server accessed through this gateway. Gateway validates permissions then forwards your request to the server. Returns the server's response directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idNoYour agent identifier (leave empty if not provided to you)
serverNoServer name from list_servers
toolNoTool name from get_server_tools
argsNoArguments matching tool's inputSchema
timeout_msNoExecution timeout in milliseconds

Latest Blog Posts

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