Skip to main content
Glama

Print a design the user already has

print_design

Print a finished design that already exists: a file or image the user has, or HTML the user asked to have drawn in this chat and approved. It is not where a new design starts: when the user asks for a menu, flyer, poster, postcard, brochure, invitation or business card and has no design, show_templates returns ready-made templates and open_template opens the one they pick with their details on it. It prints a flat, single-sided piece. Send exactly one of design_html (the design as a complete HTML document) or image_url (a public link to an image); a call with neither is refused. Give the finished size with width_in and height_in, each from 1 to 60 inches. The design is printed edge to edge at exactly that size: no bleed or margin is added, so author it at the true print size and keep text away from the edges. Only the first page is printed, and anything that does not fit on it is left off. An image is fitted inside the size without stretching or cropping, and any space left over stays white. If the size is left out, an image is sized from its pixels at 300 per inch and HTML is sized from how it lays out in a desktop browser window (at least 13.3 x 7.5 in), so always give the size for HTML. It is priced by printed area. The result states the size it will print at, the price per print at that size, a link to a preview image and one order link; on the order page the user picks a quantity and shipping, sees the final amount and pays as a guest (no account). Nothing is printed until they pay: after they say they have, call check_order to confirm. For business cards made from a person's name and contact details use create_business_card instead, which also prints both sides.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "print_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoA short name for the order, shown on the order page, e.g. 'Baby shower invite'.
channelNoWhere the request comes from, e.g. 'claude', 'chatgpt', 'cursor'. Defaults to 'claude'.
width_inNoFinished width in inches, 1 to 60. Give it together with height_in. A value outside the range is moved to the nearest limit and the result says so.
height_inNoFinished height in inches, 1 to 60. Give it together with width_in.
image_urlNoPublic web address of the image to print (PNG, JPG, WebP or SVG), when there is no HTML.
design_htmlNoThe design as one complete HTML document, with its styles inside it. Send this or image_url, not both. Fonts and images it links to must be public web addresses; they are loaded when the proof is made. Up to about 10 MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The annotations only declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false; the description goes far beyond them by disclosing pricing by printed area, edge-to-edge printing with no bleed, first-page-only truncation, image fit-without-crop with white fill, size defaults for both input modes, and the exact return contents (size, unit price, preview link, order link). Critically it states nothing is printed until the user pays, which changes how an agent should treat the call.

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?

It is long (~330 words) but organized in a sensible progression: purpose, routing, input constraints, print behavior, defaults, pricing/output/payment, sibling redirect. Almost every sentence carries distinct operational information, though the sizing discussion is slightly repetitive across two sentences and could be tightened.

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

Completeness5/5

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

For a paid, non-idempotent print submission with no output schema and zero required parameters, the definition covers what is needed to call it correctly: input exclusivity, size semantics, defaulting behavior, what gets printed and what gets truncated, and what the caller must do after payment. Nothing an agent needs to avoid a bad call is missing.

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 the schema already explains title, channel, width_in, height_in, image_url and design_html. The description still adds real meaning on top: the either/or constraint ("Send exactly one of design_html or image_url; a call with neither is refused") and the strong advisory "always give the size for HTML" because the 13.3 x 7.5 in fallback is arbitrary. It stops short of explaining `channel` or `title`, which are left to the schema.

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?

"Print a finished design that already exists" gives a specific verb and resource, and the description immediately narrows scope with "a file or image the user has, or HTML the user asked to have drawn in this chat and approved." It explicitly contrasts with show_templates, open_template and create_business_card, so an agent can distinguish it from every relevant sibling without opening a schema.

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?

It states both when to use it and when not to: no-design requests for menus/flyers/posters route to show_templates then open_template, and business cards from contact details route to create_business_card. It also prescribes the follow-up step ("after they say they have [paid], call check_order to confirm"), which is exactly the kind of routing guidance an agent needs.

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