Skip to main content
Glama

markdown render

markdown_render
Read-only

Render Markdown (GitHub-flavoured: tables, task lists, fenced code) to safe HTML or a complete styled HTML page, with a table of contents and word count. Raw scripts and event handlers are stripped unless allow_html=true. Costs $0.002 USDC per call (x402).

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

Input Schema

NameRequiredDescriptionDefault
pageNo
breaksNo
markdownYes
allow_htmlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint, so the description carries the rest. It discloses important behavior beyond the annotations: raw scripts and event handlers are stripped unless allow_html=true, output includes a TOC and word count, and each call costs $0.002 USDC via x402. It stops short of describing return shape or pagination/size limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, no filler, front-loaded with the capability and output options before the security and cost caveats. Every sentence carries distinct 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?

There is no output schema, and the description does give the return shape (HTML, TOC, word count) plus the sanitization and pricing behavior. However, with two of four parameters undocumented and no explicit guidance on alternatives, it falls short of fully arming an agent to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it only explains allow_html (and implicitly markdown). The 'page' and 'breaks' booleans are never mentioned, leaving half the parameters undefined in both schema and prose.

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 (Render) and resource (Markdown), then narrows scope to GitHub-flavoured features (tables, task lists, fenced code) and two concrete output forms (safe HTML vs. complete styled page). An agent can tell this apart from generic siblings like markdown, doc_convert, or html_sanitize.

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 by the purpose (convert Markdown to HTML) but the description never states when to pick this over siblings such as html_sanitize or doc_convert, nor any precondition beyond the cost note. Adequate but leaves routing to inference.

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