Skip to main content
Glama

muse_job_cancel

Cancel a running Muse job so its worker halts at the next safe point. Use to stop delegated coding tasks that are no longer needed.

Instructions

Cancel a job. The worker stops at its next safe point.

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": {
      "job_id": "<job_id>"
    },
    "name": "muse_job_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose one genuinely useful trait — cancellation is cooperative and deferred, not immediate — but says nothing about irreversibility, required permissions, idempotency, or what happens on an unknown/already-completed job_id. That leaves the mutation semantics largely undisclosed.

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 short sentences with zero waste. The action is front-loaded and the behavioral caveat follows immediately, so the agent reads the most important detail first.

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?

The tool is simple and an output schema exists, so return values need not be explained. However, for a mutation with no annotations and no output-schema-independent description of the resulting state, the definition omits what an agent needs to know about verifying success and handling already-terminal jobs.

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 0% for the single job_id parameter, and the description never mentions parameters at all. The parameter name is self-explanatory and the required flag is in the schema, so an agent can still invoke it, but the description adds no meaning about accepted formats or where a job_id comes from.

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: "Cancel a job." That is unambiguous and clearly distinct from the start/status siblings. It does not explicitly name a contrasting sibling or scope (single job vs. batch), so it falls just 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 Guidelines3/5

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

Usage is only implied by the verb — an agent can infer it should call this to stop a running job. There is no guidance on preconditions (must the job be running?), no note on whether canceling a finished job is a no-op or an error, and no reference to the status/wait siblings for confirming the outcome.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.