Skip to main content
Glama

BaseGuard402 MCP Server (14 Base x402 v2 USDC APIs)

url_clean

$0.01 USDC on Base (x402 v2). Clean Web-to-Markdown Extractor — Use this tool when an AI agent needs to read a public webpage, documentation article, or blog post without wasting context tokens on HTML tags, ads, cookie banners, or scripts. Ret

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

Input Schema

NameRequiredDescriptionDefault
urlYesPublic http:// or https:// URL to fetch and convert into clean Markdown.
max_charsNoMaximum number of Markdown characters to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations were supplied, so the description carries the full disclosure burden. It does add genuinely useful behavioral context — a $0.01 USDC/Base x402 v2 payment cost and the cleanness of the extraction — but says nothing about payment prerequisites, rate limits, or how it behaves on non-HTML, paywalled, or failing URLs, and the text is truncated mid-sentence ('Ret').

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?

Pricing and purpose are front-loaded in one dense sentence with little waste. The trailing truncated fragment 'Ret' is an incomplete sentence that should have been cut or completed, which is the main structural flaw.

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?

For a simple two-parameter fetch tool with no output schema, the core purpose and a usage trigger are covered. However, the truncated ending, absence of payment/auth mechanics, and no indication of return shape or failure modes leave meaningful gaps an agent would want filled.

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 100%, so both the url and max_chars parameters are already fully documented in the schema with format, bounds, and defaults. The description adds no parameter-level meaning beyond that, so the 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?

States a concrete verb+resource: fetch a public URL and convert it to clean Markdown, naming the artifacts it strips (HTML tags, ads, cookie banners, scripts). It implicitly separates itself from pdf_clean by scoping to webpages/docs/blog posts, though it does not name that sibling explicitly.

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

Usage Guidelines4/5

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

Gives a clear when-to-use trigger: reading a public webpage, documentation article, or blog post without burning context tokens. It lacks any exclusionary guidance (e.g., 'use pdf_clean for PDFs', 'won't work on paywalled/auth pages'), which keeps it below a 5.

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.