Skip to main content
Glama

fetch_extract

Read-only

Fetch a URL, return clean text. Free. Median 98% fewer tokens than raw HTML. Not for JS SPAs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPage URL.
headersNoHeaders to forward (Authorization, Cookie…).
maxCharsNoDefault 8000, max 32000.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changed
    • addedInput schema / properties / headers / description
      Added value: +"Headers to forward (Authorization, Cookie…)."
    • addedInput schema / properties / maxChars / description
      Added value: +"Default 8000, max 32000."
    • addedInput schema / properties / url / description
      Added value: +"Page URL."
  2. Changed1 schema field changed
    • addedInput schema / properties / headers
      Added value: +{
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • removedInput schema / properties / maxChars / description
      Removed value: -"Max characters to return (default 8000, max 32000)"
    • removedInput schema / properties / url / description
      Removed value: -"The URL to fetch and extract text from"
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations provide readOnlyHint=true, and the description adds useful behavioral context: it is free, reduces tokens by 98% vs raw HTML, and is not suitable for JS SPAs. No contradictions with annotations.

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?

Two concise sentences deliver the core purpose, key benefit, and a limitation. No filler; every clause adds value.

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 fetch-and-extract tool with fully specified parameters and a read-only annotation, the description sufficiently explains what it returns, its efficiency, and its main constraint. It is complete without needing an output schema.

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 100% with all parameters described in the input schema. The description adds no additional parameter semantics beyond the schema, so the baseline of 3 applies.

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 function: 'Fetch a URL, return clean text.' It distinguishes from siblings like fetch_html by noting '98% fewer tokens than raw HTML' and sets scope with 'Not for JS SPAs.' This is a specific verb+resource+output.

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?

The description gives an explicit when-not ('Not for JS SPAs') and implies usage for static pages needing clean text. However, it does not name alternative tools for SPAs or raw HTML, so it stops short of full guidance.

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

A3.6/5.0
Disambiguation3/5

Several tools overlap in fetching and processing web content (fetch_extract, fetch_html, fetch_metadata, html_to_markdown), which could confuse an agent. However, descriptions clarify output types, so most tools are distinguishable.

Naming Consistency3/5

Names follow mixed conventions: verb_noun (fetch_html, remove_background), noun_verb (csv_query, rss_parse), and noun_noun (tool_catalog, screenshot_url). Each name is descriptive, but the lack of a consistent pattern makes it harder to guess tool names.

Tool Count4/5

With 17 tools, the count is slightly above the ideal 3-15 range but still manageable. The inclusion of 5 meta-tools (pricing, tool_catalog, task_recipes, memory_snippet, use_tool) inflates the count but serves a discovery purpose.

Completeness4/5

The toolkit covers a broad range of web and data tasks (fetch, parse, query, convert, image, SEO). Minor gaps exist (e.g., no OCR, no image editing), but use_tool can dynamically access additional tools, mitigating incompleteness.