Skip to main content
Glama

wayback_closest

Read-only

Finds the Wayback Machine snapshot closest to a specified date for a URL; when no date is supplied, it returns the archived copy available at query time.

Instructions

Find the Wayback Machine snapshot of a page closest to a date (or the latest if no date is given).

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_closest"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPage address
dateNoOptional date such as 2024-03-15 or 20240315

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read. The description adds the useful default behavior when date is omitted, but says nothing about failure modes (page never archived, out-of-range date) or what the snapshot record contains.

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?

One sentence, front-loaded with the action and resource, with the date fallback folded in parenthetically. Nothing is wasted.

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 two-parameter read tool with annotations covering safety, the definition covers purpose, selection semantics, and the no-date default. The only gap is not describing the returned snapshot shape or no-result behavior, which is minor here.

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?

Schema coverage is 100%, so the schema already defines both fields with formats. The description still adds real meaning by specifying the closest-match selection rule and that omitting date yields the latest snapshot.

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 states a specific verb ('Find'), resource ('Wayback Machine snapshot of a page'), and selection rule ('closest to a date'). It is clear enough to act on, though it does not explicitly distinguish itself from the sibling wayback_history.

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

Usage Guidelines3/5

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

Usage is implied: use it to resolve a page to a date-adjacent snapshot, with an explicit fallback ('the latest if no date is given'). There is no statement of when to prefer wayback_history or what to do when no snapshots exist.

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