Skip to main content
Glama

Pause, resume or cancel plan

batch_control
DestructiveIdempotent

Pause future dispatch, resume, or cancel remaining steps on explicit user request. Already submitted work finishes safely and remains visible.

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": {
      "batch_id": "<batch_id>",
      "action": "<action>"
    },
    "name": "batch_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesPause future dispatch, resume the plan, or cancel the remaining steps.
batch_idYesUUID of the production plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, but the description adds genuine context the annotations cannot: already submitted work finishes safely and stays visible, which clarifies that 'cancel' does not mean retroactive deletion. It does not state whether pause is reversible in all cases or what the response reports, keeping it at 4.

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?

Two sentences, front-loaded with the action set and followed by the safety guarantee. Every clause earns its place and nothing is repeated from the title or schema.

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 only two required parameters, full schema coverage, and annotations covering safety and idempotency, the description is nearly complete for the invocation decision. What's missing is state-transition behavior (for example pausing an already-cancelled plan) and any note on what the call reports back.

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?

Schema description coverage is 100% and the action enum carries its own per-value descriptions, so the schema already does the heavy lifting on both parameters. The description adds no format, identifier, or state-precondition detail beyond what the schema provides, so the baseline 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 gives specific verbs (pause, resume, cancel) against a specific resource (future dispatch / remaining steps of a plan), so the agent knows exactly what operation set this tool exposes. It does not name or distinguish itself from siblings like batch_submit or batch_get, which keeps it short of a 5.

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?

"On explicit user request" is a real usage gate that tells the agent not to trigger this autonomously, which is meaningful guidance for a destructive control tool. It stops short of the when-not/alternative routing a 5 would need, since no sibling is named as the fallback for, say, inspecting plan state first.

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