Skip to main content
Glama

web_fetch

Read-only

Fetch URL — Fetch the raw (decoded) HTML of a public web page at a user-provided http(s) URL. SSRF-guarded, http/https only, 10 MB body cap, robots-aware. [category: web]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYeshttp(s) URL to fetch
timeout_msNoHow long to wait for the page before giving up, in milliseconds (30000 = 30 seconds).
user_agentNoWhat to tell the site we are. Leave blank and we identify honestly as JohnsEssentialsBot/1.0.
acknowledge_robotsNoBusiness plan only: fetch the page even when the site's rules file (robots.txt) asks crawlers to stay away. On other plans this switch has no effect.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / timeout_ms / x-ui
      Added value: +{
      +  "unit": "ms"
      +}
  2. Changed5 schema fields changed
    • changedInput schema / properties / acknowledge_robots / description
      Previous value: -"Business+ only: proceed even when robots.txt disallows the page."New value: +"Business plan only: fetch the page even when the site's rules file (robots.txt) asks crawlers to stay away. On other plans this switch has no effect."
    • addedInput schema / properties / timeout_ms / default
      Added value: +30000
    • changedInput schema / properties / timeout_ms / description
      Previous value: -"Optional fetch timeout override in milliseconds."New value: +"How long to wait for the page before giving up, in milliseconds (30000 = 30 seconds)."
    • changedInput schema / properties / timeout_ms / minimum
      Previous value: -1New value: +1000
    • changedInput schema / properties / user_agent / description
      Previous value: -"Optional custom User-Agent header."New value: +"What to tell the site we are. Leave blank and we identify honestly as JohnsEssentialsBot/1.0."
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds important behavioral context beyond annotations: SSRF-guarding, protocol restrictions, body size cap, robots-awareness, and plan-dependent robots acknowledgement behavior. It doesn't detail failure modes or redirect handling, but the disclosed traits exceed what annotations alone convey.

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?

Two sentences front-load the core action and scope, then pack constraints into a compact, scannable list. Every clause earns its place with no filler or redundancy.

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 4-param read-only fetch tool with 100% schema coverage, the description is nearly complete. It covers constraints (SSRF, protocol, size, robots), parameters are fully described in schema, and the read-only safety profile comes from annotations. Missing details like redirect handling or response encoding are minor given the tool's simplicity and openWorldHint.

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%, with each parameter (url, timeout_ms, user_agent, acknowledge_robots) having a meaningful description. The tool description itself doesn't add param-level detail beyond the schema, but the schema already carries the full burden. Baseline 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?

The description states a specific verb (Fetch), resource (raw decoded HTML of a public web page), and explicit scope constraints (public, http(s) only, 10 MB cap, robots-aware). It distinguishes itself from web_scrape_page and web_extract_table by focusing on raw HTML retrieval versus structured extraction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies its use case: fetching raw HTML for further analysis, as opposed to web_scrape_page (which likely extracts structured content). It doesn't explicitly name alternatives or state when not to use it, but the constraint 'public web page' plus sibling names provide clear context. It lacks explicit routing guidance like 'use web_scrape_page for structured extraction'.

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