Skip to main content
Glama

workbuddy_cancel_task

Request cancellation of a WorkBuddy task and preserve an audit record with reason and detail level. Use it when a task must be stopped, then verify the desktop to confirm it actually halted.

Instructions

Request cancellation and preserve an audit record. A cancellation request alone does not prove WorkBuddy stopped; inspect the desktop if it continues.

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": {
      "taskId": "<taskId>"
    },
    "name": "workbuddy_cancel_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNofull preserves complete records. brief omits repeated goals/history/logs and clips the latest report to 2000 characters, while retaining identity, blockers and artifact paths. Brief summaries are not acceptance evidence.full
reasonNo
taskIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0-alpha.1

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations present the description carries the full behavioral burden, and it delivers the most important trait: cancellation is a best-effort request, not proof of termination, so the agent must verify on the desktop. It also discloses that an audit record is retained. It stops short of stating permissions, idempotency, or what happens to partially completed work.

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 no waste: the action and its audit side effect come first, and the critical verification caveat is front-loaded rather than buried. Every sentence earns its place.

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?

For a 3-parameter mutation tool with no annotations and no output schema, the description covers purpose and the key behavioral caveat but leaves parameter meaning and post-call state entirely to the schema. It is adequate but not complete.

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 coverage is only 33%, and the description never mentions taskId, reason, or detail, so it does not compensate for the undocumented parameters. Only the vague phrase 'preserve an audit record' gestures at the detail parameter's full/brief tradeoff, which the schema already explains far better.

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+resource ('Request cancellation' of a task) and adds the side effect of preserving an audit record, which an agent cannot infer from the name alone. It does not explicitly name siblings like workbuddy_accept_task or workbuddy_continue_task as alternatives, so differentiation is implicit 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 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: call this when you want a task cancelled. There is no explicit when/when-not guidance, no prerequisites (e.g. task must be running), and no comparison to siblings such as continue vs cancel. The one piece of guidance given is a post-call caveat about verifying the desktop.

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