Skip to main content
Glama

Fetch Page

fetch_page

Fetch JS-rendered web pages as paginated markdown, with offset-based continuation for long content and special handling for arXiv papers via extracted text.

Instructions

Fetch a web page (JS-rendered via headless Chromium) as markdown. Paginated: returns the slice [offset, offset+max_chars) plus total_chars; call again with a larger offset to continue. For arXiv paper URLs the default route is alphaxiv.org's extracted text (not subject to arXiv rate limits); the browser is used only when alphaxiv doesn't have the paper. source says which one answered ("alphaxiv" | "browser" | "arxiv-direct"). On failure returns {"success": false, "error": ...}.

Input Schema

NameRequiredDescriptionDefault
urlYes
offsetNo
max_charsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the rendering backend, pagination model, the arXiv routing and its rate-limit implications, the `source` provenance field, and the exact failure shape. It omits auth/rate-limit behavior for non-arXiv sites and timeout characteristics.

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-loads the core action in the first sentence and then layers pagination, routing, provenance, and error contract. Dense but nearly every clause adds callable information; minor overlap between the pagination and source-provenance sentences.

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?

An output schema exists, so return values need not be fully described, and the description covers the pagination and error cases that matter. A note on non-arXiv fetch limits or timeouts would complete it, but nothing essential to a correct call 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 0%, so the description must compensate, and it explains the offset/max_chars slice semantics and continuation pattern clearly, plus the url-dependent arXiv routing. It does not state the default values (0, 20000) or units, but the slice notation conveys enough to call correctly.

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?

States a specific verb+resource: fetch a web page as markdown, rendered via headless Chromium. This implicitly distinguishes it from fetch_stealth/fetch_pdf (JS rendering, markdown output), though no sibling is named explicitly.

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?

Gives clear operational guidance for continuing pagination ('call again with a larger offset') and for arXiv URLs (alphaxiv default, browser fallback). However, it offers no guidance on when to choose this tool over fetch_stealth, fetch_pdf, or web_search.

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