Skip to main content
Glama

mechacut

md_render

Closed-subset Markdown -> HTML, escape-first (raw HTML never survives), javascript:/data: urls refused, tables, fences with language class, optional NFKD heading ids. Not CommonMark — it is the contract stated here, byte-stable. Free under 32 KB, x402 above.

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": {
      "markdown": "<markdown>"
    },
    "name": "md_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
documentNowrap in a standalone printable page (A4 print CSS — Ctrl-P makes the PDF)
markdownYes
heading_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: escape-first/raw HTML never survives, javascript: and data: URLs are refused, output is byte-stable, and a pricing threshold (free under 32 KB, x402 above) is disclosed. Gaps remain: 'x402' is unexplained jargon, and nothing is said about error behaviour for rejected URLs or oversized payloads.

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 and free of filler — every clause adds a fact, and the size/pricing note sits last where it belongs. The telegraphic comma-spliced style ('tables, fences with language class') costs some parseability, but nothing is redundant.

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 no-output-schema, no-annotation tool this is decent but not complete: it never describes the shape of the returned HTML (wrapper element, class names) or error responses, and leaves 'title' and its relationship to standalone document mode unexplained. An agent can call it, but cannot predict the returned markup precisely.

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 only 25%, so the description must compensate. It adds real meaning for heading_ids (NFKD normalisation) and implies the input string, but 'title' is never mentioned and its interaction with document mode is left to inference, and the 32 KB limit's mapping to the markdown parameter is only implicit.

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?

Names a specific verb and resource (Markdown -> HTML) plus the exact input contract: escape-first, closed subset, tables, fenced code with language class, optional NFKD heading ids. The explicit 'Not CommonMark — it is the contract stated here' distinguishes it from every generic Markdown renderer an agent might otherwise assume.

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 implied rather than stated: the 'Not CommonMark' clause warns the agent not to expect CommonMark semantics, which is real guidance. There is no explicit when-to-use/when-not, no note on invalid input handling, and no named alternative for cases outside the closed subset.

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.