Skip to main content
Glama

Wayback Machine

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.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is well covered. The description adds meaningful behavioral depth beyond annotations: CDX-index semantics, the collapse dedupe (one capture per period), the full namespace of matching modes (URL, prefix, host, domain), and pagination via resume_key. No contradictions.

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 sentences with zero filler: the first fixes the query scope, the second lists the core capabilities, the third anchors concrete use cases. The purpose is front-loaded and every clause earns its place.

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 10-parameter read-only query tool with no output schema, the description covers the full action surface — matching modes, filters, collapse, date windows, pagination — and the schema documents each parameter in detail. It does not describe the CDX return format or pagination caps, but those are secondary for a tool whose calling pattern is fully specified.

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?

With 100% schema description coverage, the baseline is 3. The description goes further by linking features to parameters: 'keep one capture per period (collapse)' explains the collapse key, 'page with a resume key' explains resume_key, 'restrict a date window' covers from/to, and 'Filter by status code or MIME type' maps to the filter array. This gives an agent a mental model of how to combine parameters, not just their formats.

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?

The description opens with a precise scope statement — 'Every capture the Wayback Machine holds for a URL, URL prefix, host or whole domain (CDX index)' — establishing a specific query resource and matching scope. The feature list (filter, collapse, date window, resume key) and 'site archaeology' framing clearly differentiate it from the single-snapshot 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 final sentence gives concrete use-case guidance: 'what a site ever had, when a page changed, every URL under a path.' This tells an agent when capture-history queries are appropriate. However, it never explicitly names archived_copy as the alternative for retrieving one archived snapshot, nor does it state when not to use this tool.

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.4/5.0
Disambiguation5/5

archived_copy retrieves a single closest snapshot for a URL, while capture_history returns the full index of captures. Their purposes are clearly distinct and unlikely to be confused by an agent.

Naming Consistency5/5

Both tool names follow a consistent two-word noun phrase pattern using snake_case: archived_copy and capture_history. There is no mixing of styles or vague verb forms.

Tool Count3/5

Two tools is on the thin side for a domain like the Wayback Machine, but they cover the two most central read-only operations: retrieving a snapshot and querying capture history. The count is not extreme, but it feels minimal.

Completeness4/5

The tool set covers retrieving archived copies and exploring capture history well, with useful filtering and fallback behavior. Missing capabilities like submitting new captures or retrieving raw archived content directly are minor gaps for typical research use cases.