Skip to main content
Glama

APEX x402 Top 15 Sub-Cent Agent APIs

Web clean extract

web_clean_extract
Read-onlyIdempotent

Fast Web Page to Markdown & Structured JSON ($0.002/call, 120s cached; 1 free/day at /api/free/web-clean-extract): SSRF-safe URL to clean LLM Markdown + OpenGraph, JSON-LD, tables & links.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http(s) URL to fetch and extract as clean Markdown + structured metadata. (example: https://example.com/)
paymentNoOptional x402 PAYMENT-SIGNATURE header value (or send _meta["x402/payment"] / X-APEX-PASS).
maxCharsNoMax Markdown characters returned (default 12000, max 60000). (example: 12000)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, openWorld, idempotent, non-destructive), and the description adds genuinely new behavior: per-call cost of $0.002, a 120s cache window and an SSRF-safe fetch guarantee. It omits failure behavior and any throttling beyond the cache note, which keeps it below a 5.

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

Conciseness3/5

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

It is a single front-loaded line with no filler sentences, but it is dense with commercial and endpoint details (price, cache TTL, free-tier path) that compete with the capability statement. Readable, though the packing makes it harder to scan than a plain verb-plus-resource sentence.

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 usefully lists what comes back (Markdown, OpenGraph, JSON-LD, tables, links), and the three parameters are fully documented in the schema. What is missing is any note on errors, truncation behavior or how the prompt-injection/SSRF safety manifests to the caller.

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 the schema already documents url, payment and maxChars including defaults and limits. The description adds no parameter-level meaning of its own, so the baseline 3 applies.

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?

Names a specific transformation (URL to clean LLM Markdown plus structured JSON) and enumerates the extracted artifacts: OpenGraph, JSON-LD, tables and links. It never distinguishes itself from close siblings like html_to_markdown, page_markdown, page_extract or web_read, so an agent cannot route between them from this text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies pricing, caching and a free-tier endpoint but no when-to-use or when-not-to-use guidance. Nothing tells the agent why it would pick this over html_to_markdown or page_extract, which is the guidance that actually matters here.

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