Skip to main content
Glama

Clean-Room Web & Proof

Fetch Clean Public Webpage

cleanroom_fetch_safe_page
Read-onlyIdempotent

Read a public webpage safely by stripping out scripts, messy code, and hidden instructions, returning clean readable text, headings, links, and a timestamped fingerprint ($0.005).

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic https:// webpage URL to fetch and clean safely.
max_charsNoOptional maximum clean text length (500 to 24000).
spend_keyNoOptional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key or Authorization header.
builder_codeNoOptional partner referral code for revenue sharing.
idempotency_keyNoOptional unique request ID to prevent duplicate billing on retries.
payment_signatureNoOptional direct payment header when paying per request without a prepaid API key.

Output Schema

NameRequiredDescriptionDefault
okNo

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, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds real value beyond them: it discloses the sanitization behavior (stripping scripts and hidden instructions), the shape of the return content (text, headings, links, fingerprint), and the per-call cost of $0.005, which is billing context an agent cannot get from annotations.

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?

A single front-loaded sentence: verb and resource first, then sanitization behavior, then return contents, then cost. No filler, no repetition of schema or annotation content.

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 an output schema present and full schema coverage on six parameters, the description carries little extra burden and covers purpose, sanitization behavior, and pricing. The only shortfall is the absence of routing guidance against sibling tools, which matters for a catalog this dense.

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 including max_chars, spend_key, builder_code, idempotency_key, and payment_signature is already documented inline. The description only alludes to the paid nature of the tool via the price, adding nothing new about parameter meaning; 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?

The description names a specific verb and resource ("Read a public webpage") plus the transformation performed ("stripping out scripts, messy code, and hidden instructions") and the outputs returned. It does not, however, contrast itself with close siblings like cleanroom_parse_safe_document or cleanroom_sanitize_text, so the boundary is inferred from the URL/'webpage' framing rather than stated.

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?

Usage is only implied by the word "public" and the fact that a URL is required. There is no statement of when to prefer this over the parse or sanitize siblings, no prerequisites (e.g., paywall/key requirements beyond schema hints), and no exclusions such as private or authenticated pages.

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