Skip to main content
Glama
Wayback MCP Server

Wayback MCP Server

wayback_get_snapshots

Retrieve archived snapshots for a URL and filter results by date range, HTTP status code, URL match type, and deduplication to find historical webpage versions.

Instructions

Get a list of all archived snapshots for a URL with filtering by date range, status code, and deduplication options. Uses the CDX Server API for comprehensive results.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "wayback_get_snapshots"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd date (YYYY-MM-DD or YYYYMMDDhhmmss)
urlYesThe URL to get snapshots for
fromNoStart date (YYYY-MM-DD or YYYYMMDDhhmmss)
limitNoMaximum number of snapshots to return (default: 100, max: 10000)
collapseNoDeduplicate results: daily/monthly/yearly (by time), digest (by content hash)
matchTypeNoURL matching type: exact (default), prefix (URL starts with), host (same host), domain (entire domain)
statusFilterNoFilter by HTTP status code (default: 200)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses the backing API (CDX Server) but says nothing about result ordering, pagination behavior when the limit is hit, rate limits, auth requirements, or what a "comprehensive" result set actually contains — all material for a list endpoint with a limit parameter.

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?

Two sentences, front-loaded with the capability and filter dimensions, with no filler sentences. The second sentence (CDX Server API / "comprehensive results") is borderline marketing but does give implementation context in one short clause.

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

Completeness3/5

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

With seven parameters, three enums, no annotations, and no output schema, the definition covers what the tool returns only in the abstract. Missing are return-shape hints (fields per snapshot), ordering, and pagination semantics, which an agent needs to call this correctly at scale.

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%, including enum documentation for collapse, matchType, and statusFilter, so the schema does the heavy lifting. The description only restates that date range, status code, and deduplication are available, adding no syntax, defaults, or interaction details beyond what the schema already states.

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 opens with a specific verb and resource ("Get a list of all archived snapshots for a URL") and enumerates the filtering dimensions, which distinguishes it from siblings like wayback_get_snapshot_content (single snapshot retrieval). It stops short of naming any sibling, so an agent must infer the boundary rather than being told it.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no routing to alternatives such as wayback_check_availability or wayback_get_changes_timeline. The purpose sentence implies the general context (listing snapshots), but an agent gets no criteria for choosing this over the other nine wayback tools.

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