Skip to main content
Glama

markdown_to_html

Convert Markdown text into HTML, including headings, bold, italic, links, lists, and code, so content can be rendered in web pages or applications.

Instructions

Convert Markdown text to HTML (headings, bold, italic, links, lists, code).

Input Schema

NameRequiredDescriptionDefault
markdownYesMarkdown text to convert.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the supported Markdown feature set but says nothing about dialect (CommonMark vs GFM), sanitization, or error handling on malformed input. For a low-risk pure transformation this is adequate but thin.

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?

A single, front-loaded sentence that lists the supported features without padding. Every element earns its place.

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?

For a simple deterministic conversion with one documented parameter and no output schema, the description covers the essential purpose. The main gap is the absence of dialect/sanitization detail, but nothing critical to calling it correctly is missing.

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% and there is a single self-explanatory parameter, so the schema does the work. The description adds no syntax or format detail beyond what the schema already provides, matching the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Convert) and resource (Markdown text) to HTML, and enumerates the supported constructs (headings, bold, italic, links, lists, code). This clearly delineates it from siblings like markdown_stats or markdowntable_convert, though it does not name them explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus alternatives such as markdown_stats, html_strip, or markdowntable_convert. Usage is only implied by the tool name and function.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools