Skip to main content
Glama

execute

Run a chosen tool on a specified MCP server after locating it with search. Provide the server, tool, and required arguments to perform the action.

Instructions

Execute a tool on a specific MCP server.

Use this after finding the right tool with the search function. Provide the server name, tool name, and any required arguments.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "server": "<server>",
      "tool": "<tool>"
    },
    "name": "execute"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYes
serverYes
argumentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it says nothing about side effects, whether execution is destructive or reversible, error/permission behavior, or how arguments are validated against the target tool. For a generic dispatch proxy that can invoke any remote tool, these omissions are material.

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

Conciseness4/5

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

Three short sentences, front-loaded with the core action, with no filler. The only mild redundancy is that both the second and third sentences address usage/inputs rather than the action itself.

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

Completeness2/5

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

There is no output schema and no annotations, so the description should explain what a successful execution returns and how failures (unknown server, unknown tool, invalid arguments) surface. It instead ends at the input side, leaving the agent without the return/error picture needed for a dynamic dispatch tool.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, and the description only restates the field names: server name, tool name, and 'any required arguments.' It gives no indication of naming conventions, how 'server' is resolved, or that 'arguments' must match the target tool's own schema — precisely the semantics the schema does not encode.

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

Purpose4/5

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

States a specific verb and resource: 'Execute a tool on a specific MCP server.' The second sentence positions it relative to the 'search' function, so an agent can tell it apart from the sibling without opening the schema.

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

Usage Guidelines4/5

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

Explicit sequencing: 'Use this after finding the right tool with the search function,' which names the alternative and the condition that selects it. It stops short of stating when-not to use it or what happens if the target tool/args are wrong.

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

Deploy Server

Other Tools