Skip to main content
Glama

Fetch a URL as clean text/markdown (RAG-ready)

fetch_url
Read-onlyIdempotent

Fetches any public http(s) URL, strips boilerplate (scripts, nav, footer, ads), and returns clean text or markdown ready for an LLM context window. SSRF-guarded — refuses private/loopback/internal hosts. Returns url, title, format, length, content (and finalUrl when redirected, plus up to 50 extracted links when links=true), with a meta envelope. Works with no API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to fetch (public http/https only).
linksNoAlso return up to 50 extracted links. Default false.
formatNoOutput format. Default text.
maxCharsNoMax characters of content returned, clamped 500-500000. Default 100000.

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld), the description discloses SSRF-guarding, boilerplate stripping, return envelope details, follow-redirect behavior, and no API key requirement—all valuable behavioral context that annotations alone don't provide.

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?

Three concise sentences that cover purpose, safety, output, and optional parameters without any fluff. Key information is front-loaded, making it easy to parse quickly.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description fully explains the tool's behavior, output fields (including redirects and links), safety measures, and authentication requirements. With no output schema, the listed return fields provide sufficient completeness for an agent to invoke the tool correctly.

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%, so the baseline is 3. The description mentions links and format but doesn't add substantial new semantic meaning beyond the schema. It adequately complements the schema without redundancy.

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 clearly states the specific verb 'Fetches' with the resource 'any public http(s) URL' and explicitly describes the cleaning and return of content in text/markdown formats. It distinguishes itself from siblings by focusing on fetching a known URL rather than searching or instant answers.

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 description implies usage when a specific URL is known and content is needed for an LLM context window, but it does not explicitly compare with alternatives like web_search or state when-not-to-use. Thus, 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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: fetching a specific URL, retrieving a quick fact/definition, and performing a full web search. The descriptions explicitly cross-reference one another to prevent confusion.

Naming Consistency4/5

All names use lowercase with underscores, but the grammatical pattern varies: 'fetch_url' is verb-first while 'instant_answer' and 'web_search' are noun-phrases. Mostly consistent and readable, with minor deviations.

Tool Count5/5

Three tools is a well-scoped set for a search/retrieval server. Each tool contributes a distinct capability without redundancy or bloat.

Completeness4/5

The surface covers core web retrieval: fetching a page, getting a quick answer, and running a search. Missing niche features like image search or advanced filtering, but these are not critical for the apparent purpose.