Skip to main content
Glama

arcwright_cancel

Stops a running Antigravity task by task ID, optionally scoped to a project directory, so you can halt work that is no longer needed.

Instructions

Stop a running task.

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": "arcwright_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes
project_dirNoAbsolute path of the project folder the agents work in. Defaults to the current working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.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 behavioral burden, yet it says nothing about whether stopping is graceful or forced, whether the cancellation is irreversible, what happens to partial output or dispatched agents, or whether permissions are required. For a mutation tool with zero structured hints, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short sentence with zero padding and is front-loaded, but its brevity reflects under-specification rather than efficient communication for a destructive operation.

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?

For an unannotated mutation tool with a required identifier, an undocumented half of the schema, and no output schema, the definition leaves an agent unable to predict side effects, return values, or error behavior. Substantially more context is needed.

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 50%: project_dir is documented, but task_id (the required parameter) has no description anywhere. The description adds no information about identifier format or whether project_dir must match the task's original project. It does not compensate for the coverage gap.

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 ("Stop") and resource ("running task"), so an agent knows the general effect. It does not distinguish this from siblings such as arcwright_rollback or arcwright_wait, and does not clarify whether the task is killed, paused, or removed from a queue.

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?

There is no guidance on when to call this versus arcwright_rollback (which presumably undoes work) or arcwright_wait, and no prerequisites or preconditions are stated. The only usage signal is the inferred one that a task must be running.

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