Skip to main content
Glama
Antigravity Codex Monitor

Antigravity Codex Monitor

中止本单任务

cancel_monitor_dispatch

Requests cancellation of a selected live Codex or DSH dispatch on an explicit panel action, using the dispatch ID and run token to stop the active run.

Instructions

Request cancellation of the selected live Codex or DSH dispatch on an explicit panel action.

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": {
      "dispatch_id": "<dispatch_id>",
      "run_token": "<run_token>"
    },
    "name": "cancel_monitor_dispatch"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_tokenYes
all_historyNo
dispatch_idYes
conversation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.5

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two useful traits: the operation is a "request" (not a guaranteed immediate kill) and it targets live dispatches. It says nothing about permissions, idempotency, what happens if the dispatch already completed, or whether cancellation is reversible — all critical for a cancellation tool.

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?

A single tight sentence with the resource and scope front-loaded and no filler. Its brevity works against it only insofar as the omitted content is better scored 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?

Four parameters with zero schema descriptions, no annotations, and no output schema demand far more than one sentence. The destructive scope of all_history and the role of run_token as a guard are exactly the details an agent needs before invoking a cancellation, and they are absent.

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%, so the description must compensate, and it largely does not. It implies dispatch_id comes from a current selection, but run_token, conversation_id, and especially all_history (a scope-widening boolean that could cancel more than the selected dispatch) are left entirely unexplained.

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 gives a specific verb and resource ("Request cancellation of ... dispatch") and scopes it to "live" dispatches, which implicitly separates it from the pending-dispatch sibling. It stops short of naming the alternative explicitly or explaining that cancellation is asynchronous rather than immediate.

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?

"On an explicit panel action" establishes that the tool should only fire in response to a user-initiated UI action, not autonomously, which is real guidance. However, it never says when NOT to use it, never mentions cancel_pending_dispatch as the alternative for queued work, and never states prerequisites such as obtaining a fresh run_token.

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