Skip to main content
Glama

web__fetch_page

Fetches a public web page and returns its readable text without scripts or styles, enabling agents to extract page content for analysis.

Instructions

Fetch a public web page and return its text (no scripts or styles).

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose the key traits that the output is extracted text with scripts and styles stripped, and that only public pages are targeted. It is silent on whether JavaScript is executed, redirect handling, size/time limits, rate limits, and error behavior for non-200 responses — meaningful gaps for a fetching tool.

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?

One sentence, front-loaded with the action and resource, with the parenthetical detailing the output filtering. Nothing is redundant and nothing could be trimmed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 formatting needn't be explained, and the tool is simple with one required parameter. Still, for a network-fetch tool with no annotations, the description leaves open important operational questions (dynamic content, failures, limits) that would change how an agent invokes it.

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 0% and the single parameter is an undescribed 'Url' string, so the description must compensate. It adds the meaningful constraint that the URL must point at a public web page, but does not specify scheme requirements (http vs https), whether fragments/query strings are honored, or whether non-HTML resources are rejected.

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 ('Fetch'), a specific resource ('a public web page'), and the return shape ('its text'), which is enough for an agent to know exactly what happens. It does not differentiate from siblings, but none of the listed siblings (cves, email, files) overlap in function, so the omission is harmless.

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?

The word 'public' implies a boundary: pages requiring auth or session are out of scope, which is useful implied guidance. However, there is no explicit when-to-use framing, no statement about what to do for non-public or non-HTML URLs, and no mention of alternatives or fallbacks.

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