Skip to main content
Glama
canon-pixma-mcp

canon-pixma-mcp

by andrejpk

Explain error code

printer_explain_error
Read-only

Explains Canon PIXMA error and support codes such as 1688, 1700, or 5B00 by looking them up in the printer's built-in message table offline.

Instructions

Look up a Canon error/support code (e.g. 1688, 1700, 5B00) in the printer's own message table. Offline.

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": {
      "code": "<code>"
    },
    "name": "printer_explain_error"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesCode such as 1688, 5B00, DOC_1688

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses two useful behavioral facts: the answer comes from the printer's own message table (not a general knowledge base), and the lookup works offline with no device/connection dependency. It does not say what happens for an unknown or unrecognized code, which is the one remaining behavioral gap.

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, purpose and source first, operational caveat ("Offline") last. No filler and nothing that could be cut without losing information.

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 single-parameter, read-only lookup with no output schema, the description covers what it does, where the data comes from, and that it needs no connection. Only the shape of the returned explanation and unknown-code behavior are left unstated.

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?

Schema description coverage is 100% and the schema already gives examples matching the description's examples (1688), so the description adds little beyond restating the accepted code shapes. The word "support code" slightly widens the accepted vocabulary beyond the schema's "Code such as ...", but that is marginal.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb ("Look up") on a specific resource ("a Canon error/support code") and names the source data ("the printer's own message table"). The resource is plainly distinct from the sibling tools (counters, ink levels, status, discover), so an agent can route to it without reading another schema.

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?

Usage is only implied: the presence of an error/support code is the trigger, and the "Offline" note cues that it works without a live device connection. There is no explicit when-not guidance or named alternative for broader diagnostics.

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