Skip to main content
Glama

ScorpTech x402 Tools

Url Markdown

url_markdown
Read-onlyIdempotent

Use this when you need a page's main text as Markdown for an LLM or RAG pipeline (for metadata, links and word count in the same call, see web_read). Fetch a public HTML page and convert main/article content to Markdown (Turndown). Scripts/styles stripped; output capped. Good for RAG/agent ingestion. Returns JSON with: title, markdown, chars. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/url-markdown

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_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent and open-world, but the description adds substantial behavior beyond them: Turndown conversion, scripts/styles stripped, output capped (length limit signal), concrete return fields (title, markdown, chars), and a per-call price with the x402 payment rail. The payment/auth requirement is exactly the kind of operational detail annotations cannot convey.

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?

Front-loaded with the use case and the conversion behavior, and the sibling pointer arrives early. Slight redundancy in "Good for RAG/agent ingestion," which repeats the opening LLM/RAG clause, and the pricing/endpoint tail is dense but justified as operational info.

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?

For a single-parameter read tool this is complete: the description covers what is fetched, how it is transformed, what is returned (so the absent output schema costs little), and the payment model. An agent has everything needed to call it correctly and to decide against it.

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 0% and there is one undocumented parameter, so the description must carry the load. "Fetch a public HTML page" implies the URL must be public and HTML (not PDF or authenticated), which adds real meaning, but it never says the format required (absolute URL, scheme) or what happens on non-HTML targets.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Fetch a public HTML page and convert main/article content to Markdown") plus the scope constraint (main/article only). It also explicitly separates itself from the sibling web_read by naming what that tool adds (metadata, links, word count), so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

"Use this when you need a page's main text as Markdown for an LLM or RAG pipeline" gives a concrete selection condition, and the parenthetical routes the agent to web_read for the richer payload. Both the when-to-use and the alternative are stated outright.

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