Skip to main content
Glama

FMF Tools Doc Tools

html_markdown

URL/HTML to clean Markdown ($0.003 per call, paid via MPP on Tempo). Fetch a web page (url) or take raw HTML and return clean Markdown with absolute links. Optional selector (CSS) to keep only part of the page. Static HTML, no JS rendering. Max 5 MB. HTTP POST https://mpp-docs.fmf-x402.workers.dev/mpp/html/markdown. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL of the file
dataNoBase64 file content (alternative to url)
htmlNoRaw HTML (alternative to url)
base_urlNo
filenameNo
selectorNoCSS selector to keep

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 substantial work: discloses per-call cost ($0.003), the payment mechanism (MPP on Tempo, Authorization header or mppx route), that the MCP wrapper does not itself settle payment, no-JS rendering, and a 5 MB max. It does not describe error behavior, truncation, or rate limits, leaving some operational gaps.

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-loads what the tool does, then selector, constraints, endpoint, and payment in a compact sequence. It is dense but nearly every sentence carries actionable information; the payment/endpoint sentences are long but operationally necessary given no annotations.

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?

No output schema exists, and the description correctly specifies the return value ('clean Markdown with absolute links'). It covers cost, auth, input modes, size limit, and rendering limitation for a moderately complex paid tool. Missing pieces are error/failure semantics and the purpose of base_url and filename.

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 67%, and the description adds meaning for url (fetch a web page), html (raw HTML alternative), and selector (CSS to keep only part of the page). It says nothing about base_url or filename, which are undocumented in both schema and description, so it does not fully compensate for the coverage gap.

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 ('URL/HTML to clean Markdown'), enumerates the two input modes (fetch a web page via url or take raw HTML), and clarifies the output form (clean Markdown with absolute links). An agent can tell this apart from pdf_markdown/doc_markdown conversions by the web/HTML input focus.

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 clear usage context: use url to fetch a page or pass raw HTML, and optional selector to keep only part of the page. Also states the exclusion 'Static HTML, no JS rendering' and a 5 MB cap, which helps decide applicability. It stops short of naming alternatives (e.g. url_metadata or the PDF/doc converters) or stating when this tool is the wrong choice beyond the JS limitation.

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