Skip to main content
Glama

Tanod Text

utilpeek: render Markdown to sanitized HTML

markdown_to_html
Read-onlyIdempotent

utilpeek: Convert Markdown to sanitized HTML. Returns the HTML of a Markdown document (markdown-it-py; gfm adds tables, strikethrough, autolinks and task lists), cleaned by an allow-list sanitizer (nh3): no scripts, event handlers, iframes, forms or javascript:/data: links; every link gets rel="nofollow noopener noreferrer". Input: markdown and optional flavor. HTML over 4 MB is a 422 output_too_large. Parsed in an isolated, resource-limited child process without network; input over its limits is a 422 (not charged). Typically under 0.5 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/markdown-to-html-api.html

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flavorNogfm (default) adds tables, strikethrough, autolinks and task lists.gfm
markdownYesMarkdown source (at most 200,000 characters).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
flavorNo
sourceNo
sanitizedNo
html_charsNo
removed_by_sanitizerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "error": {
      +      "description": "Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object."
      +    },
      +    "flavor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "html": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "html_chars": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "removed_by_sanitizer": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "sanitized": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "properties": {
      +        "library": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "license": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources