Skip to main content
Glama

Agent Data Tools: Compact (find, describe, run)

call_tool

Read-only

Run one of this service's tools by name. Costs that tool's own price per successful call (most $0.01; tool_details and find_tool show it); a failed call costs nothing, and tools marked inFreeCalls (tools that only compute or look up public data; not AI, speech, transcription, images, rendering, search or resold data) run free while the caller has free calls left. Pass the tool's inputs as "arguments". If you do not know the name or the inputs, call find_tool or tool_details first: a wrong name or a missing input is refused before anything is charged. A tool that costs more than $0.10 a call (find_tool marks it needsMaxPrice) runs only when you pass that price as "max_price"; without it the call is refused, uncharged, and the refusal states the price.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe tool's name from find_tool, for example weather_forecast
argumentsNoThe tool's inputs as an object, for example {"city": "Paris"}. See tool_details for a tool's inputs
max_priceNoOnly for a tool that costs more than $0.10 a call: the most this call may cost, for example "$1.00". Leave it out for every other tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the billing model (per-successful-call price, failures free), the inFreeCalls exemption and what it excludes, and the uncharged-refusal behavior for unknown names, missing inputs, and missing max_price. The one omission is that the description never warns that the dispatched tool may itself mutate state, which sits awkwardly with readOnlyHint=true and is the main behavioral risk an agent should know about.

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 core action in the first sentence and then layers cost, refusal, and max_price rules in a logical order. It is a dense single paragraph with some repetition around 'refused, uncharged' versus 'a failed call costs nothing', but nearly every clause carries actionable information.

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?

Covers the preconditions, cost model, and failure modes thoroughly, which is what an agent needs to call this dispatcher safely. What is missing is a statement about what comes back (presumably the invoked tool's own output) and whether the underlying tool's side effects can be destructive, given there is no output schema to fall back on.

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 still adds real meaning: it explains that 'arguments' is the target tool's own input object (deferring to tool_details for its shape) and that max_price applies only to tools flagged needsMaxPrice. That conditional rule is not derivable from the schema alone.

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 and resource ('Run one of this service's tools by name') and makes clear it is a dispatcher rather than a lookup, which separates it from find_tool and tool_details. An agent can identify the operation 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 Guidelines5/5

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

Gives explicit routing guidance: 'If you do not know the name or the inputs, call find_tool or tool_details first.' It also states the conditional rule for when max_price must be supplied, so the agent knows exactly which cases require an extra parameter versus which must omit it.

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