Skip to main content
Glama

Manage Bet Codes

Cancel an Async Job

mbc_cancel_job
Destructive

Cancel a queued or running async job. Items not yet processed are not run and not charged. 0 credits.

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

Input Schema

NameRequiredDescriptionDefault
job_idYesJob ID 'job_...'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is known. The description adds real behavioral value beyond that: unprocessed items are skipped and not charged, and the call costs 0 credits — details that matter for a destructive operation. It does not state whether already-processed items or partial results are retained, which would complete the picture.

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?

Three short sentences, no filler, with the action and its state constraint front-loaded before the billing consequences. Every sentence contributes information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter tool with an output schema and full annotation coverage, the description covers the essential behavior — what is skipped, what is charged. The only gap is the fate of already-processed work, which is minor but non-trivial for a destructive cancel.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter with 100% schema description coverage including the 'job_...' format hint, so the schema already carries the semantic load. The description adds no further meaning about job_id, making the baseline 3 appropriate.

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?

"Cancel a queued or running async job" gives a specific verb plus resource and even bounds the valid job states, which cleanly separates it from mbc_create_job and mbc_get_jobs. It does not explicitly name a sibling or an alternative action, so it stops short of full differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "queued or running" tells the agent the precondition for use and implicitly excludes finished jobs, and the billing note clarifies the consequence of calling it. There is no explicit when-not guidance or named alternative for jobs that cannot be cancelled.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.