Skip to main content
Glama
ianderso

nara-catalog-mcp

by ianderso

download_page_image

Idempotent

Save a specific National Archives catalogue page scan to disk so it can be read. Pick the page with extracted text or transcriptions, then fetch it by NAID plus page or object_id.

Instructions

Download one page of a record so it can actually be read.

This is the step that turns a catalogue hit into evidence. The image is written to disk rather than returned inline — a page scan runs to several megabytes.

NARA's media URLs are open and need no key, so this costs nothing against your API allowance. One catalogue call resolves the page list; the download itself is not an API call.

A pension file can run to sixty pages and the page you need is rarely the first. Use get_extracted_text or get_transcriptions to find which page carries the fact, then fetch it by the object_id they name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
naidYesThe record's NAID, e.g. '54765873'.
pageNoWhich page to download, 1-based, in the order get_record_images lists them. Defaults to 1 when object_id is not given.
object_idNoThe digital object to download, as get_extracted_text, get_transcriptions and get_record_images name it. An alternative to page: pass one or the other.
destinationYesAbsolute path of a new file to write, e.g. '/tmp/hall-w17050-p51.jpg'. The directory must already exist, and the file must not: nothing is ever overwritten.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With readOnlyHint=false, openWorldHint=true and idempotentHint=true already declared, the description still adds substantive context: the output is a multi-megabyte file written to disk rather than returned inline, the media URLs require no key, and the download does not consume API allowance. That is exactly the side-effect and cost information an agent needs before invoking.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then layered with cost, disk-write, and page-selection guidance in a logical order; every sentence carries information. Slightly prose-heavy ('turns a catalogue hit into evidence') but not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, but the description covers what is produced (a file on disk, not a return value), its size, the absence of auth or budget cost, and how to choose the right page. Nothing an agent needs to call this correctly is missing.

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 100% and the schema already documents naid, page, object_id and destination in detail, so the baseline is 3. The description goes slightly further by framing page and object_id as mutually exclusive alternatives and pointing at the sibling tools that produce a usable object_id, adding a little routing value on top of the schema.

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?

States a specific verb and resource ('Download one page of a record') and clarifies the scope ('so it can actually be read', 'the image is written to disk rather than returned inline'). It differentiates itself from catalogue-oriented siblings by noting that a catalogue call only resolves the page list, not the image itself.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: 'Use get_extracted_text or get_transcriptions to find which page carries the fact, then fetch it by the object_id they name.' It also supplies the motivating condition (a pension file can run to sixty pages, so the needed page is rarely the first), which tells the agent when this tool is the right step versus when to search first.

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