Skip to main content
Glama

Real World MCP

Run a tool

call_tool

Run any tool by id with its arguments (see get_tool for the schema). live and federated tools run. referral-tier tools return {status:"referral", access, endpoint, auth, price, deep_link, ...} so you can complete the task with the provider directly. Tools with a spend guard (orders, mail, calls, quotes sent to real businesses) return a dry run, with the referral, unless confirm_spend is true and max_spend_usd is within the tool's per-call cap.

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

Input Schema

NameRequiredDescriptionDefault
idYesTool id from search_tools
argumentsNoThe tool's input, matching its input schema
confirm_spendNoSet true only after the user approved the cost or the outbound action. Default false: dry run.
max_spend_usdNoMost this one call may cost, in US dollars. Required with confirm_spend for paid tools.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

With only readOnlyHint=false and openWorldHint=true supplied, the description carries a lot: it discloses the dry-run default for spend-guarded categories (orders, mail, calls, quotes sent to real businesses), enumerates the referral payload fields returned instead of a result, and states the gating rule combining confirm_spend with a per-call cap. All of this is consistent with the non-read-only, open-world annotations and is materially beyond them.

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 action, then progressively covering the referral path and the spend guard. Dense but organized; nothing is filler, though the second sentence's parenthetical field list is a touch crowded.

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?

For a generic dispatcher with a nested arguments object and no output schema, this covers the two non-obvious outcomes (referral and dry run) that would otherwise derail an agent. It leaves the shape of a normal successful live result unstated, which is the main remaining gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the arguments object must match the target tool's own input schema, and max_spend_usd is bounded by the tool's per-call cap rather than by an arbitrary user number. It also clarifies that confirm_spend is an approval gate tied to a user decision, not just a flag.

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?

The opening clause states a specific verb and resource -- run a tool by id with its arguments -- and points to get_tool as the place to fetch the schema, which implicitly separates lookup from execution. It stops short of naming the execution siblings (run_workflow, execute_service) that an agent choosing a dispatcher would also weigh.

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?

It gives concrete conditions: live and federated tools run, referral-tier tools return a referral payload, and spend-guarded tools dry run unless confirm_spend is true and max_spend_usd is within the per-call cap. That is strong when-to-use guidance for the spend decision, though it says nothing about when to prefer call_tool over run_workflow or execute_service.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources