Skip to main content
Glama

Fetch page

fetch_page
Read-only

Fetch a public web page and return its readable main content as clean text, plus final URL, status, title, limited text, and truncation details for reading, quoting, or summarizing.

Instructions

Fetch one public http(s) page and return its readable main content as clean text. Use this when you need the full body of a page to read, quote, or summarise. Returns JSON with the final URL after redirects, HTTP status, content type, page title, up to maxChars characters of cleaned text, and a truncated flag. Prefer extract_facts instead when you only need metadata, headings, structured data, or sentences about specific terms, because it returns a smaller result.

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": "fetch_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute http or https URL to fetch.
maxCharsNoMaximum number of text characters to return (default 8000, maximum 20000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds the meaningful behavioral detail that the response reports the final URL after redirects, HTTP status, content type, title, a length-capped body, and a truncated flag. That is real added value with no output schema to carry it. It stops short of covering failure modes (non-200 pages, auth-gated or JS-rendered content) or any rate/size limits beyond maxChars.

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?

Three sentences: capability and scope first, then the use case, then the response shape, with the sibling routing last. Every sentence carries information an agent needs; there is no filler or repetition of the title.

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-only fetch with no output schema, the description covers purpose, selection criteria, and the returned fields, which is the bulk of what is needed to call it correctly. The remaining gap is error/edge-case behavior — what an agent gets back for a 404, paywall, or empty-body page — which matters for an open-world fetch tool.

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 coverage is 100% and both parameters are documented in the schema itself, so the description only restates that text is capped at maxChars. It adds no format, encoding, or edge-case guidance for url beyond what the schema already says (absolute http/https).

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 and resource ("Fetch one public http(s) page") plus the transformation applied ("return its readable main content as clean text"), which tells an agent exactly what comes back. The scope qualifier "public" and the contrast with extract_facts separate it from the only sibling.

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 an explicit positive condition ("when you need the full body of a page to read, quote, or summarise") and an explicit negative condition routing to the alternative ("Prefer extract_facts instead when you only need metadata, headings, structured data, or sentences about specific terms"). It even states why — smaller result — so the tradeoff is inferable without trial.

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

Deploy Server

Other Tools