Skip to main content
Glama
Yoto Cards MCP
by haimrait

Cancel an upload job

cancel_job

Stops a running job before tracks are written so the Yoto card remains unchanged.

Instructions

Stop a running job. Tracks are only written at the end, so a cancelled job leaves the card unchanged.

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

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare destructiveHint=false, and the description adds genuine context beyond them: because tracks are written only at completion, cancelling leaves the card unchanged. That answers the key side-effect question for a mutation. It stops short of describing error behavior for already-completed jobs or whether cancellation is idempotent.

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?

Two short sentences, front-loaded with the action and followed by the consequence. No filler or redundant restatement of the title.

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 tool with no output schema, the description covers purpose and the main side effect, which is close to sufficient. It omits what the caller gets back (a job status or confirmation) and how the job_id should be sourced, leaving a real gap for a mutation tool.

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?

There is one parameter with 0% schema description coverage, so the description carries the full burden, yet it never mentions job_id, its origin (likely list_jobs), or its format constraints (4-36 chars). The schema supplies only type and length bounds with no meaning.

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?

States a specific verb and resource ('Stop a running job'), which an agent can map directly to cancel_job versus get_job/list_jobs. It does not explicitly name those siblings as alternatives, so differentiation is inferred from the verb 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 phrase 'running job' implies the tool applies only to in-flight jobs, but there is no explicit when-to-use guidance, no stated prerequisite (e.g. obtaining job_id from list_jobs), and no guidance on what to do if the job has already finished.

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