Skip to main content
Glama

Run a tool

catalog_run_tool
Read-only

Runs any utility tool from this page, without opening the utility: name from catalog_get_utility, input matching the schema from catalog_describe_tool. Returns the tool's own result (locale-neutral data) or a structured error; for a tool with a deep link, the result includes url, a link to the answer on the tool page in this language, to give the person. Read-only; the call is shown on the page.

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>",
      "input": "<input>"
    },
    "name": "catalog_run_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesTool name from catalog_get_utility (agentTools), e.g. "length_convert".
inputYesThe tool's input object.
localeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint/openWorldHint, so the safety profile is covered, but the description adds real context: the return is either the tool's own result or a structured error, and a deep-link `url` may be included to hand back to a person. It also discloses that the call is visible on the page, which is a social/observability trait not present in annotations.

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-loaded with the action and the key contrast, and every sentence carries information. It is dense to the point of being a run-on (the deep-link clause plus the trailing "Read-only; the call is shown on the page"), so slightly less scannable than optimal.

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 pass-through executor with a nested free-form `input` and no output schema, the description covers what is returned (tool result, structured error, optional `url`) and where the inputs come from. Missing only edge details such as error shape or what happens on an invalid tool name.

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 67% and the description compensates by sourcing each parameter: `name` comes from catalog_get_utility, `input` matches catalog_describe_tool's schema (clarifying the nested pass-through object). "in this language" also gives implicit meaning to the undocumented `locale` enum, which the schema leaves as a bare enum.

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 ("Runs any utility tool") plus the distinguishing mechanism ("without opening the utility"), so the agent can tell it apart from catalog_describe_tool or catalog_get_utility, which only inspect tools. The purpose is unambiguous within one sentence.

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?

Gives the prerequisite chain explicitly: `name` must come from catalog_get_utility and `input` must match the schema from catalog_describe_tool, and contrasts with the alternative of opening the utility. No explicit when-not-to-use condition is stated, which keeps it just short of a 5.

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