Skip to main content
Glama

AgentX402: Pay-per-Call AI, Web Render, Search & DeFi Tools

web_to_markdown

Read-onlyIdempotent

Fast (<500ms) URL/HTML to clean LLM-ready Markdown + SEO metadata, headings & links ($0.005 USDC or free trial).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "web_to_markdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic HTTP(S) URL to fetch and convert to Markdown
htmlNoRaw HTML string (optional if url provided)
max_charsNo
include_linksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/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 context beyond them: a sub-500ms latency expectation and a per-call price of $0.005 USDC (or free trial), which matters for cost-aware agents. It still says nothing about what happens on fetch failure, redirects, or how max_chars truncation is reported.

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?

A single front-loaded sentence that packs latency, input types, output shape, included extras and pricing without filler. The parenthetical pricing clause is the only slightly awkward element, but it earns its place for agents making cost decisions.

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?

With no output schema, the description must convey return values, and it does partially by naming Markdown, SEO metadata, headings and links. It omits important operational details for a 4-parameter tool: truncation semantics for max_chars, error behavior on unreachable URLs, and any differentiation from JSON-extraction siblings.

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 50%: url and html are documented in the schema, while max_chars and include_links are not. The description only hints at include_links by advertising 'links' as part of the output, and gives no indication of what max_chars does or what the default truncation behavior is.

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 the resource (URL/HTML) and the produced artifact (clean LLM-ready Markdown plus SEO metadata, headings and links), so the verb and output are clear. It does not distinguish itself from the close sibling extract_web_to_json, which forces the agent to infer that one returns JSON and this one returns Markdown.

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?

Usage is only implied by the output format: you would pick this when you want Markdown rather than structured JSON. There is no explicit when-to-use or when-not-to-use statement, and no mention of when to prefer render_js_webpage_and_screenshot for JS-heavy 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