Skip to main content
Glama

url_to_markdown

Fetch a public web page and return clean Markdown (title, main text, links). Input: {url}. Costs $0.002 USDC per call via x402 (Base preferred, or Solana); no charge on errors.

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

Input Schema

NameRequiredDescriptionDefault
urlYeshttp(s) URL of the page
max_charsNotruncate output (default 20000, max 50000)
x402_paymentNobase64 x402 payment payload; omit to receive payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses per-call cost ($0.002 USDC), accepted chains (Base preferred, Solana), the x402 payment protocol, and the lenient billing rule (no charge on errors). It stops short of disclosing JS-rendering limits, redirect/auth behavior, or rate limits, which are the remaining unknowns for a web fetch.

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?

Three short sentences, front-loaded with the core action and output shape, then the cost model. The 'Input: {url}' fragment is redundant given the schema already marks url required, so one sentence does not fully earn its place, but nothing is padded.

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 three-parameter, no-output-schema tool the description covers what it returns (title, main text, links) and the critical operational fact an agent must know before calling: it costs money and how payment works. Missing only secondary behavior such as paywall/error edge cases and content-size handling, which the schema partially covers via max_chars.

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 the schema already documents url, max_chars, and x402_payment in full. The description only restates the required url and gestures at the payment flow; it adds no syntax, defaults, or edge-case semantics beyond what the schema provides, 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?

Names a specific verb+resource pair (fetch a public web page → clean Markdown) and even enumerates the returned fields (title, main text, links). Clear enough to separate from api_endpoint or site_contacts on resource alone, but it never explicitly contrasts itself with siblings like summarize, which is the nearest conceptual alternative.

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?

The word 'public' implicitly excludes authenticated/private pages, and the payment clause implies the caller must be prepared to pay, but there is no explicit when-to-use guidance and no named alternative. An agent is left to infer that summarize should be used when a summary rather than full Markdown is wanted.

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