Skip to main content
Glama

fetch_page_text

Fetch a web page (http/https) and return its cleaned readable text, truncated to max_chars.

Input Schema

NameRequiredDescriptionDefault
urlYesFull http(s) URL to fetch
max_charsNoMax characters to return (default 12000, max 50000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses two useful traits (text cleaning and truncation), but omits network failure behavior, timeouts, redirects, content-type handling, and whether any auth/headers are supported. Partial disclosure for a no-annotation 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 verb and resource, and every clause earns its place (protocol restriction, output format, truncation). No filler.

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?

For a two-parameter, no-annotation, no-output-schema tool, the description is minimal but adequate. It does not explain failure modes, redirect behavior, or what 'cleaned' entails, which an agent fetching arbitrary pages would plausibly need.

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%: url and max_chars are both fully documented in the schema, including the default and max cap. The description repeats the truncation concept but adds no syntax, format, or edge-case detail beyond the schema. Baseline 3 is appropriate.

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 ('Fetch'), resource ('web page'), scope ('http/https'), and output ('cleaned readable text, truncated to max_chars'). This clearly distinguishes it from siblings like html_to_text (which likely converts an HTML string already in hand) and summarize_text.

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 http/https scoping implies a network fetch versus the local-only text utilities in the sibling list, but there is no explicit when-to-use guidance or named alternative (e.g., when to prefer html_to_text for already-retrieved markup). Usage must be inferred.

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