Skip to main content
Glama

Site extract

site_extract
Read-onlyIdempotent

Render a whole section of a site - up to 25 pages - in one call and get every page back as clean text, with JavaScript executed. Same host only; robots.txt is obeyed and anything it disallows is skipped and named. FREE: the crawl PLAN - exactly which pages would be fetched and what robots.txt allows - so you can see what you would get before paying. PAID ($0.14, x402 on Arc/Base/Solana/X1): every page rendered and returned. It costs more than one page because it is up to 25 real browser renders, not a lookup. If a bot wall on the site lets the first page through but blocks the rest, the call fails with poor-yield and names every page it could not render, instead of billing you for a list of failures.

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

Input Schema

NameRequiredDescriptionDefault
urlYesthe page to start from
fullNotrue asks for the paid crawl. Without a payment you get a 402 carrying the price and every rail we accept; sign it and call again with `payment`.
pagesNohow many pages, default 10, hard cap 25
paymentNoa signed x402 payment (the same base64 payload you would put in the PAYMENT-SIGNATURE header). Pass it here and the purchase completes inside this tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that robots.txt is obeyed and disallowed paths are skipped and named, that the host is restricted, and that a bot wall yields a `poor-yield` failure naming unrenderable pages instead of billing. Pricing ($0.14 across named rails) and the 402 payment handshake are also spelled out, which is exactly the context annotations cannot carry.

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 capability, then free/paid tiers, then the failure mode, which is a sensible order. The free/paid explanation is somewhat verbose and repeats the 'pay vs plan' idea, but no sentence is filler given the billing complexity.

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 paid, multi-page crawl with no output schema, the description covers cost, tier distinction, host scoping, robots compliance, and the exact failure/billing behavior. An agent has everything needed to decide and call it correctly.

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%, so all four parameters are already documented, and the description largely restates that (paid crawl, page cap, signed payment) rather than adding new syntax or constraints. The one genuine addition is the 402-then-retry-payment loop context, but it stops short of explaining what the signed payload must contain.

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 and resource with scope baked in: 'Render a whole section of a site - up to 25 pages - in one call' with JavaScript executed and same-host restriction. It implicitly separates itself from page extraction by noting it 'costs more than one page because it is up to 25 real browser renders, not a lookup', so an agent can distinguish it from page_extract/web_read without opening any 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 usage context: call free first to see the crawl PLAN, then pay to get rendered pages, and the poor-yield rule tells the agent it will not be billed for failures. It never explicitly names page_extract or web_read as the cheaper alternative for a single page, so the routing logic is implied rather than stated.

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