Skip to main content
Glama

Markdown to HTML

dev_markdown_to_html

Convert Markdown to HTML with GitHub-flavored markdown support (tables, task lists, strikethrough, autolinks). Deterministic — the same markdown always yields byte-identical HTML, unlike LLM-approximated conversions. Use this when an agent needs to gFM markdown → clean HTML, exact output. x402 price $0.01/call (USDC, eip155:8453).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
markdownYesMarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful traits: byte-identical deterministic output and a per-call payment requirement (x402, $0.01/call, USDC on eip155:8453). However, it omits behavior an agent needs for an HTML-producing tool — whether output is a full document or fragment, how invalid Markdown is handled, and whether the HTML is escaped/sanitized. Good context, notable 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-loaded with the core operation, then determinism, then the use case, then pricing — a sensible order. Slightly redundant in restating the conversion ("Markdown to HTML" then "gFM markdown → clean HTML, exact output"), but every sentence carries information.

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 single-parameter conversion tool with no annotations, the description covers purpose, input dialect, determinism, and cost. Because there is no output schema, the description should have described the return shape (full HTML document vs fragment), and it says nothing about error behavior — a real omission for agents that must parse the result.

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 description coverage is 100% for the single required parameter, so the baseline is 3. The description adds only a marginal nuance by specifying the accepted dialect is GitHub-flavored Markdown, which is more than the schema's bare "Markdown" label but still thin.

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 ("Convert Markdown to HTML") and immediately scopes it with the supported GFM feature set (tables, task lists, strikethrough, autolinks). No sibling tool in the list performs Markdown→HTML conversion, so no sibling disambiguation is needed, and the agent can identify the operation unambiguously.

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?

"Use this when an agent needs gFM markdown → clean HTML, exact output" gives an explicit selection condition tied to the determinism guarantee, which is the real differentiator versus LLM-approximated conversion. It stops short of naming a concrete alternative in the sibling set or stating when-not to use it, but the context is clear.

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