Skip to main content
Glama

Alomo: Developer utilities

Markdown to HTML converter (sanitized)

markdown_to_html
Read-onlyIdempotent

Converts Markdown to HTML: headings, paragraphs, bold, italic, strikethrough, inline and fenced code, links, images, blockquotes, nested and task lists, horizontal rules and GitHub-style tables. Output is safe to embed: raw HTML in the input is escaped, not passed through, and only http(s), mailto and relative link URLs are kept. Up to 100 KB.

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_to_html"
  }
}

Input Schema

NameRequiredDescriptionDefault
markdownYesThe Markdown source (up to 100 KB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds genuinely non-obvious behavior beyond them: raw HTML in the input is escaped rather than passed through, link URLs are restricted to http(s), mailto and relative schemes, and input is capped at 100 KB. It stops short of describing what happens on inputs exceeding the cap or the exact shape of the returned HTML, keeping it below a 5.

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?

Two sentences, front-loaded with capability and followed by the security-relevant constraints. The feature enumeration is dense but each item carries real information about what will and will not convert, and there is no filler.

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?

With no output schema, the description does the necessary work by indicating the result is safe-to-embed HTML rather than raw passthrough. It is nearly complete for a one-parameter converter, though it leaves the return format (bare HTML string vs. wrapped) and the failure mode above 100 KB unstated.

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 100% and the single parameter is fully documented as the Markdown source up to 100 KB. The description only restates that same size limit, adding no format, encoding, or default semantics beyond what the schema already provides, so the baseline of 3 applies.

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 ("Converts Markdown to HTML") and then enumerates the exact syntax it handles, from headings through GitHub-style tables. An agent knows precisely what input it accepts and what transformation it performs without consulting any other field.

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: this is evidently the tool to call when Markdown must become embeddable HTML. There is no explicit when-to-use/when-not guidance and no alternative named, which is defensible given no sibling performs Markdown conversion, but the description never says so.

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