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, or of the capture a Wayback capture URL such as a replay_url names. Resolves to the nearest available capture when the exact timestamp has no snapshot. Returns the capture as text — an HTML page as readable plain text in lines, its markup stripped and its table cells separated by tabs, another text type (plain text, JSON, XML, JavaScript) as stored — and the replay URL of the capture Wayback served, for browser access. With include_links, it also returns the links on the page as text and URL, so a linked page can be read next. A capture of a PDF, image, or other non-text file fails as non_text_capture. Long text comes one page at a time: has_more and total_chars say what remains, and char_offset reads further — pass it with the url and timestamp the notice names, so every page comes from the same capture; after an archived redirect that url differs from the one sent. Use ia_find_snapshots first to discover valid timestamps for a URL.

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>",
      "timestamp": "<timestamp>"
    },
    "name": "ia_get_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL whose archived content to retrieve. A Wayback capture URL — web.archive.org/web/<timestamp>/<url>, such as a replay_url — reads as the URL it archives at its timestamp; a timestamp naming a different one fails as ambiguous_timestamp.
max_charsNoMaximum characters this page holds. Defaults to the server-configured maximum (IA_MAX_SNAPSHOT_CHARS, typically 50 000); a larger value is served at that maximum, with a notice.
timestampYesTarget Wayback timestamp: 1–14 digits — YYYYMMDDHHMMSS or a prefix of it — or an ISO 8601 date or UTC date-time such as "2020-01-01" or "2020-01-01T12:00:00Z". A full 14 digits, such as resolved_timestamp or a timestamp from ia_find_snapshots, reads that capture, or the one Wayback redirects it to; a shorter value names a period and resolves to the capture nearest its end ("2015" can resolve to one from early January 2016); blank reads the timestamp of a Wayback capture URL passed as url, else the latest capture. Example: "20200101120000" for noon on January 1, 2020.
char_offsetNoCharacter offset (UTF-16 code units) into the capture's text where this page starts. For the next page, pass the previous char_offset plus max_chars with the url and timestamp the previous page's notice names, so the page comes from the same capture; after an archived redirect that url differs from the one sent. An offset at or past total_chars returns empty text.
include_linksNoAlso return the page's links: links holds each http(s) link target whose first occurrence starts in this page of text, as { text, url }, and total_links counts the links in the capture's whole text. It adds no request. Keep it set for the next page, as the next-page notice does, so a read that follows has_more lists each link once.

Output Schema

