Skip to main content
Glama
ianderso
by ianderso

download_image

Fetch a FamilySearch document image and save it locally for reading. Supply image URL and destination; existing files are never overwritten.

Instructions

Download a document image to a local file so it can be read.

This is the step that turns a citation into evidence. The image is written to disk rather than returned inline: a full page scan runs to megabytes, which is not something to push through a tool result.

Only FamilySearch image URLs are fetched, because the request carries your access token.

Images are copyrighted or access-restricted in some collections. Treat a downloaded file as a working copy for reading, not as something to redistribute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_urlYesAn image URL from get_image_links or get_film_image — normally 'full_image' for the readable page, or a thumbnail to check which page you have before spending the bandwidth.
destinationYesWhere to write the file, e.g. '/tmp/1880-census-p12.jpg'. It must be an image or PDF file name; the directory must already exist, and the file must not: an existing file is never overwritten.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only flag readOnly=false, idempotent=false and openWorld=true; the description goes well beyond them by explaining the write-to-disk rationale, that existing files are never overwritten, that only FamilySearch URLs are fetched because the request carries the access token, and that content may be copyrighted or access-restricted. This is exactly the kind of context annotations cannot express, and it is consistent with idempotentHint=false.

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?

Four short paragraphs, each front-loaded with its point: what it does, why the file is on disk, what URLs are permitted, and the copyright caveat. No sentence is filler; every one carries distinct 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 mutation-style tool with no output schema, the description covers side effects (file written, never overwritten), authorization (FamilySearch token scope) and legal caveats (copyright). It does not say what the tool returns on success, which is a minor gap given an agent may want confirmation of the written path.

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%, so both parameters (image_url, destination) are already fully documented with examples and constraints. The description adds no parameter-level syntax or format detail, so the baseline of 3 applies.

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?

States a specific verb and resource — download a document image to a local file — with the intent (so it can be read) made explicit. It distinguishes itself by framing this as the terminal evidence step, though it only implicitly separates itself from siblings like get_image_links and get_film_image, which the input schema names as the URL sources.

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

Usage Guidelines4/5

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

Clear context is given: this is the step that turns a citation into evidence, implying it follows a link-retrieval call, and the schema explicitly points at get_image_links/get_film_image as the URL origin. No explicit when-not or direct sibling comparison beyond that, so it stops short of a 5.

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