Skip to main content
Glama

mcporch_cancel_task

Cancel an active task by ID, move it to manual review, and clear pending/delivered queue items. Provide an optional reason to document the cancellation.

Instructions

Cancel an active task (moves it to manual_review) and clear its pending/delivered queue items.

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": {
      "task_id": "<task_id>"
    },
    "name": "mcporch_cancel_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoCancelled by user
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose two important behaviors: the task is transitioned to manual_review rather than deleted, and pending/delivered queue items are cleared. It omits whether the action is reversible, what happens to queue items in other states, and what permissions or error conditions apply.

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?

A single front-loaded sentence with the primary action first and side effects in parentheses. No filler, and the most decision-relevant information is unburied.

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 two-parameter mutation with no annotations and no output schema, the behavioral half is reasonably covered, but parameter meaning and the return value or success signal are entirely unaddressed, leaving an agent to guess at argument semantics and expected response.

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 description coverage is 0% and the description adds nothing about either parameter. It does not explain that task_id identifies the task to cancel or that reason is recorded (defaulting to 'Cancelled by user'), so the meaning must be inferred from bare titles.

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 task) plus the resulting state change (moves it to manual_review), which makes it clearly distinct from siblings like create_task, get_task, or submit_result. It falls short of 5 only because it never references a sibling tool explicitly.

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?

The phrase 'an active task' implies a precondition (the task must be active), which is useful usage context, but the description never says when to cancel versus waiting, submitting a result, or asking a follow-up, and never states what happens if the task is not active.

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