Skip to main content
Glama

create_order

Create a print order for a validated upload. Validates everything BEFORE any payment link is minted. Returns { order, order_token } — the order object has order_id, status, amount, and payment_url (the Razorpay link, present while awaiting_payment). Give payment_url to the human to pay (UPI/cards/netbanking). SAVE order_token — it is shown only once and is required for get_order and cancel_order. The order confirms automatically after payment; unpaid orders expire after 72 hours.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesBuyer email; receives the Razorpay payment notification.
copiesNo
formatYespaperback/hardcover: bound storybook (20-60 page PDF). sticker-a3: single-sheet A3 portrait sticker / wall chart (exactly 1 page, 842×1191 pt). greeting-card-a5: folded A5 greeting card, one A4-landscape sheet printed duplex (exactly 2 pages, 859×612 pt incl. 3 mm bleed).
addressYesIndia shipping address (V1 ships within India only).
upload_idYesupload_id of a PDF that passed validation.

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses important behaviors: validation occurs before payment link creation, order_token is shown once, orders auto-confirm after payment, and unpaid orders expire in 72 hours. It lacks failure mode details but is substantially transparent.

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?

The description is concise and well-structured, with two sentences that pack essential details: purpose, validation flow, return shape, token handling, and expiry. Every sentence earns its place with no redundancy.

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?

The tool has a nested address object, no output schema, and five params, so the description needs to explain return values and usage flow. It does so thoroughly, covering the order object fields, payment_url usage, token persistence requirement, auto-confirmation, and 72-hour expiry. Minor omission: nothing about error cases or cancellation behavior beyond token requirement.

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

Parameters3/5

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

Schema description coverage is 80%, so the schema handles most parameter documentation. The tool description adds a bit by emphasizing the upload must be validated and referencing the payment_url output, but it does not compensate for the undocumented 'copies' param or add deeper field semantics beyond 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?

The description clearly states the tool's verb ('Create'), resource ('print order'), and specific precondition ('validated upload'), distinguishing it from sibling tools like create_upload and validate_pdf. It also outlines the scope by mentioning the validation step before payment link generation.

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?

It implies use after validation by saying 'for a validated upload' and explains next steps (giving payment_url, saving order_token). It references sibling tools get_order and cancel_order for token usage, but does not explicitly state exclusions or when to use this tool over alternatives.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: upload, validate, create order, get order, cancel order, list catalog, and enterprise application. There is no overlap between any two tools, making misselection highly unlikely.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_upload, cancel_order, get_catalog). The verbs are descriptive and the resources are clear, creating a predictable and uniform naming convention.

Tool Count5/5

With 7 tools, the server is well-scoped for its purpose. It covers the complete print-order workflow without redundancy or excessive granularity, making the tool set easy to navigate.

Completeness5/5

The tool set covers the entire lifecycle from catalog browsing and upload validation through order creation, status tracking, and cancellation, plus enterprise account provisioning. There are no obvious missing operations that would hinder an agent in completing standard tasks.

Resources