Skip to main content
Glama

Check print generation

get_custom_print_status
Read-onlyIdempotent

Poll a custom print started by generate_custom_print. status 'done' and 'failed' are final; anything else means still working — poll about every 30 seconds (generation takes 2–10 min) and don't start another generation meanwhile, since an account runs one at a time. When done it returns preview_url (the raw image: embed or attach it so the human sees the print) and design_url (the design in the designer — the page to share); then offer add_custom_to_cart with the same print_id. 'failed' carries the reason, and its credits are refunded automatically. Read-only — polling costs nothing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "print_id": "<print_id>"
    },
    "name": "get_custom_print_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
print_idYesGeneration id returned by generate_custom_print; the same id goes to add_custom_to_cart.

Output Schema

NameRequiredDescriptionDefault
noteNo
errorNoGeneration failure reason (credits are refunded).
detailNo
statusNoGeneration state; 'done' and 'failed' are terminal.
print_idNo
design_urlNoThe design's page in the designer (when done) — the link to SHARE with the human.
preview_urlNoRaw print image (when done) — embed/attach it so the human sees the print in chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive, but the description adds substantial context beyond them: expected 2–10 minute duration, one-generation-per-account constraint, finality of 'done'/'failed', automatic credit refund on failure, that polling costs nothing, and what fields come back and how to use them. That is exactly the operational detail an agent needs.

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?

Front-loaded with the poll action and finality rule, then follow-up guidance; nearly every clause carries operational value. It is a dense single paragraph with several parentheticals, which is slightly harder to scan than a short bulleted structure, but nothing is wasted.

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?

Given a single-parameter polling tool with an output schema present, the description covers timing, concurrency constraints, failure semantics, credit refunds, and next-step routing — more than enough for an agent to call it correctly without further context.

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% and already defines print_id, so the baseline is 3; the description goes further by tying the id back to generate_custom_print and forward to add_custom_to_cart, establishing that the same value is reused across the workflow. Little else is needed for a single required parameter.

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?

States a specific action and resource: poll the status of a custom print created by generate_custom_print. The final states ('done'/'failed') and the in-progress condition make the purpose unambiguous and distinguishable from generate_custom_print and add_custom_to_cart, which are named explicitly.

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 says when to call (poll ~every 30s), what not to do meanwhile (don't start another generation because an account runs one at a time), and what to do next (offer add_custom_to_cart with the same print_id). This is a full when/when-not/next-step chain.

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