Skip to main content
Glama

execute_tool

Execute a tool on any MCP server by specifying the server and tool names with parameters. Returns the underlying response as-is.

Instructions

Execute tool on MCP server. Passes parameters through. Returns underlying MCP response as-is.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mcp_nameYesTarget MCP name
tool_nameYesTool to execute
parametersNoParameters passed to tool verbatim
Behavior3/5

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

No annotations exist, so description carries full burden. It discloses passthrough behavior and that response is returned as-is, which is helpful. However, it does not mention side effects, authentication requirements, rate limits, or error handling, leaving gaps for a mutation-capable tool.

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 short sentences, front-loaded with the core action. Every sentence contributes value with no unnecessary words or repetition.

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

Completeness3/5

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

For a generic executor with moderate complexity (3 params, nested object) and no output schema, the description adequately states the basic behavior. However, it omits potential errors, prerequisites, and behavior when the target tool is missing, making it adequate but not fully 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% with each parameter having a description. The description adds 'passes parameters through' which reinforces the meaning but does not provide additional context beyond the schema. Baseline 3 is appropriate.

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 'Execute tool on MCP server' with specific verb+resource. It adds that parameters are passed through and response is returned as-is, distinguishing it from sibling tools like manage_mcps or search_tools which have more specific purposes.

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 executing any tool on an MCP server, but does not provide explicit guidance on when to use it versus alternatives like search_tools or get_metadata. No when-not or prerequisite information is given.

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/standardbeagle/slop-mcp'

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