Skip to main content
Glama

execute_mcp_tool

Execute any MCP tool across configured servers by providing server name, tool name, and arguments. The proxy handles connection pooling and configuration discovery.

Instructions

Execute any available MCP tool through the proxy.

This is the universal gateway for calling MCP tools. The proxy spawns MCP servers on-demand and maintains a connection pool for efficient reuse. MCP configurations are read from ~/.claude.json or ~/.agentcockpit/mcps.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mcp_nameYesName of the MCP server (e.g., "Context7", "sequential-thinking")
argumentsYesTool arguments as a dictionary matching the tool's schema
tool_nameYesName of the tool to execute (e.g., "get-library-docs")

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It adds useful context about on-demand server spawning, connection pooling, and configuration file locations, but it does not disclose error handling, potential latency, or permission requirements. This is moderate transparency but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences with the main purpose front-loaded and two supplementary sentences about proxy mechanics. Every sentence adds value with no redundancy, making it concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a generic executor tool with an output schema and nested object parameters, the description covers the core purpose, operational model, and configuration sources. It could mention that arguments must conform to the target tool's schema, but the input schema already states that, so the description is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the description does not need to detail parameters. The description adds no extra information about mcp_name, tool_name, or arguments, and the schema already provides sufficient descriptions. This matches the baseline of 3 for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool executes any available MCP tool through a proxy, using a specific verb and resource. It distinguishes itself from sibling tools (search, list, management) by calling itself the 'universal gateway' for invoking tools, which is precise and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for calling MCP tools but does not explicitly state when to prefer it over alternatives like search_tools or list_available_mcps. It provides context about the proxy's behavior but no explicit 'when to use' or 'when not to use' guidance, which places it at an implied-usage level.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/Rixmerz/proxy-mcp'

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