Skip to main content
Glama

AgentWork Web Evidence

Fetch URL (compact)

fetch_url
Read-onlyIdempotent

Fetch URL: compact page text and final URL. Fetch URL — compact fetch of a public webpage: final URL, HTTP status, content type, title, clean text and text_sha256 (no link or heading lists). Same engine and prices as web/read: $0.003 per URL Base ($0.006 Algorand); batch of 2-10 urls $0.003/URL; render=true $0.01/URL. robots.txt respected. Failed fetches not settled. Price (USDC): Base single $0.003, batch_per_url $0.003, render_per_url $0.01, safe_per_url $0.001; Algorand single $0.006, batch_per_url $0.006, render_per_url $0.02, safe_per_url $0.002. Paid per call with x402 v2 (params._meta["x402/payment"]).

Input Schema

NameRequiredDescriptionDefault
urlNoPublic HTTP/HTTPS URL; ports 80/443 and public IPv4 resolution only. Use url or urls, not both.
safeNoAdd a prompt-injection scan of each page (safety: verdict clean/suspicious/injection, score, flagged excerpts). +$0.001 per URL on Base (+$0.002 Algorand).
urlsNoBatch of up to 10 public URLs. 2-10 URLs are priced $0.003 each on Base ($0.006 Algorand). Charged in full if at least one URL succeeds; per-URL errors are returned inline.
formatNomarkdown adds markdown + markdown_sha256 (text is still returned)text
renderNoExecute JavaScript in headless Chromium before extraction. $0.01 per URL on Base ($0.02 Algorand). Images, media and fonts are not loaded.
selectorNoOptional CSS selector (e.g. "main", "#pricing", "article .changelog"). Only the first matching element is extracted; no match returns 422 SELECTOR_NOT_FOUND and nothing is settled. HTML only.
max_charsNoMaximum returned characters per URL (applies to text and markdown separately)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, and the description adds genuinely new behavior: robots.txt is respected, failed fetches are not settled, batch is charged in full if at least one URL succeeds with per-URL errors returned inline, and payment is x402 v2 via params._meta. These are real operational facts an agent cannot get from the annotations.

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

Conciseness2/5

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

The purpose is front-loaded well, but the pricing block is stated twice in near-identical form ('$0.003 per URL Base ($0.006 Algorand)... render=true $0.01/URL' then again as 'Price (USDC): Base single $0.003, batch_per_url $0.003...'), and the title is restated verbatim at the start. Roughly a third of the text is redundant filler.

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?

For a stateless read tool with full schema coverage, the description covers output fields, error/settlement behavior, robots compliance, and payment mechanics, which is enough to invoke it correctly. The only real gap is the absence of explicit sibling routing, which matters given twelve related tools.

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 100%, so the baseline is 3, but the description adds price deltas per option (render=true $0.01/URL, safe +$0.001, batch $0.003/URL) that let the agent reason about cost before choosing flags. It also discloses the payment transport (params._meta['x402/payment']), which the schema does not mention at all since additionalProperties is false.

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?

The description states a specific verb and resource ('compact fetch of a public webpage') and enumerates the exact output shape: final URL, HTTP status, content type, title, clean text, text_sha256. The parenthetical '(no link or heading lists)' carves out a boundary against heavier extraction siblings like scrape_url_to_markdown without naming them, so the agent can differentiate the compact variant from the rich one.

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 implied rather than stated: 'compact', 'no link or heading lists', and the per-URL pricing suggest this is the cheap option for plain page text. There is no explicit 'use this instead of X when Y' routing, and no guidance on when to prefer the richer extraction siblings or site_intelligence tools, leaving the agent to infer the trade-off.

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