Skip to main content
Glama
cups-sane-mcp

cups-sane-mcp

by ispb88

get_scan

Preview saved scan pages as watermarked images, up to five per call starting from a chosen page; optionally return a 5-minute download link to the full-quality file.

Instructions

Show a saved scan's pages as watermarked preview images (up to 5 per call, starting at first_page). upload=True also returns a 5-minute download link to the full-quality file.

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": {
      "filename": "<filename>"
    },
    "name": "get_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
uploadNo
filenameYes
first_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does add real behavioral context: previews are watermarked (not full quality), capped at 5 pages per call, paginated via first_page, and the upload=True link expires in 5 minutes. The one unresolved ambiguity is whether upload=True creates a server-side artifact — i.e. whether this is a pure read or has a side effect.

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 sentences, zero filler, front-loaded with the primary return value and then the optional upload behavior. Every clause carries actionable information (watermark, cap, pagination, expiry).

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?

No output schema and no annotations exist, so the description should do more to describe the shape of what is returned — whether previews come back as URLs, base64, or file references is unspecified. Combined with the unexplained filename parameter, an agent knows the intent but not the mechanics of the response.

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 description coverage is 0%, so the description must supply parameter meaning, and it does for two of three: upload=True yields the full-quality download link, and first_page sets the pagination start with a stated 5-per-call cap. filename is left to inference ('a saved scan's pages'), which is reasonable but not made explicit.

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 names a specific verb and resource ('Show a saved scan's pages') and states exactly what comes back (watermarked preview images), which distinguishes it from list-style siblings like list_scans. It never names an alternative tool explicitly, so the differentiation is implicit rather than spelled out.

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: an agent can infer it should call this when it needs to view a previously saved scan. There is no statement of when to prefer list_scans, get_upload_link, or print_scan, and no note about preconditions such as the scan having to exist or be finished.

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