Skip to main content
Glama

Fetch page

fetch_page
Read-only

Fetch a webpage and return its readable text with scripts, navigation, and page chrome stripped, so you can read the full page end to end.

Instructions

Fetch a webpage and return its readable text (scripts, nav, and chrome stripped). Use this to read a page end to end. For long pages, prefer search_page to pull only what's relevant.

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
urlYesThe page URL, including http:// or https://

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds real behavioral value by disclosing that output is content-extracted rather than raw markup. It stops short of covering truncation limits, JS-rendered content, or failure behavior on unreachable URLs, which matter for an open-world fetch.

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 short sentences: capability first, then usage, then the alternative. No redundant restatement of the title and no filler.

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 single-parameter read tool with annotations covering safety, the definition covers what it does, what it returns, and when to use a sibling. The remaining gap is edge-case behavior on very long or failed fetches, which the description only partially addresses via the search_page redirect.

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?

With one parameter at 100% schema coverage, the schema already documents the URL including the http:// or https:// requirement. The description adds no format, normalization, or validation detail beyond that, so the baseline of 3 applies.

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 a webpage") plus the exact return form ("readable text with scripts, nav, and chrome stripped"). The parenthetical distinguishes it from a raw HTML fetch and from search_page, so an agent can pick it without opening the 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?

Gives explicit positive guidance ("use this to read a page end to end") and a named alternative with the condition that selects it ("for long pages, prefer search_page"). The routing decision is fully specified rather than inferred.

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