Skip to main content
Glama

Cancel multi-language run

group_run_cancel
DestructiveIdempotent

Cancel every still-active lane of a group run.

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": {
      "group_run_id": "<group_run_id>"
    },
    "name": "group_run_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_run_idYesMulti-language run id (id from group_run_start or group_run_list).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / group_run_id / description
      Added value: +"Multi-language run id (id from group_run_start or group_run_list)."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so safety and repeatability are covered. The description contributes the scoping detail that only still-active lanes are affected, implying completed lanes are left untouched, but it omits whether cancellation is graceful, what happens to in-flight results, and any partial-failure behavior for a destructive multi-lane operation.

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?

A single front-loaded sentence with no redundant wording and the scope constraint placed immediately. Its brevity borders on under-specification, but nothing written is wasteful.

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?

This is a one-parameter tool with full schema coverage and annotations that already convey destructiveness and idempotency, and no output schema exists to explain. The description covers what is cancelled and which lanes are affected, which is sufficient for correct invocation.

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?

With 100% schema description coverage, the single group_run_id parameter is already fully documented, including its provenance from group_run_start or group_run_list. The description adds no further meaning about the parameter, so the baseline of 3 applies.

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?

The description pairs a specific verb ('Cancel') with a precise scope ('every still-active lane of a group run'), which lets an agent distinguish this bulk operation from the single-run sibling run_cancel. It stops short of naming that sibling explicitly, so differentiation is inferred from the 'group run' wording rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of the obvious alternative, run_cancel, for cancelling a single lane. The only implicit signal is that 'still-active' lanes are targeted, which hints at a cleanup use case but does not tell an agent when to reach for this versus cancelling runs individually.

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.