Skip to main content
Glama

call_tool

Execute an upstream MCP tool lazily and trim oversized JSON or log payloads, returning a cacheId for spilled output.

Instructions

Execute an upstream MCP tool lazily and trim oversized JSON or log payloads with an automatic spillover cacheId.

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": {
      "tool": "<tool>"
    },
    "name": "call_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoBypass output trimming for small critical payloads (default false).
toolYesTool reference ('server:tool' or unique tool name).
argumentsNoJSON arguments matching the target tool schema.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully explains lazy execution, automatic trimming of oversized JSON/log payloads, and creation of a cacheId, but says nothing about error behavior, whether upstream side effects occur, permission requirements, or how the trimmed result is represented.

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?

One compact sentence, front-loaded with the primary action and followed by the notable side effect. Nothing is redundant, though "lazily" is jargon that is never unpacked.

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?

With three parameters including a nested arguments object and no output schema, the description should explain the return shape more. Mentioning the spillover cacheId is helpful, but it never states that the response carries that identifier or how to use it, which is the main gap for an agent calling this cold.

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 description coverage is 100%, so the schema already explains raw, tool, and arguments. The description adds no extra parameter detail such as the accepted 'server:tool' format nuances or how arguments are validated against the target schema; baseline 3 applies when the schema does the work.

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?

"Execute an upstream MCP tool" gives a specific verb and resource, and the added clause about trimming oversized payloads and producing a spillover cacheId states the tool's distinctive behavior. It is clearly not a discovery tool like search_tools or describe_tool, though it does not explicitly name the sibling that retrieves spilled output.

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 name and description imply this is the executor to use when an actual tool invocation is needed, but there is no explicit when/when-not guidance. In particular, nothing tells the agent to switch to read_cached_output after a payload is spilled, nor is there guidance on choosing between this and discover-first workflows.

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