Skip to main content
Glama

invoke_tool

Advanced: run one API-backed tool by operationId. Prefer run_playbook or solve_task for jobs. After a jobReport, apply loop.remainingFixes then verify_task — do not re-invoke the same tool.

Input Schema

NameRequiredDescriptionDefault
inputNo
requestIdNo
operationIdYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / required
      Added value: +[
      +  "result"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, destructiveHint=false, so the safety profile is covered. The description adds that calls are 'Advanced' and API-backed (consistent with openWorldHint) plus loop-control guidance, but says nothing about auth requirements, side effects on external systems, or failure behavior. Adequate but not rich.

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?

Three short sentences, front-loaded with the action and immediately followed by routing and sequencing rules. Dense but every sentence carries information; only 'Advanced:' is loose framing rather than content.

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

Completeness3/5

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

An output schema exists, so return values need not be explained. However, for a generic meta-invocation tool the biggest question — how to obtain a valid operationId and what to put in `input` — is unanswered, and the description does not point at the sibling discovery tools that resolve it. Adequate for routing, incomplete for correct invocation.

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% and there are three parameters, including an untyped `input` object and an unexplained `requestId`. The description mentions operationId only as the driver and gives no hint that it must be obtained from search_provider_operations or get_provider_operation, nor what `input` should contain. The description largely fails to compensate for the coverage gap.

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

Purpose4/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 API-backed tool by operationId') and explicitly positions itself against siblings run_playbook and solve_task. It could go one step further by naming where operationIds come from, but the core action is unambiguous.

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 names the preferred alternatives ('Prefer run_playbook or solve_task for jobs') and gives an explicit post-condition workflow ('After a jobReport, apply loop.remainingFixes then verify_task — do not re-invoke the same tool'). The condition that selects this tool over alternatives is stated rather than inferred.

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