Skip to main content
Glama

Label sheets PDF

doc_labels
Read-onlyIdempotent

Generate printable PDF address or product labels from lists, CSV data, or repeated text on standard sticker sheets, with preset/custom layouts and alignment controls.

Instructions

Print address or product labels on standard sticker sheets as PDF: A4 21/24/14/40/65-up (L7160, L7159, L7163, L7654, L7651 sizes) or Letter 30/10/80-up (5160, 5163, 5167 sizes), or custom geometry in mm. Text modes: "list" (one label per block, blank line between labels), "csv" (rows filled into a template like "{Name}\n{Street}\n{City} {Postcode}", header row or {1},{2}…), or "same" (one text × count). Copies per label, start at a later position to reuse a part-used sheet, alignment, font, size, bold first line, border, shrink-to-fit and printer offset nudges. Print at 100% / actual size. Up to 3000 labels. Latin text only for now. Web version: https://s3eidat.github.io/label-maker/

Input Schema

NameRequiredDescriptionDefault
fitNoShrink text (in 0.5 pt steps, min 5 pt) until it fits the label.
boldNoBold first line (e.g. the name).
fontNosans
modeNolist = blocks separated by a blank line; csv = rows + template; same = one text repeated.list
pathNoOr: a text/CSV file path to read it from.
textNoThe labels text (list blocks, CSV/TSV, or the single text).
alignNocenter
countNosame: how many labels.
borderNoDraw a thin rounded border around each label.
copiesNolist/csv: copies of each label.
customNopreset "custom": paper, cols, rows, w, h, top, left, gx, gy (mm).
headerNocsv: the first row holds column names.
outputNoWhere to write the result: a file path, or a folder ending in "/". Default: the server output folder (a temp folder unless --out-dir is set).
presetNoSheet: a4-21 (63.5×38.1), a4-24 (63.5×33.9), a4-14 (99.1×38.1), a4-40 (45.7×25.4), a4-65 (38.1×21.2), lt-30 (2⅝×1 in), lt-10 (4×2 in), lt-80 (1¾×½ in), or custom.a4-21
valignNomiddle
offsetXNoPrinter nudge right (mm, negative = left).
offsetYNoPrinter nudge down (mm, negative = up).
paddingNoInner padding in mm.
startAtNoStart at this label position on the first sheet (skips used labels).
fontSizeNoFont size in pt (default 11).
templateNocsv: template with {Column name} or {1}-style placeholders (empty = all columns, one per line).
returnBase64NoAlso return the output as base64 in the result (only for small files). Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/closed-world, so the bar is lower, and the description still adds real behavioral context: hard cap of 3000 labels, Latin text only, shrink-to-fit stepping down to 5 pt, printer offset nudges in mm, and the practical instruction to print at 100% / actual size. It omits what the call actually produces (a written PDF file and its path) and any note about multi-sheet output.

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 most decision-relevant information (what it prints, mode semantics, limits) is front-loaded, and there is no filler. It is a single dense run-on paragraph with slash-and-parenthesis packing, which is efficient but slightly harder to scan than a short bulleted form.

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 22-parameter, zero-required-parameter generator with no output schema, the description covers geometry, text input modes, typography, and limits well. The remaining gap is the return contract: it never states that the result is a PDF file path (or base64 when returnBase64 is set), which the agent needs to chain further processing steps.

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 already 86%, so the baseline is 3; the description nonetheless adds value beyond the schema by mapping presets to real stationery codes (L7160, L7159, L7163, L7654, L7651, 5160/5163/5167) and giving a concrete template example "{Name}\n{Street}\n{City} {Postcode}". It does not clarify interplay between "count" (same mode) and "copies" (list/csv), which is the one genuinely ambiguous pair.

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 and resource ("Print address or product labels on standard sticker sheets as PDF") and then enumerates the exact sheet families and modes, so an agent knows precisely what artifact it gets. No sibling tool in the list produces label sheets, and the tool name/title are fully substantiated rather than restated.

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?

Usage is expressed at the mode level: "list" (one label per block, blank line between), "csv" (rows into a template, header or {1} style), "same" (one text × count), plus a note to start at a later position to reuse a part-used sheet. What is missing is an explicit statement of when not to use it (e.g. vs. doc_business_cards or doc_invoice) or prerequisites such as the Latin-only constraint being called out as a blocker rather than a footnote.

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