Skip to main content
Glama

Extract page text (free tier, then x402)

extract
Read-onlyIdempotent

Fetch a public URL and return clean markdown via x402 ($0.003 USDC on base). Pass an x402 payment in the X-PAYMENT header. Pass urls (up to 20) instead of url to fetch several pages in parallel, charged per URL. Free tier: up to 20 calls a day (shared with web_search) for a single url with no payment or key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
urlsNo
maxCharsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / urls
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "url"
      -]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely non-structured behavior: the x402 payment requirement in the X-PAYMENT header, $0.003 USDC per call on base, per-URL charging for batches, and a 20-call/day free tier shared with web_search. It stops short of saying what a request looks like when payment is missing or refused.

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?

Three tight sentences, each carrying new information, with the primary action and pricing front-loaded. Some clause stacking around the billing and free-tier rules makes it slightly dense but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a payment-gated fetch tool with no output schema, the description covers the return format (clean markdown), auth/payment mechanics, batching, and quota sharing. The notable gaps are maxChars behavior and the failure/paywall response, which an agent would need to recover from a 402.

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 0%, so the description carries the burden. It explains url, urls (cap of 20, parallel execution, per-URL billing) and the header-based payment, but maxChars is entirely unexplained in both schema and description, and url/urls mutual exclusivity is only implied.

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 concrete verb and resource: "Fetch a public URL and return clean markdown", and it names the payment protocol and price. It is clearly distinguishable from search tools, though it never distinguishes itself from the closest sibling, search_extract, which likely overlaps.

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?

It gives operational guidance on choosing url vs urls (single vs up to 20 in parallel) and explains the free-tier path versus the paid path. However, it never says when to prefer this tool over search_extract or crawl_site, which are the siblings an agent would actually hesitate between.

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