Skip to main content
Glama

baseguard402_url_clean

Extracts any public webpage into clean, token-efficient Markdown with token-savings stats, so agents can cut context cost when fetching web content via paid x402 calls.

Instructions

$0.01 USDC on Base (x402 v2). Extract any public webpage into clean, token-efficient Markdown with token-savings stats.

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http:// or https:// URL to clean into Markdown.
max_charsNo
x_paymentNoOptional legacy X-Payment header or Base Mainnet USDC tx hash.
payment_signatureNoOptional Base64 x402 v2 PAYMENT-SIGNATURE header (EIP-3009 USDC authorization on Base). Omit first to receive the exact HTTP 402 payment quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does disclose the critical trait: this is a paid call costing $0.01 USDC on Base via x402 v2, so the agent knows invoking it has monetary cost. It also states the return is token-efficient Markdown with savings stats. It omits failure modes, JS-rendered page handling, and whether content is truncated.

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?

Two tight sentences with zero filler, though the price leads ahead of the purpose, so the agent reads cost before learning what the tool does. The alternative ordering would front-load the verb and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description's single phrase "token-savings stats" is the only hint at the response shape, and truncation semantics for max_chars are unexplained. For a paid tool with a multi-step 402 payment handshake, a bit more on the first-call quote flow and failure behavior would help.

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 75%, and the schema already explains url, x_payment, and payment_signature in detail. The description adds pricing context that complements the payment parameters, but says nothing about max_chars behavior (truncation at the 15000 default), which the schema documents only as a numeric range. Baseline 3 is appropriate where the schema does most of the work.

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?

States a specific verb and resource: "Extract any public webpage into clean, token-efficient Markdown with token-savings stats." That is concrete enough that an agent knows exactly the input (a URL) and output (Markdown). It does not explicitly distinguish itself from siblings like baseguard402_deep_research, which might also fetch page content, but the names suggest distinct domains.

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?

No when-to-use or when-not-to-use guidance, and no alternative tools named. The word "public" implicitly excludes authenticated or private pages, but that is the only selection constraint the agent gets. Nothing tells the agent whether to prefer this over baseguard402_deep_research for fetching web content.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.