Skip to main content
Glama

internet-archive-mcp-server

Get Wayback Machine Snapshot Content

ia_get_snapshot
Read-onlyIdempotent

Fetch the archived content of a URL at a specific Wayback Machine timestamp. Resolves to the nearest available capture when the exact timestamp has no snapshot. Returns the archived page as readable plain text (HTML stripped) and the replay URL of the capture Wayback served, for browser access. Use ia_find_snapshots first to discover valid timestamps for a URL.

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL whose archived content to retrieve.
timestampYesTarget Wayback timestamp in YYYYMMDDHHMMSS format (or any prefix). The nearest available snapshot will be resolved and fetched. Example: "20200101120000" for noon on January 1, 2020.

Output Schema

NameRequiredDescriptionDefault
textNoReadable plain text extracted from the archived HTML: scripts, styles, comments, and tags removed, character references decoded, whitespace collapsed. Capped at the server-configured IA_MAX_SNAPSHOT_CHARS limit (default 50 000 characters). Taken from at most the first 4 MiB of the page; a notice says so when a page is longer.
errorNoPresent when the call failed. Absent on success.
noticeNoSet when the page is longer than the 4 MiB read limit: the text comes from its first bytes only.
replay_urlNoWayback Machine replay URL (https://web.archive.org) of the capture the text came from — where the fetch ended after any redirect Wayback issued to the capture it served.
resolved_statusNoHTTP status Wayback replayed the capture the text came from with — the same capture as resolved_timestamp and replay_url.
resolved_timestampNoTimestamp (YYYYMMDDHHMMSS) of the capture the text came from, read from replay_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, openWorld and idempotent, so safety is covered; the description adds genuinely new behavioral context — that a missing exact timestamp silently resolves to the nearest capture, that output is HTML-stripped plain text, and that a replay URL is returned for browser access. These are non-obvious traits an agent could not infer from the annotations.

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?

Three tight sentences, front-loaded with the core action, followed by resolution behavior, output shape, and the sibling prerequisite. Every sentence carries distinct information with no padding.

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?

With an output schema present, return-value documentation is not required, yet the description still characterizes output as readable plain text plus a replay URL. For a two-parameter, fully annotated read tool, nothing an agent needs to invoke it correctly is missing.

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 the baseline is 3: the schema already explains both url and the YYYYMMDDHHMMSS timestamp format with prefix tolerance and an example. The description's 'nearest available capture' note restates what the timestamp schema description already says, adding little beyond the structured fields.

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?

Precise verb+resource pair ('Fetch the archived content of a URL') with the Wayback Machine timestamp scope made explicit. It is distinguishable from siblings like ia_get_text and ia_get_item, and it names ia_find_snapshots as the prerequisite discovery tool.

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?

States an explicit ordering rule: 'Use ia_find_snapshots first to discover valid timestamps for a URL,' which routes the agent to the correct sibling before invoking this one. Combined with the snapshot-resolution semantics, the agent knows both when and how to call it.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.