Skip to main content
Glama

Fetch Web Page

fetch_page
Read-onlyIdempotent

Fetch a public web page as markdown, text, links or html. Obscura renders first (fast, light); the ungoogled-chromium engine takes over for JS-heavy pages and bot walls. engine=obscura|chromium pins one. Keyless; a few fetches at a time. 30 s render budget; a page that times out, returns 5xx, or whose host is unreachable is skipped for 30 days with an error starting "FLAGGED until ".

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
urlYesPublic http(s) URL
engineNoDefault auto
formatNoDefault markdown
max_charsNoCut the answer here. Default 200000, max 400000.
timeout_sNoTotal render budget in seconds (Obscura, then Chromium). Default and max 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the bar is low, yet the description adds substantial context: keyless access, a concurrency cap ("a few fetches at a time"), a 30 s render budget, and a precise failure contract — timeouts, 5xx, or unreachable hosts are flagged for 30 days with an error prefixed "FLAGGED until <ISO date>". That failure semantics is exactly the kind of behavior an agent cannot get from annotations.

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?

Dense and front-loaded: output formats first, then engine mechanics, then constraints and failure behavior. Every sentence contributes, though "a few fetches at a time" is imprecise and the flagging clause is packed tightly into one long sentence.

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?

With no output schema and five parameters, the description covers formats, engine behavior, auth, rate limits, budget, and failure modes — more than enough to call the tool correctly. It stops short of describing what the response body looks like (e.g., whether truncation via max_chars is signalled), which would fully close the loop.

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 baseline is 3, but the description adds real meaning to engine: obscura renders first for speed and light pages while ungoogled-chromium handles JS-heavy pages and bot walls, and engine=obscura|chromium pins one. It also ties the 30 s budget to the timeout_s parameter, going beyond the schema's bare default/max.

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 and resource ("Fetch a public web page") plus the four output formats, which makes the tool's scope immediately legible. It does not explicitly distinguish itself from the sibling screenshot_page, so it stops just short of a 5.

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?

It explains engine selection (auto vs pinning obscura or chromium) and the auto-fallback behavior, which is useful decision guidance for the engine parameter. However, it never says when to use this tool rather than screenshot_page or when not to use it, so usage guidance is implied rather than explicit.

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.

Resources