Skip to main content
Glama

AgentWork Web Evidence

Web contents (batch URLs to Markdown)

web_contents
Read-onlyIdempotent

Web contents: up to 20 URLs to clean Markdown or text in one call, $0.002 per URL. Batch web page contents for RAG and research agents — send 1-20 public URLs, get per-URL Markdown (or text), title, final URL, SHA-256 and inline errors. $0.002 per URL on Base ($0.004 Algorand); optional safe=true adds a prompt-injection scan per URL (+$0.001). Charged only if at least one URL succeeds. No account. Price (USDC): Base per_url $0.002, safe_per_url $0.001; Algorand per_url $0.004, safe_per_url $0.002. Paid per call with x402 v2 (params._meta["x402/payment"]).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "web_contents"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoSingle URL (alternative to urls).
safeNoAdd a prompt-injection scan of each page (safety.verdict). +$0.001 per URL on Base (+$0.002 Algorand).
urlsNo1-20 public HTTP/HTTPS URLs. $0.002 each on Base ($0.004 Algorand).
formatNomarkdown
max_charsNoMaximum characters returned per URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only cover the read-only/idempotent safety profile; the description goes well beyond them with per-URL pricing, the 'Charged only if at least one URL succeeds' billing rule, no-account requirement, x402 v2 payment plumbing (params._meta['x402/payment']), and the extra-cost semantics of safe=true. This is exactly the operational detail an agent needs before spending money.

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?

Strong front-loading: purpose and output shape come first. However, pricing is restated three times (opening line, middle sentence, and the closing 'Price (USDC)' enumeration), which is avoidable bulk in an otherwise dense paragraph.

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?

Despite having no output schema, the description enumerates the return payload (Markdown/text, title, final URL, SHA-256, inline errors) and covers payment, failure charging, and the safety add-on. Nothing material is missing for a 5-parameter, 0-required batch tool.

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 80%, so the baseline is 3, but the description adds cost meaning the schema lacks — per-URL pricing tied to the urls array, and the +$0.001 surcharge for safe plus what it returns (safety.verdict). max_chars is the one parameter the description leaves entirely to the schema.

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?

Concrete verb and resource with explicit scale: 'send 1-20 public URLs, get per-URL Markdown (or text), title, final URL, SHA-256 and inline errors.' The batch framing implicitly distinguishes it from single-URL siblings like scrape_url_to_markdown, but no sibling is named outright, so it stops short of a 5.

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?

It states the audience ('for RAG and research agents') and gives a conditional rule for the safe flag ('optional safe=true adds a prompt-injection scan'). It never says when to prefer a single-URL fetcher over this batch tool, or when not to use it, so usage is implied rather than spelled out.

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