Skip to main content
Glama

extract_page

Destructive

Choose this when an agent needs the readable content of a public webpage as deterministic clean Markdown, without screenshots or browser execution. Costs $0.005 USDC via x402. Successful paid calls settle the authorized USDC payment and create a stored report; settlement reduces the payer's balance and cannot be undone by this tool. The target website is not modified. Requires an x402-aware client to authorize payment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic HTTPS page URL. Private, loopback, credentialed, and non-HTTPS URLs are rejected.
maxOutputTokensNoOptional approximate output budget from 500 to 12000 tokens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / maxOutputTokens / description
      Added value: +"Optional approximate output budget from 500 to 12000 tokens."
    • addedInput schema / properties / url / description
      Added value: +"Public HTTPS page URL. Private, loopback, credentialed, and non-HTTPS URLs are rejected."
  2. Added

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 the exact cost ($0.005 USDC via x402), that settlement is irreversible ('cannot be undone by this tool'), that it creates a stored report, that the target site is not modified, and that an x402-aware client is required to authorize payment. This explains the destructiveHint/openWorldHint profile in concrete terms an agent can act on.

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?

Four sentences, each carrying distinct information: selection criteria, cost, settlement behavior, and prerequisites. The most actionable guidance ('Choose this when...') is front-loaded. Slightly dense but no filler.

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 extraction tool with no output schema, the description covers the return artifact (clean Markdown), the side effect (stored report + settled payment), the precondition (x402-aware client), and the cost. An agent has everything needed to decide and invoke 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 description coverage is 100% and the description adds no parameter-level detail beyond what the schema already documents (URL constraints and the token budget are fully covered in the schema). Baseline 3 is appropriate since the schema does the heavy lifting.

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?

The description states a specific verb (extract), resource (readable content of a public webpage), and output form (deterministic clean Markdown), explicitly excluding alternatives ('without screenshots or browser execution'). This lets an agent distinguish it from siblings like check_page, compare_page, and verify_page 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?

The opening 'Choose this when an agent needs...' gives clear positive selection criteria and implicitly narrows the field by ruling out screenshot-based or browser-execution approaches. It does not, however, name a specific sibling as the alternative or state when-not-to-use conditions beyond the output-format contrast.

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.