Skip to main content
Glama
cups-sane-mcp

cups-sane-mcp

by ispb88

list_scan_sources

Lists the active scanner's source and mode names and maps shorthand scan names like adf, flatbed, color, and gray to them, helping choose valid scan settings.

Instructions

Show the scanner in use, its own source and mode names, and which of them the scan tool's names (adf, flatbed, color, gray, ...) map to. scan accepts either kind of name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_scan_sources"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden, and it discloses the key behavior: it reports the active scanner, its native source/mode names, and the mapping to shorthand names. 'Show' implies a read-only operation, though it doesn't cover error behavior when no scanner is configured.

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 tightly written sentences, front-loaded with what is returned and followed by the practical consequence (scan accepts either name form). No filler or redundancy.

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 parameterless tool with an output schema that documents return values, the description covers what the output means and why the mapping matters. Only minor gaps remain, such as behavior when no scanner is present.

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?

The tool takes zero parameters, so there is no parameter semantics to add; baseline is 4. The names adf, flatbed, color, gray mentioned are return-value examples, not inputs, so their presence is fine.

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 uses a specific verb ('Show') with a well-defined resource: the scanner in use, its own source/mode names, and the mapping to the scan tool's shorthand names (adf, flatbed, color, gray). It clearly differs from siblings like scan or get_scan by focusing on name discovery/mapping rather than performing a scan.

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?

It hints at the use case by noting 'scan accepts either kind of name', implying this is how you learn valid names to pass to scan. However, it never states explicitly when to call this versus scan, or any prerequisites (e.g., a configured scanner).

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