Skip to main content
Glama

tool_call

Run a named operation with arguments and full-profile validation, autonomy cap, and failure details; return the result or a preview and ref when output exceeds maxBytes.

Instructions

Run one operation by name with its arguments, exactly as its own tool would run in the full profile: same validation, autonomy cap and failure { code, message }. Returns the result, or a preview and ref for result_read when the result exceeds maxBytes. An invalid_select completion includes a ref to the finished result; do not repeat the operation.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
selectNo
maxBytesNo
argumentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose substantive behavior: identical validation and 'autonomy cap' to the original tool, failure shape { code, message }, truncation to a preview with a ref for result_read, and the invalid_select edge case. However, 'autonomy cap' is undefined jargon, and nothing states the mutation/safety profile — an agent cannot tell whether a call routed here may be destructive or whether it requires permissions.

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 sentences, front-loaded with the core action, then return behavior, then the error edge case — a sensible ordering with little waste. It loses a point for jargon density ('autonomy cap', 'invalid_select completion') that forces the reader to infer meaning from context.

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?

Given four parameters, a nested arguments object, no annotations and no output schema, the definition covers the return path and one error path reasonably well. It remains incomplete on how an agent obtains valid operation names, what 'select' does, and whether 'arguments' are validated against the target tool's schema — all things an agent needs before a correct first call.

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 0% across four parameters including a nested 'arguments' object, so the description must compensate and it only partially does. 'name' and 'arguments' are covered by 'Run one operation by name with its arguments', and 'maxBytes' is explained via the preview/result_read threshold, but 'select' is never defined — it surfaces only incidentally through the 'invalid_select' error case, leaving its purpose and format unexplained.

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: 'Run one operation by name with its arguments', and clarifies this is a proxy that behaves identically to the real tool in the full profile. It does not explicitly differentiate itself from discovery siblings like tools_search/tools_describe, and never explains where valid names come from, so it falls short of a 5.

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?

Provides one concrete usage rule: after an invalid_select completion, 'do not repeat the operation' because a ref to the finished result is returned. Beyond that, usage is only implied — the definition never says to discover names via tools_search/tools_describe first, nor when an agent should prefer a dedicated sibling over routing through this generic dispatcher.

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