Skip to main content
Glama

VIA - Web/PDF extraction and API comparison

via_extract_web_lite

Web Text Lite: extract clean text, title and headings from a public HTML or plain-text page (up to 1 MiB, max 10000 characters; no PDF, OCR, JavaScript rendering or links) for 0.001 USDC on Base via x402. PDF URLs are refused before payment; use via_extract_page (0.02 USDC) for PDFs. Nothing is charged if extraction fails. Payment is only made after buyer approval.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic HTML or plain-text page; not a PDF
maxCharsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true, idempotentHint=false and destructiveHint=false; the description adds substantial context beyond that: the 0.001 USDC cost on Base via x402, that PDF URLs are refused before payment, that nothing is charged on failure, and that payment occurs only after buyer approval. These are exactly the cost and side-effect details an agent needs before invoking a paid tool.

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?

A single dense sentence that front-loads the capability, then the limits, then the pricing and the PDF alternative. Every clause carries information, though the payment and refusal details are packed tightly enough that a reader must parse carefully.

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?

With no output schema, the description still names the return content (clean text, title, headings), and it covers cost, failure behavior, and the PDF boundary. Nothing an agent needs in order to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: url is documented in the schema, but maxChars has only bounds and a default with no prose. The description compensates by stating the 10000-character cap and the 1 MiB page limit, giving the maxChars parameter real meaning. It does not explain the 500 minimum or the tradeoff of lowering maxChars, so it stops short of a 5.

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 ('extract clean text, title and headings from a public HTML or plain-text page') and explicitly distinguishes itself from the sibling via_extract_page, which handles PDFs. An agent can select between the two without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit inclusion criteria (public HTML or plain-text, up to 1 MiB, max 10000 characters) and exclusions (no PDF, OCR, JavaScript rendering or links), plus a named alternative with its price for the PDF case. Both when-to-use and when-not-to-use are covered.

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