Skip to main content
Glama

Render local Markdown to HTML

abox_markdown_html

Convert Markdown to standalone HTML with restrictive CSP for safe offline viewing; supports headings, lists, quotes, code, emphasis, and safe links, no raw HTML or auto requests.

Instructions

Render the website small Markdown dialect into a new standalone HTML file with a restrictive CSP. Verifies passive tag nesting and projected source text. Supports simple headings, flat lists, quotes, code, emphasis and safe-scheme links; no raw HTML, image rendering or automatic requests. Links remain clickable in the saved file and are never opened by the adapter. Requires no browser.

Input Schema

NameRequiredDescriptionDefault
input_pathYesAbsolute local filesystem path. URLs and network shares are refused.
output_pathYesAbsolute local filesystem path. URLs and network shares are refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: it writes a new standalone HTML file, applies a restrictive CSP, verifies tag nesting and source text, keeps links clickable but never opens them, and makes no network requests. This is unusually rich behavioral context for a write-oriented local tool.

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 front-loaded with the core render operation and then adds security, supported syntax, and link behavior without filler. Every sentence contributes useful scope or behavior information.

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 two-path local file conversion tool with full schema coverage and annotations, the description covers supported syntax, security posture, link handling, and browser requirements well. It does not mention overwrite behavior for an existing output_path or error/return behavior, which leaves a minor gap.

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%, so both required path parameters are fully documented by the schema. The description adds only the implication that output_path receives a new standalone HTML file and does not explain path handling beyond what the schema already states.

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 states a specific verb and resource: render a Markdown dialect into a new standalone HTML file. It also scopes the output with a restrictive CSP and distinguishes the tool from browser-based rendering and raw HTML handling.

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?

It gives clear usage context by listing supported Markdown features and explicit exclusions such as raw HTML, image rendering, automatic requests, and browser use. It does not name a specific alternative sibling tool, so it falls short of full when-to-use/when-not guidance.

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