Skip to main content
Glama

call_tool

Runs one selected tool on a specified child MCP server and returns the real result; requires explicit confirmation for write actions and supports timeouts.

Instructions

Run one tool on one child MCP server and return its real result.

server: server id from search_tools (e.g. "flixtrain-mcp"). tool: tool name from search_tools. arguments: the tool's arguments as an object (use params_required from search results; omit for tools with no required params). timeout 5..300s (default 90). Write actions (cart, favorites, messages) need explicit confirm=true inside arguments. If the server is not on PyPI yet, returns a clear error instead of hanging.

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": "call_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
toolYes
serverYes
timeoutNo
argumentsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose real behavior: the confirm=true gate for mutating actions, the 5..300s timeout with a 90s default, and that unavailable/not-on-PyPI servers return a clear error rather than hanging. It stops short of saying how child-tool failures or partial results surface, and says nothing about rate limits or side-effect reversibility beyond the confirm flag.

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?

Front-loads the one-line purpose, then per-parameter notes, with no filler sentences. The line-broken layout is slightly choppy but each line carries operational information; the PyPI error note is niche but useful.

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?

An output schema exists so return structure need not be described, and the description covers the two required params, the optional ones, the confirm gate, and one failure mode. Remaining gaps are how child-tool errors are wrapped and whether arguments pass through unmodified.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it does: server is defined as an id from search_tools with an example format, tool as a name from search_tools, arguments as an object sourced from params_required with an omit rule, and timeout with an explicit 5..300 range that the schema does not contain. It also adds the confirm=true convention inside arguments, which is invisible in the schema.

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?

States a specific verb (run) and resource (one tool on one child MCP server) plus the outcome ('return its real result'). It is clearly distinguishable from the discovery sibling search_tools, which it explicitly positions as the source of both server and tool identifiers.

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?

Explains the required workflow: get server id and tool name from search_tools, pass arguments using params_required from the search results, and omit arguments when there are no required params. It also flags that write actions (cart, favorites, messages) require confirm=true, giving conditional guidance. No explicit when-not-to-use exclusion is stated.

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