Skip to main content
Glama

Agent Margin Router

Extract Clean

extract_clean
Read-only

Structured JSON extraction from any public URL (HTML, PDF, JS-rendered pages). Multi-provider routing with license-aware caching. Pay per call with USDC or USDT on Base via x402 – no API key, no signup. 3 free calls per wallet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesPublic URL to extract.
schemaNoOptional JSON schema for the output.
walletNoYour EVM wallet address (0x...). Unlocks the free tier (3 calls per wallet).
api_keyNoOptional AMR enterprise API key.
x_paymentNoOptional signed x402 payment payload (base64 JSON) for USDC/USDT on Base.
instructionsNoOptional natural-language hints.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint, openWorldHint), and the description adds genuinely new operational context: multi-provider routing, license-aware caching, pay-per-call via x402 in USDC/USDT on Base, no API key or signup, and a 3-free-call-per-wallet tier. It stops short of describing failure behavior, cache staleness, or latency, but is well above the annotation baseline.

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

Conciseness5/5

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

Four tight sentences, purpose front-loaded, then capability, then payment/access mechanics. Each sentence carries distinct information with no padding or repetition of the title.

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?

With no output schema, the description does indicate the return shape ('Structured JSON extraction') and fully covers inputs, payment, and free-tier access. It could be stronger by noting error behavior or what the response looks like for failed extractions, but it is broadly complete for a paid, open-world extraction tool.

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%, so every parameter (url, schema, wallet, api_key, x_payment, instructions) is already documented. The description restates the payment model but adds no syntax or format details beyond what the schema fields provide, making the baseline 3 correct.

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+resource ('Structured JSON extraction') and enumerates the supported input formats (HTML, PDF, JS-rendered pages). None of the sibling tools (gas_fees, token_price, wallet_balance, etc.) do extraction, so the agent can route unambiguously.

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?

Usage is only implied: the tool applies to 'any public URL' with the listed formats. There is no explicit when-to-use/when-not guidance, no statement about unsupported targets (private/authenticated URLs, rate-limited sites), and no alternatives to weigh since no sibling overlaps.

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.