Skip to main content
Glama
agent-bridge-mcp

agent-bridge-mcp

by sakerice

job_cancel

Cancels a running delegated job using its job ID, stopping further processing when a task is no longer needed.

Instructions

実行中の委譲ジョブをキャンセルする。

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": {
      "job_id": "<job_id>"
    },
    "name": "job_cancel"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/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 discloses almost nothing beyond the verb. It does not say whether cancellation is immediate or cooperative, whether it is reversible, whether partial output survives and can still be fetched via job_result, or what happens when the job is already terminal. For a destructive mutation tool with zero annotation coverage, this is a substantial 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?

The single sentence is front-loaded and free of padding, so there is no waste to trim. However, brevity here reflects under-specification rather than disciplined conciseness, since the length budget is spent on one clause.

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?

The tool is a state-changing operation with no annotations, no output schema, and an entirely undocumented parameter, so the description needed to do considerably more work. As written, an agent cannot tell what a successful response looks like, whether the operation is idempotent, or how to obtain the job_id it must pass.

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 single required parameter job_id is documented nowhere, and the description never mentions it. It adds no meaning about the identifier's source (presumably list_jobs or delegate_task output) or format, so an agent gets no help from either structured or prose fields.

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 uses a specific verb (キャンセルする, cancel) against a specific resource (実行中の委譲ジョブ, a running delegated job), which lets an agent distinguish it from read-oriented siblings such as job_status and job_result without opening the schema. It stops short of naming any sibling explicitly, so sibling differentiation is implied 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?

The qualifier 実行中 (running) implies the tool applies only to jobs still in flight, which is weak but real usage conditioning. There is no statement about what to do when a job has already finished, no pointer to job_status or job_result for checking state first, and no prerequisites or exclusions.

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