Skip to main content
Glama
EthanPany

thermal-mcp

by EthanPany

print_markdown

Print GitHub-flavored markdown directly on a thermal receipt printer with built-in ticket styling. Handles code, Mermaid diagrams, LaTeX math, tables, and task lists for notes, lists, or receipts.

Instructions

Render markdown with the built-in ticket style and print it on the thermal printer. Quick path for notes/lists/receipts; use print_html for custom design.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowNo"ticket" (default): standalone ticket with margins and trailing paper feed. "continuous": typewriter/log mode — zero top/bottom margins, NO trailing feed, so chunks printed across separate calls join seamlessly into one document; send one complete markdown block per call (incomplete chunks are rejected before printing); press the printer's FEED button after tearing to restore a margin.
sizeNotype size tier. "medium" (19px) is the RECOMMENDED default — use it for almost everything. "large" (24px) for headlines / very short notes. "small" (14px) ONLY for genuinely dense or long content (it is noticeably harder to read on thermal paper) — do NOT default to small.
markdownYesGitHub-flavored markdown with advanced features: syntax-highlighted code fences (monochrome: bold keywords, italic strings/comments), ```mermaid diagrams, LaTeX math ($inline$ and $$block$$), checkbox task lists, tables, remote images (auto-dithered). Rendered with a built-in minimalist high-contrast stylesheet (h1 = white-on-black rounded banner, bordered rounded blockquotes/code, dashed hr). Fastest way to print; use the html tools for full custom design. Call design_guide first for size/style guidance.
feed_linesNoblank lines fed after the ticket for tearing (default 4; forced 0 in continuous flow unless set)
Behavior4/5

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

No annotations are provided, so the description carries the full burden of disclosing behavior. It thoroughly describes features (code fences, mermaid, LaTeX math, checkboxes, tables, remote images) and the built-in minimalist stylesheet, plus important constraints on continuous flow (incomplete chunks rejected, FEED button instructions). Notable disclosure of type-size readability tradeoffs. Minor gap: no mention of where output physically goes beyond 'thermal printer', but the tool name and print terminology cover that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but front-loaded with the core purpose in the first sentence. The markdown param description is long but each clause adds genuine behavioral value (advanced features, stylesheet specifics, pointers to alternatives). The flow and size explanations are thorough but tightly written. Slightly long overall, yet every sentence earns its place given no annotations exist.

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?

No output schema and no annotations, so the description alone must cover complexity. For a tool rendering arbitrary markdown with advanced features (mermaid, LaTeX), it explains the styling and feature set well, covers all four parameters, and names alternatives and prerequisites. Missing only a note on what the return/result looks like (e.g., printed confirmation), but for a printing tool this is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so params are already documented. The description adds value through guidance beyond the schema: recommending 'medium' as the default size with clear when-to-use guidance for large/small, and explaining the continuous flow behavior (zero margins, no trailing feed, joining chunks). The feed_lines param default behavior in continuous flow is also clarified. Not a full 5 because the markdown format doc essentially mirrors the schema, but combined schema+description form a coherent picture.

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?

Description states specific verb+resource ('Render markdown... and print it on the thermal printer') and clearly scopes behavior to the built-in ticket style. It explicitly distinguishes from sibling print_html for custom design, matching the sibling tool names in the context.

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

Usage Guidelines5/5

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

Explicitly frames when to use this tool ('Quick path for notes/lists/receipts') and gives an exclusion with the alternative ('use print_html for custom design'). The markdown param description also reinforces this with 'Fastest way to print; use the html tools for full custom design' and 'Call design_guide first for size/style guidance.'

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EthanPany/thermal-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server