Skip to main content
Glama

Call a backend tool

call_tool
Destructive

Invoke a catalogued tool on a connected server to execute the requested action and return its result, answering users after capability discovery.

Instructions

Invoke a tool on a connected server. THIS IS THE STEP THAT ANSWERS THE USER -- list_capabilities only finds the name. server/tool are catalogue names. Side effects are the backend tool's own. Returns its result as text, big ones via retrieve_spill.

Input Schema

NameRequiredDescriptionDefault
argsNoObject or JSON string; omit if none.
toolYes
serverYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.8.0
    • changedInput schema / properties / args / description
      Previous value: -"the tool's arguments -- object or JSON string"New value: +"Object or JSON string; omit if none."
  2. First observedv0.7.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructive, non-readonly, non-idempotent, open-world execution, so the safety profile is covered; the description adds that side effects belong to the backend tool and that results are returned as text with a spill path for large payloads. It stops short of stating permission/confirmation requirements or what a spill looks like, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Roughly four short sentences with zero filler; the 'THIS IS THE STEP THAT ANSWERS THE USER' clause is front-loaded to anchor the tool's role. Every sentence carries a routing or return-behavior fact.

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?

With no output schema, the description correctly covers the return shape (text, spill for large results), and annotations carry the risk profile for a destructive operation. The remaining gap is procedural: nothing tells the agent to call describe_tool to learn the backend tool's argument shape before invoking.

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?

Only `args` is described in the schema (33% coverage); the description supplies the missing meaning for server/tool as 'catalogue names', which is genuine added value. However, it never explains how `args` should be shaped relative to the backend tool's own schema or that describe_tool should be consulted first, leaving the most failure-prone parameter underspecified.

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 ('Invoke a tool on a connected server') and explicitly contrasts with the sibling list_capabilities ('only finds the name'). An agent can distinguish this as the execution step from the discovery steps without opening any 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?

Names the alternative (list_capabilities) and the condition that selects it, and adds a second routing rule for oversized results ('big ones via retrieve_spill'). Two sibling tools are positioned explicitly rather than left to inference.

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