Skip to main content
Glama

Extract a web page

extract_url
Read-only

Fetch a public web page politely (robots.txt respected, no CAPTCHA bypass, no social/people-search sites) and return clean Markdown plus metadata (title, author, date, links, tables). E-mails and phone numbers are redacted. Free tier: 50 pages per IP per UTC day. Paid tier (live): 10 sat per successfully extracted page, paid with a Cashu token (Minibits mint, unit sat) in the cashu_token argument or the X-Cashu HTTP header; charged only on success, skips the daily quota.

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": "extract_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttp(s) URL of a public page
formatNomarkdown (default) or full json
max_charsNoMarkdown length cap (default 50000)
cashu_tokenNoOptional cashuB token worth at least 10 sat for a paid call (charged only if extraction succeeds; overpayment returned as change).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint/openWorldHint the description discloses genuinely behavioral facts: robots.txt enforcement, no CAPTCHA bypass, e-mail/phone redaction, a 50-page daily per-IP quota, and paid pricing at 10 sat per successful page charged only on success with overpayment returned as change. The X-Cashu header alternative and the 'skips the daily quota' behavior are exactly the kind of context annotations cannot convey.

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?

The core purpose and output shape are front-loaded in the first sentence, followed by constraints and then billing. The paid-tier sentence is dense with mint/unit/header detail, but each clause carries operational weight, so little is wasted.

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 takes on the burden of describing the return value (Markdown plus metadata: title, author, date, links, tables) and adds redaction behavior. Rate limits, payment mechanics, and refusal conditions are all covered, so an agent can call this correctly without further information.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning for cashu_token: minimum value of 10 sat, Minibits mint/sat unit, charged only on success, and the alternative X-Cashu HTTP header. It says nothing extra about format or max_chars, which the schema already covers adequately.

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 opens with a specific verb and resource ('Fetch a public web page') and states the return shape ('clean Markdown plus metadata (title, author, date, links, tables)'), so the agent knows exactly what the tool produces. It never names the sibling check_robots or otherwise distinguishes itself from it, which keeps it short of a 5.

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?

Usage context is clear: only public pages, robots.txt respected, no CAPTCHA bypass, no social/people-search sites, and free-tier quota of 50 pages/IP/UTC day. The exclusions are explicit, but there is no statement of when to prefer this over the sibling check_robots or how to recover when robots.txt blocks a fetch.

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