Skip to main content
Glama

call_tool

Destructive

Run any server tool by name with its parameters, after finding it. Use the name and arguments object to execute specific, unlisted tools.

Instructions

Runs any of this server's tools by name: name is the tool and arguments its own parameters, e.g. {"name": "get_actors_by_class", "arguments": {"class_name": "PointLight"}}. Use it for a tool that is not in your tool list, once find_tools has found it (and describe_tool, when its parameters are unclear); call a listed tool directly.

The call takes the path of a direct one: the same validation, guards and readback, and the same effects, so it can delete or overwrite whatever the named tool can; describe_tool shows that tool's annotations. Refused before anything runs: no name, name set to call_tool itself, arguments that is not an object (a JSON string of one is accepted), an unknown name (the error lists the closest ones) and a missing required parameter. An old name of a renamed tool runs the new one, and the reply says so.

Returns: the named tool's own reply, unchanged.

Input Schema

NameRequiredDescriptionDefault
nameYesThe tool to run, as find_tools returns it.
argumentsNoThe tool's own parameters, as describe_tool lists them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A5/5.0
Behavior5/5

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

Annotations already declare destructive, non-read-only, non-idempotent, and open-world behavior, but the description adds substantial context: the invoked tool runs with the same validation, guards, readback, effects, and destructive capacity as a direct call. It also lists refusal conditions, renamed-tool behavior, and that the reply is passed through unchanged.

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?

The definition is front-loaded with the core purpose and example, followed by routing guidance, behavioral caveats, refusal cases, and return semantics. Every sentence adds operational value for safe invocation of an arbitrary meta-tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex arbitrary-dispatch tool with no output schema, the description is complete enough to call correctly: it explains discovery flow, argument structure, validation behavior, refusal modes, destructive potential, rename handling, and that the named tool's own reply is returned unchanged.

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

Parameters5/5

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

Although schema coverage is already 100%, the description adds meaningful parameter semantics beyond the schema: a concrete example, acceptance of a JSON string for `arguments`, unknown-name errors with closest matches, and the fact that an old name of a renamed tool will run the new tool with an explanatory reply.

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?

The description states a specific verb and resource: it runs any server tool by name, with `name` identifying the tool and `arguments` carrying that tool's parameters. It clearly distinguishes itself from siblings by saying to use it only for tools not in the tool list, after `find_tools`, and to call listed tools directly.

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?

It explicitly gives the when-to-use condition (a tool not in the tool list), the prerequisite discovery flow (`find_tools`, then `describe_tool` when parameters are unclear), and the alternative (call a listed tool directly). No relevant routing decision is left implicit.

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