Skip to main content
Glama

fetch

Fetch one or more URLs and return their content as clean markdown. Use this to read articles, documentation, blog posts, or any page where you need the complete text, not just a snippet from search. Also supports PDF, DOCX, and other document formats. Costs 2 credits per URL. Max 10 URLs per request. Failed URLs are not charged.

Set include_raw_html=true to also get the raw HTML source in each result. Useful for inspecting embedded URLs, data attributes, iframes, or script tags that are stripped during markdown conversion. Returns null for non-HTML content (PDF, DOCX, etc.). Same cost.

Returns: results (array of {title, url, content, raw_html, published_time, success, error}), credits_used, credits_remaining.

Args: urls: List of URLs to fetch (max 10) include_raw_html: Include raw HTML source in each result (default false)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsYes
include_raw_htmlNo

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description fully carries the burden, and it delivers. It discloses credit costs per URL, the 10-URL limit, that failed URLs are not charged, the behavior of include_raw_html, and the exact return shape including success and error fields.

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 well structured and front-loaded: purpose, then costs/limits, then optional behavior, then returns and args. Every sentence provides operational value without filler.

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?

For a simple two-parameter tool with no output schema, the description covers everything needed to invoke it correctly: required URLs, max count, cost, raw_html semantics, and the complete return object. No important gap remains for a straightforward fetch operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds meaningful semantics for include_raw_html (inspection use cases, null for non-HTML, same cost) and failure charging. The urls argument is still thin, with no mention of URL format, absolute vs relative URLs, or per-item failure behavior beyond cost.

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 action ('Fetch one or more URLs and return their content as clean markdown') and clarifies it is for complete text rather than a search snippet. However, it explicitly distinguishes from the search sibling but not from extract or research, so sibling differentiation is incomplete.

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?

Gives explicit guidance: 'Use this to read articles, documentation, blog posts, or any page where you need the complete text.' The 'not just a snippet from search' phrase implies when search might be preferred, but it does not tell an agent when to choose extract or research instead.

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.9/5.0
Disambiguation5/5

Each tool serves a clearly distinct purpose: search for web queries, fetch for raw page content, extract for structured data extraction, and research for comprehensive synthesis. Descriptions are detailed enough to prevent confusion.

Naming Consistency5/5

All tool names are single lowercase verbs (extract, fetch, research, search), following a consistent and predictable pattern. No mixing of styles or non-standard conventions.

Tool Count5/5

With 4 tools, the set covers the core needs of web information retrieval and research without being bloated. Each tool earns its place, and the count is ideal for the domain.

Completeness5/5

The tool surface provides a complete workflow: search to find sources, fetch to retrieve full content, extract to pull specific data, and research to synthesize multiple sources. No obvious gaps for typical agent tasks.

Resources