Skip to main content
Glama

Page extract ($0.05)

page_extract
Read-only

Extract the readable text of a web page as clean markdown. Fetches one public http(s) HTML page and returns its main content as markdown, plus title, meta description, byline and a short excerpt, with menus and page clutter removed. Useful for summarizing, quoting, or feeding a page to an LLM or RAG index without a browser. Not for logged-in, paywalled or non-HTML URLs (such as PDFs); private hosts are refused. Price: $0.05 USDC per call (x402 on Base) or 1 prepaid pack credit. Failed calls aren't charged when you pay per call with x402: if the job errors, the USDC payment is never settled. With pack credits (X-Entitlement-Key), a call that fails gives its credit back.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) HTML page URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantive context beyond them — clutter removal, no browser needed, private-host refusal, pricing model, and that failed x402 or pack-credit calls are not charged. That failure/refund behavior is exactly the kind of operational detail an agent cannot infer from structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action and return shape, then moves to exclusions and pricing. The billing/refund sentences are long but arguably earn their place since the price is in the title and failure semantics affect invocation risk; still, they could be tightened.

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 fully compensates by naming the returned fields and the transformation applied. Input, exclusions, cost, and failure behavior are all covered — an agent has everything needed to call it correctly.

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?

Only one parameter exists and the schema documents it at 100% coverage ('Public http(s) HTML page URL'), so the baseline would already be high. The description reinforces the constraint ('one public http(s) HTML page', non-HTML rejected), adding marginal value but nothing a schema reader couldn't infer.

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?

States a specific verb ('extract') and resource ('readable text of a web page') and enumerates the return shape (markdown body, title, meta description, byline, excerpt). An agent can distinguish this from generic fetch or search siblings without reading the schema.

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 clear positive contexts ('summarizing, quoting, or feeding a page to an LLM or RAG index') and explicit exclusions ('logged-in, paywalled or non-HTML URLs... private hosts are refused'). It stops short of routing to a specific sibling (e.g., url_probe or brief), so it earns a 4 rather than a 5.

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