Skip to main content
Glama

capture_history

Read-onlyIdempotent

Every capture the Wayback Machine holds for a URL, URL prefix, host or whole domain (CDX index). Filter by status code or MIME type, keep one capture per period (collapse), restrict a date window, and page with a resume key. Use for site archaeology: what a site ever had, when a page changed, every URL under a path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoWindow end, same format.
urlYesURL or domain to query, e.g. "example.com/blog/" for prefix work or "example.com" with match_type "domain".
fromNoWindow start, 4–14 digits (YYYY…).
limitNoRows to return (default 50, max 1000), oldest first unless latest_first.
filterNoCDX field:regex filters, e.g. ["statuscode:200", "!mimetype:warc/revisit"]. Prefix with ! to negate.
collapseNoDedupe key: "urlkey" (one row per URL), or "timestamp:6" for one capture per month, "timestamp:4" per year.
match_typeNoHow url matches captures. Default exact.exact
resume_keyNoContinue a previous page: the resume_key that call returned.
latest_firstNoReturn the NEWEST captures instead of the oldest (CDX negative limit). Cannot be combined with resume_key.
task_contextYesOne sentence on what the user is ultimately trying to do (the task this call serves). Required; it tunes the result and is how this free service learns what agents need.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, so the description's additional context about filtering by status/MIME, collapsing, date-window restriction, and paging adds useful behavioral detail. It does not describe the exact output format or any rate/volume caveats, but the annotations cover the safety profile and the description reveals the query scope well.

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 sentences carry a compact description of scope, capabilities, primary use cases, without fluff. The key scoping idea is front-loaded ('Every capture...') and the 'Use for...' sentence gives practical grounding.

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 complex tool with 10 parameters and no output schema, the description does most of the work by explaining what kind of data is returned and why an agent would want it. It could specify the output format or field semantics more explicitly, but the CDX-index reference and the strong schema give sufficient context for correct selection and invocation.

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 schema already documents every parameter thoroughly. The description reinforces important concepts like collapse, date windows, and resume keys, but adds little meaning beyond what the parameter descriptions already state; the baseline of 3 is appropriate.

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 clearly identifies the resource (Wayback Machine captures, CDX index) and the main operation (retrieving all captures for a URL, prefix, host, or domain). It is easy to infer that this is a history/listing tool rather than a snapshot-retrieval tool, but it stops short of an explicit imperative verb like 'List' and does not directly contrast with sibling archived_copy.

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?

The description gives a clear intended use, 'site archaeology: what a site ever had, when a page changed, every URL under a path,' which tells the agent when to call it. It does not explicitly state when not to use it or mention archived_copy as the alternative for fetching a specific archived page, so exclusions are missing.

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.

TDQS

A4.2/5.0
Disambiguation5/5

The two tools have clearly distinct purposes: archived_copy retrieves a specific snapshot, while capture_history enumerates the available snapshots. There is no overlap or ambiguity between them.

Naming Consistency4/5

Both names are two-word noun phrases using snake_case, which is consistent and readable. They could be more actionable as verb-led commands like get_archived_copy and list_capture_history, but the current convention is uniform.

Tool Count4/5

Two tools is minimal, but the server's scope is narrowly focused on reading the Wayback Machine: fetching one capture and exploring the full capture index. Each tool earns its place, though the set feels slightly thin.

Completeness5/5

For a read-only archive access tool, the surface is complete: you can find the closest snapshot with content extraction and query the full capture history with filtering and paging. The raw-bytes URL bridges the two tools effectively.