Skip to main content
Glama

Fetch URL as Clean Text

url_to_clean_text
Read-only

Fetch a public http(s) URL and return its main text content as plain text.

Input Schema

NameRequiredDescriptionDefault
urlYesThe http(s) URL to fetch. Private/loopback hosts are rejected.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds that only public http(s) URLs are fetched and that content is reduced to main text, but it does not disclose behavior around redirects, JavaScript-rendered pages, timeouts, rate limits, or error cases.

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?

The description is a single front-loaded sentence with no wasted wording. It states the operation, the input constraint, and the return format in one pass.

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?

This is a simple one-parameter read-only tool with complete schema coverage, annotations, and an output schema, so the description does not need to explain return values. It is largely complete for correct invocation, though it could say more about non-HTML or JS-heavy pages to set expectations.

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%, and the single url parameter is documented as an http(s) URL with private/loopback hosts rejected. The description restates the public-URL requirement but adds no parameter syntax, format, or validation detail beyond what the schema already provides, so the baseline of 3 applies.

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?

The description states a specific verb and resource: fetch a public http(s) URL and return its main text as plain text. It is clear what the tool does, but it does not differentiate itself from sibling parsers such as pdf_to_markdown, parse_spreadsheet, or ocr_image, leaving the agent to infer that this tool is for web page URLs rather than files or images.

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

Usage Guidelines2/5

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

The description gives no explicit when-to-use guidance, no when-not-to-use guidance beyond the public-URL constraint, and no alternatives among sibling tools. An agent can infer it is for fetching public URLs, but there is no routing guidance for choosing between this and the file/image parsing siblings.

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