Skip to main content
Glama

Run utility tool

run_tool

Run a utility tool with its named inputs. On error, message, fix and problems say which input to change. Text tools answer at once and store nothing. File tools (tier "job") take file references from the drop tool and answer with result and files, or, if still running after wait_seconds (default 10), a job to follow with the job tool. token: the read_token of a private input file, such as one from file_request.

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": {
      "slug": "<slug>"
    },
    "name": "run_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes
inputNo
tokenNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 128,
      +      "minLength": 16,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Token"
      +}
  2. Added

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false. The description adds real value on top — text tools store nothing, file tools return result+files or a job after wait_seconds, and errors name the offending input — which is substantive behavioral context; however it never addresses mutation semantics or non-idempotency, which are the salient risks flagged by annotations.

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

Conciseness3/5

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

Front-loads the action and stays short, but the telegraphic phrasing ("On error, message, fix and problems say which input to change") is hard to parse and the tier discussion arrives before the agent knows what a tier is.

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 does explain what comes back for both text and file tools, including the job follow-up path after wait_seconds. The main remaining hole for a four-parameter dispatcher is slug discovery and input-key semantics.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the whole burden. It explains token (read_token of a private input file) and partially wait_seconds (default 10, job fallback), but leaves slug — the only required parameter — entirely undefined, and "named inputs" gives no sense of how input keys map to a tool's inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

It states a verb and resource ("Run a utility tool with its named inputs") and distinguishes two modes (text tools vs file tools of tier "job"), but what a "utility tool" actually is remains undefined — the agent must infer that tools are addressed by slug from an external catalog. It differentiates by tier rather than naming sibling alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: pass file references from the drop tool, pass a read_token for private input files, follow a running job with the job tool. There is no explicit when-to-use/when-not and no mention of finding or describing slugs via describe_tool/find_tools.

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