Skip to main content
Glama

HTML to Markdown

text_html_to_markdown
Read-only

Convert HTML to clean Markdown. Use when extracting readable content from web pages or migrating HTML docs to Markdown format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesHTML string to convert to Markdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The readOnlyHint annotation already indicates a safe non-destructive operation, so the bar is lower. The description adds 'clean Markdown' and 'extracting readable content,' which implies output quality, but does not disclose details about handling malformed HTML, lossy conversion, or preservation of specific elements. It provides some context beyond annotations but not rich behavioral detail.

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?

The description is two sentences, front-loaded with the core action and then usage guidance. There is no fluff or repetition, making it highly concise and well-structured.

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 one-parameter tool with no output schema, the description covers the purpose, usage scenarios, and implied output format ('Markdown'). It does not mention edge cases or limitations, but the simplicity of the tool and the readOnlyHint annotation make the description adequately complete for an agent to select and invoke it.

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% for the only parameter 'html' with a clear description. The tool description does not add further parameter-specific meaning beyond restating the conversion, so it meets the baseline for high schema coverage but provides no additional value.

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?

The description uses a specific verb and resource: 'Convert HTML to clean Markdown.' It clearly states the conversion direction, distinguishing it from the sibling tool text_markdown_to_html, and adds context with 'extracting readable content from web pages.'

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

Usage Guidelines4/5

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

The description explicitly says 'Use when extracting readable content from web pages or migrating HTML docs to Markdown format.' This gives clear context and use cases, though it does not mention when not to use it or explicitly name alternatives like text_markdown_to_html.

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