Skip to main content
Glama

web_extract

Read-only

Web page to clean text — Fetch any web page and return its readable text (scripts, styles and markup stripped) plus title, ready for an LLM. Pass ?url= and optional ?max= characters (default 12000). Price: $0.006 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "web_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNooptional max characters, default 12000
urlYesthe page URL (http or https)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, destructiveHint false, openWorldHint true), so the description is not obligated to restate them, and instead adds genuinely new behavior: markup stripping, title extraction, a default length cap of 12000 characters, and a paid gate of $0.006 USDC on Base via x402. The payment/auth requirement is the kind of context an agent needs before calling. It stops short of describing truncation semantics when content exceeds max or any rate/retry behavior.

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?

A single front-loaded sentence: purpose and output first, then parameters, then price. No filler, and the cost disclosure is placed last where it does not obstruct the primary intent.

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?

With no output schema, the description carries the burden of describing returns, and it does so concretely (clean readable text plus title). For a two-parameter read-only utility it covers purpose, output shape, default limits, and the payment requirement, leaving nothing essential unstated.

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 both parameters are already documented, and the description only restates them: the url parameter and max with its 12000 default. It adds no new meaning such as whether max truncates mid-word, whether values are clamped, or valid URL forms.

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 pairs a specific verb (Fetch) with a specific resource (any web page) and states the transformation and return payload: readable text with scripts, styles and markup stripped, plus title. It is clearly distinguishable from a generic fetch, though it never explicitly contrasts itself with near siblings such as ai_extract or web_meta.

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?

Usage is implied by 'ready for an LLM', which tells the agent the output is pre-cleaned for model consumption, and 'Fetch any web page' signals broad applicability. However, there is no explicit when-to-use versus when-not, and no pointer to an alternative for pages that need structured extraction or metadata.

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