NameRequiredDescriptionDefault
textNoOne page of the capture's text: up to max_chars characters from char_offset. An HTML page is reduced to readable plain text in lines: scripts, styles, comments, and tags removed and character references decoded; each block element (paragraph, heading, list item, table row) and <br> starts a new line; the cells of a table row are separated by tabs, empty cells included; <pre> text keeps its spacing and line breaks, and elsewhere a whitespace run reads as one space and blank lines collapse to one. Another text type (plain text, JSON, XML, JavaScript) is the body as archived, line breaks and markup kept. Taken from at most the first 4 MiB of the capture; a notice says so when it is longer.
errorNoPresent when the call failed. Absent on success.
linksNoSet when include_links is true: the links whose first occurrence starts in this page of text, in document order. Each http(s) target is listed once, with the first non-empty text it is linked by; the page's own URL is left out. The last page also takes the links at the very end of the text, so the pages of a read that follows has_more list each link once. Empty for a capture that is not HTML.
noticeNoSet when the replay passed through an archived redirect (a capture of the site's own 3xx) — the capture requested is one, or Wayback first redirected the requested timestamp to a nearest capture that is one — naming each archived redirect's capture timestamp, HTTP status, and target, the text then coming from the capture Wayback served for the last target; when the capture is longer than the 4 MiB read limit (the text comes from its first bytes only); when max_chars is above the server maximum; or when more text follows this page — naming the url, char_offset, and timestamp that read the next one, and include_links when this call set it.
has_moreNoTrue when the capture's text continues past this page; the notice names the url, char_offset, and timestamp that read the next one, and include_links when this call set it.
max_charsNoMaximum characters this page could hold — the requested max_chars, or the server maximum when the request omitted it or asked for more.
replay_urlNoWayback Machine replay URL (https://web.archive.org) of the capture the text came from — where the replay's redirects ended: Wayback's own to the nearest capture, and archived redirects (a capture of the site's own 3xx, which the notice names), followed for up to 10 redirects on the Wayback Machine.
char_offsetNoCharacter offset (UTF-16 code units) this page starts at.
total_charsNoLength of the capture's whole text in characters (UTF-16 code units), counted over the same first 4 MiB the text comes from.
total_linksNoSet when include_links is true: how many links the capture's whole text holds, counted over the same first 4 MiB the text comes from; 0 for a capture that is not HTML.
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. Changed6 schema fields changed
    • addedInput schema / properties / include_links
      Added value: +{
      +  "default": false,
      +  "description": "Also return the page's links: links holds each http(s) link target whose first occurrence starts in this page of text, as { text, url }, and total_links counts the links in the capture's whole text. It adds no request. Keep it set for the next page, as the next-page notice does, so a read that follows has_more lists each link once.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / has_more / description
      Previous value: -"True when the capture's text continues past this page; the notice names the url, char_offset, and timestamp that read the next one."New value: +"True when the capture's text continues past this page; the notice names the url, char_offset, and timestamp that read the next one, and include_links when this call set it."
    • addedOutput schema / properties / links
      Added value: +{
      +  "description": "Set when include_links is true: the links whose first occurrence starts in this page of text, in document order. Each http(s) target is listed once, with the first non-empty text it is linked by; the page's own URL is left out. The last page also takes the links at the very end of the text, so the pages of a read that follows has_more list each link once. Empty for a capture that is not HTML.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "One link: its text and the URL it points to.",
      +    "properties": {
      +      "text": {
      +        "description": "The link's text as it reads in text, on one line; empty for a link holding only an image.",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Where the link points: an absolute http(s) URL, its fragment dropped. Read it with ia_get_snapshot and timestamp resolved_timestamp for its capture nearest this one, or, when it is a Wayback capture URL (a link to an archived copy), with a blank timestamp.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text",
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Set when the replay passed through an archived redirect (a capture of the site's own 3xx) — the capture requested is one, or Wayback first redirected the requested timestamp to a nearest capture that is one — naming each archived redirect's capture timestamp, HTTP status, and target, the text then coming from the capture Wayback served for the last target; when the capture is longer than the 4 MiB read limit (the text comes from its first bytes only); when max_chars is above the server maximum; or when more text follows this page — naming the url, char_offset, and timestamp that read the next one."New value: +"Set when the replay passed through an archived redirect (a capture of the site's own 3xx) — the capture requested is one, or Wayback first redirected the requested timestamp to a nearest capture that is one — naming each archived redirect's capture timestamp, HTTP status, and target, the text then coming from the capture Wayback served for the last target; when the capture is longer than the 4 MiB read limit (the text comes from its first bytes only); when max_chars is above the server maximum; or when more text follows this page — naming the url, char_offset, and timestamp that read the next one, and include_links when this call set it."
    • changedOutput schema / properties / text / description
      Previous value: -"One page of the capture's text: up to max_chars characters from char_offset. An HTML page is reduced to readable plain text: scripts, styles, comments, and tags removed, character references decoded, whitespace collapsed. Another text type (plain text, JSON, XML, JavaScript) is the body as archived, line breaks and markup kept. Taken from at most the first 4 MiB of the capture; a notice says so when it is longer."New value: +"One page of the capture's text: up to max_chars characters from char_offset. An HTML page is reduced to readable plain text in lines: scripts, styles, comments, and tags removed and character references decoded; each block element (paragraph, heading, list item, table row) and <br> starts a new line; the cells of a table row are separated by tabs, empty cells included; <pre> text keeps its spacing and line breaks, and elsewhere a whitespace run reads as one space and blank lines collapse to one. Another text type (plain text, JSON, XML, JavaScript) is the body as archived, line breaks and markup kept. Taken from at most the first 4 MiB of the capture; a notice says so when it is longer."
    • addedOutput schema / properties / total_links
      Added value: +{
      +  "description": "Set when include_links is true: how many links the capture's whole text holds, counted over the same first 4 MiB the text comes from; 0 for a capture that is not HTML.",
      +  "type": "number"
      +}
  2. Changed5 schema fields changed
    • changedInput schema / properties / char_offset / description
      Previous value: -"Character offset (UTF-16 code units) into the capture's text where this page starts. For the next page, pass the previous char_offset plus max_chars, with the previous resolved_timestamp as timestamp so the page comes from the same capture. An offset at or past total_chars returns empty text."New value: +"Character offset (UTF-16 code units) into the capture's text where this page starts. For the next page, pass the previous char_offset plus max_chars with the url and timestamp the previous page's notice names, so the page comes from the same capture; after an archived redirect that url differs from the one sent. An offset at or past total_chars returns empty text."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_timestamp`: timestamp is not blank, 1–14 digits, or an ISO 8601 date or UTC date-time, or names a month, day, hour, minute, or second no Gregorian date and time has; or url is a Wayback capture URL whose timestamp is not 1–14 digits naming a real date and time (field \"url\"). `ambiguous_timestamp`: url is a Wayback capture URL and timestamp names a different timestamp than the one the URL carries. `no_snapshot_available`: No capture exists near the requested timestamp for this URL, the capture there is an archived error page — the HTTP 4xx or 5xx the site itself returned when it was captured — or the Wayback Machine refused the replay request with an HTTP 4xx, as it does for a site excluded from the archive; or the closest-capture lookup answered HTTP 403, 410, or 451, the Wayback Machine declining to serve the URL at all. `non_text_capture`: The capture Wayback served is not text — a PDF, image, archive, or other non-text media type — so it holds no text to return. `content_fetch_failed`: The archived page could not be fetched — the Wayback Machine answered HTTP 429, or 408, 425, or 5xx after retries, did not answer within the request timeout, or could not be reached, or refused the unmodified (id_) form of a text capture it had replayed — or its nearest capture could not be looked up: the closest-capture lookup found no capture or answered HTTP 429, or 408, 425, or 5xx after retries, an unreadable response, or an error in place of a capture, and its CDX fallback failed or had no time left; or the lookup refused the request with another 4xx, did not answer within the request timeout, or could not be reached; or the lookup and the fetch together did not finish within the call's 55 s deadline (the request timeout when that is longer). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_timestamp`: timestamp is not blank, 1–14 digits, or an ISO 8601 date or UTC date-time, or names a month, day, hour, minute, or second no Gregorian date and time has; or url is a Wayback capture URL whose timestamp is not 1–14 digits naming a real date and time (field \"url\"). `ambiguous_timestamp`: url is a Wayback capture URL and timestamp names a different timestamp than the one the URL carries. `no_snapshot_available`: No capture exists near the requested timestamp for this URL, the capture there is an archived error page — the HTTP 4xx or 5xx the site itself returned when it was captured — or the Wayback Machine refused the replay request with an HTTP 4xx, as it does for a site excluded from the archive; or the replay's redirects reach no readable capture — the target of an archived redirect (a capture of the site's own 3xx) was never archived, is an archived error page, or was refused, or the redirects loop, run past 10, or reach a 3xx with no Location or a Location that is not an http(s) Wayback Machine URL — answered after one attempt; or the closest-capture lookup answered HTTP 403, 410, or 451, the Wayback Machine declining to serve the URL at all. `non_text_capture`: The capture Wayback served is not text — a PDF, image, archive, or other non-text media type — so it holds no text to return. `content_fetch_failed`: The archived page could not be fetched — the Wayback Machine answered HTTP 429, or 408, 425, or 5xx after retries, did not answer within the request timeout, or could not be reached, or refused the unmodified (id_) form of a text capture it had replayed, or that form's redirects reached no readable capture — or its nearest capture could not be looked up: the closest-capture lookup found no capture or answered HTTP 429, or 408, 425, or 5xx after retries, an unreadable response, or an error in place of a capture, and its CDX fallback failed or had no time left; or the lookup refused the request with another 4xx, did not answer within the request timeout, or could not be reached; or the lookup and the fetch together did not finish within the call's 55 s deadline (the request timeout when that is longer). Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / has_more / description
      Previous value: -"True when the capture's text continues past this page; the notice names the char_offset and timestamp that read the next one."New value: +"True when the capture's text continues past this page; the notice names the url, char_offset, and timestamp that read the next one."
    • changedOutput schema / properties / notice / description
      Previous value: -"Set when the capture is longer than the 4 MiB read limit (the text comes from its first bytes only), when max_chars is above the server maximum, or when more text follows this page — naming the char_offset and timestamp that read the next one."New value: +"Set when the replay passed through an archived redirect (a capture of the site's own 3xx) — the capture requested is one, or Wayback first redirected the requested timestamp to a nearest capture that is one — naming each archived redirect's capture timestamp, HTTP status, and target, the text then coming from the capture Wayback served for the last target; when the capture is longer than the 4 MiB read limit (the text comes from its first bytes only); when max_chars is above the server maximum; or when more text follows this page — naming the url, char_offset, and timestamp that read the next one."
    • changedOutput schema / properties / replay_url / description
      Previous value: -"Wayback 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."New value: +"Wayback Machine replay URL (https://web.archive.org) of the capture the text came from — where the replay's redirects ended: Wayback's own to the nearest capture, and archived redirects (a capture of the site's own 3xx, which the notice names), followed for up to 10 redirects on the Wayback Machine."
  3. Changed4 schema fields changed
    • changedInput schema / properties / timestamp / description
      Previous value: -"Target Wayback timestamp: 1–14 digits — YYYYMMDDHHMMSS or a prefix of it — or an ISO 8601 date or UTC date-time such as \"2020-01-01\" or \"2020-01-01T12:00:00Z\". A full 14 digits, such as resolved_timestamp or a timestamp from ia_find_snapshots, reads that capture, or the one Wayback redirects it to; a shorter value names a period and resolves to the capture nearest its end (\"2015\" can resolve to one from early January 2016); blank reads the latest capture. Example: \"20200101120000\" for noon on January 1, 2020."New value: +"Target Wayback timestamp: 1–14 digits — YYYYMMDDHHMMSS or a prefix of it — or an ISO 8601 date or UTC date-time such as \"2020-01-01\" or \"2020-01-01T12:00:00Z\". A full 14 digits, such as resolved_timestamp or a timestamp from ia_find_snapshots, reads that capture, or the one Wayback redirects it to; a shorter value names a period and resolves to the capture nearest its end (\"2015\" can resolve to one from early January 2016); blank reads the timestamp of a Wayback capture URL passed as url, else the latest capture. Example: \"20200101120000\" for noon on January 1, 2020."
    • changedInput schema / properties / url / description
      Previous value: -"The URL whose archived content to retrieve."New value: +"The URL whose archived content to retrieve. A Wayback capture URL — web.archive.org/web/<timestamp>/<url>, such as a replay_url — reads as the URL it archives at its timestamp; a timestamp naming a different one fails as ambiguous_timestamp."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `invalid_timestamp`: timestamp is not blank, 1–14 digits, or an ISO 8601 date or UTC date-time, or names a month, day, hour, minute, or second no Gregorian date and time has. `no_snapshot_available`: No capture exists near the requested timestamp for this URL, the capture there is an archived error page — the HTTP 4xx or 5xx the site itself returned when it was captured — or the Wayback Machine refused the replay request with an HTTP 4xx, as it does for a site excluded from the archive; or the closest-capture lookup answered HTTP 403, 410, or 451, the Wayback Machine declining to serve the URL at all. `non_text_capture`: The capture Wayback served is not text — a PDF, image, archive, or other non-text media type — so it holds no text to return. `content_fetch_failed`: The archived page could not be fetched — the Wayback Machine answered HTTP 5xx after retries or 429, did not answer within the request timeout, or could not be reached, or refused the unmodified (id_) form of a text capture it had replayed — or its nearest capture could not be looked up: the closest-capture lookup found no capture or answered HTTP 429, or 408, 425, or 5xx after retries, or an unreadable response, and its CDX fallback failed or had no time left within the lookup deadline (the request timeout plus 25 s); or the lookup refused the request with another 4xx, did not answer within the request timeout, or could not be reached. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_timestamp`: timestamp is not blank, 1–14 digits, or an ISO 8601 date or UTC date-time, or names a month, day, hour, minute, or second no Gregorian date and time has; or url is a Wayback capture URL whose timestamp is not 1–14 digits naming a real date and time (field \"url\"). `ambiguous_timestamp`: url is a Wayback capture URL and timestamp names a different timestamp than the one the URL carries. `no_snapshot_available`: No capture exists near the requested timestamp for this URL, the capture there is an archived error page — the HTTP 4xx or 5xx the site itself returned when it was captured — or the Wayback Machine refused the replay request with an HTTP 4xx, as it does for a site excluded from the archive; or the closest-capture lookup answered HTTP 403, 410, or 451, the Wayback Machine declining to serve the URL at all. `non_text_capture`: The capture Wayback served is not text — a PDF, image, archive, or other non-text media type — so it holds no text to return. `content_fetch_failed`: The archived page could not be fetched — the Wayback Machine answered HTTP 429, or 408, 425, or 5xx after retries, did not answer within the request timeout, or could not be reached, or refused the unmodified (id_) form of a text capture it had replayed — or its nearest capture could not be looked up: the closest-capture lookup found no capture or answered HTTP 429, or 408, 425, or 5xx after retries, an unreadable response, or an error in place of a capture, and its CDX fallback failed or had no time left; or the lookup refused the request with another 4xx, did not answer within the request timeout, or could not be reached; or the lookup and the fetch together did not finish within the call's 55 s deadline (the request timeout when that is longer). Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "invalid_timestamp",
      -  "no_snapshot_available",
      -  "non_text_capture",
      -  "content_fetch_failed"
      -]New value: +[
      +  "invalid_timestamp",
      +  "ambiguous_timestamp",
      +  "no_snapshot_available",
      +  "non_text_capture",
      +  "content_fetch_failed"
      +]
  4. Changed12 schema fields changed
    • addedInput schema / properties / char_offset
      Added value: +{
      +  "default": 0,
      +  "description": "Character offset (UTF-16 code units) into the capture's text where this page starts. For the next page, pass the previous char_offset plus max_chars, with the previous resolved_timestamp as timestamp so the page comes from the same capture. An offset at or past total_chars returns empty text.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / max_chars
      Added value: +{
      +  "description": "Maximum characters this page holds. Defaults to the server-configured maximum (IA_MAX_SNAPSHOT_CHARS, typically 50 000); a larger value is served at that maximum, with a notice.",
      +  "maximum": 9007199254740991,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • changedInput schema / properties / timestamp / description
      Previous value: -"Target 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."New value: +"Target Wayback timestamp: 1–14 digits — YYYYMMDDHHMMSS or a prefix of it — or an ISO 8601 date or UTC date-time such as \"2020-01-01\" or \"2020-01-01T12:00:00Z\". A full 14 digits, such as resolved_timestamp or a timestamp from ia_find_snapshots, reads that capture, or the one Wayback redirects it to; a shorter value names a period and resolves to the capture nearest its end (\"2015\" can resolve to one from early January 2016); blank reads the latest capture. Example: \"20200101120000\" for noon on January 1, 2020."
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "text",
      -      "replay_url",
      -      "resolved_timestamp",
      -      "resolved_status"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "text",
      +      "char_offset",
      +      "max_chars",
      +      "has_more",
      +      "total_chars",
      +      "replay_url",
      +      "resolved_timestamp",
      +      "resolved_status"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / char_offset
      Added value: +{
      +  "description": "Character offset (UTF-16 code units) this page starts at.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `no_snapshot_available`: No capture exists near the requested timestamp for this URL, the capture there is an archived error page — the HTTP 4xx or 5xx the site itself returned when it was captured — or the Wayback Machine refused the replay request with an HTTP 4xx, as it does for a site excluded from the archive; or the closest-capture lookup answered HTTP 403, 410, or 451, the Wayback Machine declining to serve the URL at all. `content_fetch_failed`: The archived page could not be fetched, or its nearest capture could not be looked up — the Wayback Machine answered HTTP 5xx after retries or 429, refused the lookup with another 4xx, sent an unreadable lookup response, did not answer within the request timeout, or could not be reached. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `invalid_timestamp`: timestamp is not blank, 1–14 digits, or an ISO 8601 date or UTC date-time, or names a month, day, hour, minute, or second no Gregorian date and time has. `no_snapshot_available`: No capture exists near the requested timestamp for this URL, the capture there is an archived error page — the HTTP 4xx or 5xx the site itself returned when it was captured — or the Wayback Machine refused the replay request with an HTTP 4xx, as it does for a site excluded from the archive; or the closest-capture lookup answered HTTP 403, 410, or 451, the Wayback Machine declining to serve the URL at all. `non_text_capture`: The capture Wayback served is not text — a PDF, image, archive, or other non-text media type — so it holds no text to return. `content_fetch_failed`: The archived page could not be fetched — the Wayback Machine answered HTTP 5xx after retries or 429, did not answer within the request timeout, or could not be reached, or refused the unmodified (id_) form of a text capture it had replayed — or its nearest capture could not be looked up: the closest-capture lookup found no capture or answered HTTP 429, or 408, 425, or 5xx after retries, or an unreadable response, and its CDX fallback failed or had no time left within the lookup deadline (the request timeout plus 25 s); or the lookup refused the request with another 4xx, did not answer within the request timeout, or could not be reached. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "no_snapshot_available",
      -  "content_fetch_failed"
      -]New value: +[
      +  "invalid_timestamp",
      +  "no_snapshot_available",
      +  "non_text_capture",
      +  "content_fetch_failed"
      +]
    • addedOutput schema / properties / has_more
      Added value: +{
      +  "description": "True when the capture's text continues past this page; the notice names the char_offset and timestamp that read the next one.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / max_chars
      Added value: +{
      +  "description": "Maximum characters this page could hold — the requested max_chars, or the server maximum when the request omitted it or asked for more.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / notice / description
      Previous value: -"Set when the page is longer than the 4 MiB read limit: the text comes from its first bytes only."New value: +"Set when the capture is longer than the 4 MiB read limit (the text comes from its first bytes only), when max_chars is above the server maximum, or when more text follows this page — naming the char_offset and timestamp that read the next one."
    • changedOutput schema / properties / text / description
      Previous value: -"Readable 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."New value: +"One page of the capture's text: up to max_chars characters from char_offset. An HTML page is reduced to readable plain text: scripts, styles, comments, and tags removed, character references decoded, whitespace collapsed. Another text type (plain text, JSON, XML, JavaScript) is the body as archived, line breaks and markup kept. Taken from at most the first 4 MiB of the capture; a notice says so when it is longer."
    • addedOutput schema / properties / total_chars
      Added value: +{
      +  "description": "Length of the capture's whole text in characters (UTF-16 code units), counted over the same first 4 MiB the text comes from.",
      +  "type": "number"
      +}
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare read-only, open-world, idempotent, but the description adds real behavioral detail beyond them: nearest-capture fallback, plain-text stripping with tab-separated table cells, specific failure modes (non_text_capture, ambiguous_timestamp), pagination signaling via has_more/total_chars, and the subtle case where an archived redirect changes the url between pages.

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?

Front-loaded with purpose and outcome, then failure modes and paging in a logical order; nearly every sentence carries information. It is dense and slightly repetitive — the 'pass it with the url and timestamp the notice names' instruction appears both in the description and again in two schema params, and the 'after an archived redirect that url differs' clause is stated twice.

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?

Complete for a tool of this complexity: annotations cover the safety profile, an output schema covers the return shape (text, links, has_more, total_chars, replay_url), and all five parameters are fully documented. Nothing needed to invoke or page through it correctly is missing.

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 carries the per-parameter documentation and the baseline would be 3. The description still adds cross-parameter meaning the schema states only in isolation: char_offset must be paired with the url and timestamp named in the same page's notice so every page comes from one capture, and include_links must stay set across pages to avoid duplicate link listing.

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?

Opens with a specific verb and resource: fetch archived content of a URL at a Wayback timestamp, or of the capture a replay_url names. It states the resolution rule (nearest available capture) and what is returned, so an agent can distinguish it from ia_find_snapshots, which the description explicitly positions as the discovery step.

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?

Gives explicit sequencing ('Use ia_find_snapshots first to discover valid timestamps'), states the follow-on case for include_links ('so a linked page can be read next'), and describes the paging loop with char_offset. When-not guidance is also present: non-text captures fail, and a Wayback capture URL with a mismatched timestamp fails as ambiguous_timestamp.

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.