Skip to main content
Glama

muse_cancel

Cancel the active turn in a local coding-agent session, optionally specifying a turn ID, to stop ongoing work.

Instructions

Cancel the current turn.

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": {
      "session_id": "<session_id>"
    },
    "name": "muse_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
turn_idNo
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/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 burden. 'Cancel' signals mutation, but the description does not disclose whether cancellation is immediate or irreversible, what happens to partial output, or whether the session remains usable.

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?

The single sentence is front-loaded and free of filler. It is, however, extremely terse for a mutation tool, though that gap is better captured under completeness.

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

Completeness2/5

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

With no annotations, no output schema, and no parameter descriptions, the definition is too thin for a cancel operation. It omits parameter meanings, cancellation effects, and post-cancel state.

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

Parameters1/5

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

The schema has two parameters (session_id required, turn_id optional) with 0% description coverage, and the description never explains either one. 'Current turn' hints at turn_id but does not clarify why session_id is required or how the two interact.

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 states a specific verb ('Cancel') and resource ('the current turn'), which is clear enough to identify the operation. However, it does not explicitly contrast with siblings such as muse_close or muse_steer, so it falls 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 Guidelines2/5

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

It implies the tool applies to an active turn but gives no explicit when-to-use guidance, prerequisites, or alternatives. An agent must infer that it is for aborting an in-progress turn rather than closing a session.

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