Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SCANNER_MCP_LOGNoLog level.INFO
SCANNER_MCP_SAVE_DIRNoWhere scans are written.~/Scans

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_scannersA

List all scanners reachable from this machine.

Discovers network scanners over mDNS (eSCL/AirScan) and local USB scanners via the platform driver stack (WIA on Windows, SANE on Linux/macOS). Returns a JSON array of scanners with their id (pass this to scan_document), name, backend, connection type and supported sources.

scan_documentA

Scan a document and return it so Claude can read it.

Args: scanner_id: Which scanner to use (from list_scanners). If omitted and exactly one scanner is found, that one is used; if several are found, an error lists them. source: auto | platen (flatbed glass) | adf (document feeder) | adf-duplex (feeder, both sides). resolution: DPI (150 fast, 300 documents, 600 fine). Default 300. color_mode: color | gray | lineart (1-bit black & white). output_format: png | jpeg | pdf. PDF is best for multi-page archives; images let Claude view the page inline. save_dir: Folder to save the scan in. Defaults to ~/Scans (or $SCANNER_MCP_SAVE_DIR). return_image: If true and the output is an image, the page images are returned inline so Claude can read the document directly. Ignored for PDF. ocr: If true, also OCR each page to text (requires Tesseract + pytesseract).

Returns a summary plus, when applicable, inline page images and/or OCR text.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.5/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have completely distinct purposes: one discovers available scanners, the other performs a scan. No overlap or ambiguity exists.

Naming Consistency5/5

Both tool names follow a consistent verb_noun pattern with underscores (list_scanners, scan_document), making them predictable and clear.

Tool Count4/5

With only 2 tools, the set is minimal but adequate for the focused domain of document scanning. Slightly under the typical 3-15 range, but still reasonable.

Completeness4/5

The tools cover the core workflow of discovering and scanning documents with many configuration options. Minor gaps like canceling a scan or checking scanner status are present but not critical.

Maintenance

ActivitySlowing
ResponsivenessNo issues