Skip to main content
Glama
permitzip

labelprint

by permitzip

labelprint_print

Print PNG labels or render title, body, and QR code content to a thermal label printer. Requires confirm=true, so preview the label first before consuming physical stock.

Instructions

Print a PNG, or render title/body/QR and print that.

Consumes physical labels. confirm must be true. Preview with labelprint_render first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qrNo
bodyNo
titleNo
copiesNo
confirmNo
densityNo
width_mmNo
height_mmNo
image_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the critical traits: it 'consumes physical labels' (irreversible real-world side effect) and is gated behind confirm=true, which is exactly the safety information an agent needs. It omits failure modes, printer selection, and whether copies multiplies consumption, so it is strong but not exhaustive.

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?

Three short sentences, front-loaded with the core action, then the physical-consumption warning, then the confirmation gate and preview routing. No filler and nothing buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the high-risk behavioral notes are present. However, for a 9-parameter, 0%-coverage, unannotated tool, the dimension/quantity parameters and printer targeting are left for the agent to guess.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It explains the mode split (image_path is a pre-made PNG vs. title/body/QR being rendered) and the meaning of confirm, but leaves copies, density, width_mm, and height_mm entirely undefined in both schema and prose.

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?

Opens with a specific verb+resource ('Print') and precisely delineates its two input modes: an existing PNG via image_path, or rendering title/body/QR inline. It explicitly positions itself against the sibling labelprint_render, so an agent can route without opening either schema.

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?

Gives a hard precondition ('confirm must be true') and a clear workflow ordering ('Preview with labelprint_render first'), which names the alternative tool explicitly. It stops short of stating when NOT to use it (e.g., when no printer is configured), so it is clear context rather than full when/when-not coverage.

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