Skip to main content
Glama

Arquivo Search Pages

arquivo_search_pages
Read-onlyIdempotent

Full-text search of archived web pages in Arquivo.pt, the Portuguese web archive (captures since 1996), when the URL is unknown. Finds pages whose TEXT contains the given terms or a quoted phrase and returns, per hit, the page title, original URL, capture date, a text snippet with the matching terms, the archived (replay) URL, and links to the extracted text and a screenshot. Coverage: centred on the Portuguese web (.pt sites and Portuguese-language pages) but international English-language sites that Portuguese pages link to are captured too — probes for "climate change", "quantum computing" and "Federal Reserve interest rates" return roughly 50M, 1M and 2M estimated hits, with ipcc.ch, microsoft.com and federalreserve.gov among the top results. The full-text index lags the crawl by years (probed 2026-10: most hits end in 2020, a few reach 2023) while arquivo_url_history carries current captures, so use that for anything recent at a known URL. Supports a date window (YYYY or YYYYMMDD), restricting to one site, restricting to a file type (pdf, html, doc), exclusion with a leading minus (Albert -Einstein), and paging by offset. Do not pass a URL as the query; use arquivo_url_history for that.

Input Schema

NameRequiredDescriptionDefault
toNoLatest capture date, as YYYY, YYYYMMDD or YYYYMMDDhhmmss. Omit it unless you need a window; the full-text index lags the crawl by years.
fromNoEarliest capture date, as YYYY, YYYYMMDD or YYYYMMDDhhmmss. Default 1996.
siteNoRestrict hits to one site, e.g. "publico.pt" or "http://www.publico.pt".
typeNoRestrict to a file type by MIME subtype: pdf, html, doc, xls, ppt, rtf, ps.
limitNoHits to return (default 10, max 200).
queryYesSearch terms. Quote a phrase for an exact match ("inteligência artificial"); prefix a term with - to exclude it. Portuguese or English both work. Must not be a URL.
offsetNoHit offset for paging (default 0). The response carries next_offset when more hits exist.
per_siteNoMaximum hits per site, to spread results across sources (default 2 — the upstream default). Raise it to see more captures of the same site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only cover the safety profile (readOnly/openWorld/idempotent/non-destructive), so the description carries real extra weight and delivers: the full-text index lags the crawl by years, coverage is biased toward the Portuguese web while some international English sites are included, and hit magnitudes for sample probes. That materially changes how an agent interprets results. It stops short of 5 only because it gives no operational behavior details such as truncation or rate limits.

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, then when-to-use, then capability and caveats in a single dense block with no filler sentences. It is longer than strictly necessary — the three probe queries with estimated hit counts stretch the definition — but each sentence still carries usable information.

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?

With no output schema, the description compensates by enumerating the per-hit return fields (title, original URL, capture date, matching snippet, replay URL, extracted-text and screenshot links) along with coverage and index-staleness caveats. An agent has everything needed to call it and interpret the response.

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 every parameter is already documented upstream (including the 'omit to unless you need a window' caveat and the offset/next_offset paging note). The description largely restates supported filters (date window, site, file type, minus-exclusion, offset) plus one worked exclusion example ('Albert -Einstein'), which adds marginal but not substantial meaning.

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?

States a specific verb+resource (full-text search of archived pages in Arquivo.pt) and immediately names the sibling it must not be confused with (arquivo_url_history for known/current URLs). An agent can distinguish it from arquivo_page_text and arquivo_url_history without opening any schema.

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?

Explicit when-to-use ('when the URL is unknown'), explicit alternatives ('use arquivo_url_history for anything recent at a known URL'), and an explicit anti-pattern ('Do not pass a URL as the query'). This is the strongest form of routing guidance.

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.