Skip to main content
Glama

Cancel a running job

domscout_cancel_job

Cancel a running durable job, batch, or crawl without consuming credits. Use this action to stop work in progress; tasks already in flight may still complete.

Instructions

Free — this call never consumes credits or quota. Cooperatively cancels a durable job, batch, or crawl. Work already in flight may still complete.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.3

TDQS

B3.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that cancellation is cooperative ('may still complete') and that it's free, providing key behavioral traits. However, it doesn't mention idempotency or what happens if the job is already finished.

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?

The description is three short sentences, front-loaded with the free note, then the purpose, then the caveat. Every sentence adds value with no redundancy.

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 single-parameter cancellation tool, the description covers purpose, behavior, and a caveat. Missing elements include usage guidance, success/failure semantics, and whether the operation is synchronous, but these are not critical given the simplicity and lack of output schema.

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?

The description adds no information about the jobId parameter beyond the schema's minLength. While the parameter is self-explanatory given the tool name, schema coverage is 0%, and the description doesn't clarify what types of IDs are acceptable or how to obtain one.

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 clearly states the tool cancels a durable job, batch, or crawl, using a specific verb and resource. It distinguishes from sibling tools like get_job (read-only) and crawl_site (creation), though it doesn't explicitly name alternatives.

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?

No guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., job must be running) or conditions under which cancellation is appropriate, leaving the agent to infer usage from the tool name.

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