Skip to main content
Glama
cups-sane-mcp

cups-sane-mcp

by ispb88

cancel_job

Cancel a print job by ID to stop unwanted or pending printing from the print queue.

Instructions

Cancel a print job by id (e.g. "Office_Printer-42", from print_queue).

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

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden for a mutating operation. It does not say whether cancellation is reversible, what happens to a job already printing, whether repeated calls are idempotent, or what errors occur for an unknown or completed job id.

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?

One front-loaded sentence with the action first and the id detail second; nothing is redundant or padded.

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?

An output schema exists, so return values need not be explained, and the id format is covered. But for a cancellation tool with zero annotations, the absence of any statement about effects, reversibility, or failure modes leaves a real gap relative to the operation's risk.

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

Parameters4/5

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

Schema coverage is 0% — the single parameter only has the title 'Job Id' — so the description must compensate. It does so by giving a concrete id format example ('Office_Printer-42') and its source system (print_queue), which is meaningfully more than the schema provides.

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 ('Cancel a print job') plus the keying mechanism ('by id'), which is enough to distinguish it from siblings like print_file or list_scans. It also points at where the id originates (print_queue), though it stops short of naming a sibling alternative explicitly.

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 parenthetical '(from print_queue)' implies the agent should obtain job ids from print_queue first, which is useful implied usage guidance. However, there is no explicit when-to-use or when-not-to-use statement, no note on prerequisites such as the job still being queued, and no named alternative.

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