Skip to main content
Glama

Update a draft order

printful_update_draft_order
Destructive

Change a DRAFT order (unsubmitted orders only) — send only the fields to change. CAUTION: if you send items, it replaces the list: existing items not included (by id or external_id) are removed. The order stays a draft; nothing is charged. Printful: PUT /orders/{id} (never with confirm).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
giftNo
itemsNoFull replacement item list (see caution).
order_idYesNumeric Printful order id, or External ID prefixed with @.
shippingNoNew shipping method id.
store_idNoStore id (numeric) for an ACCOUNT-level token; overrides PRINTFUL_STORE_ID. Not needed with a store-level token.
recipientNoNew ship-to address fields.
external_idNoNew external id.
packing_slipNo
retail_costsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations alone only declare destructiveHint=true; the description adds the critical behavioral detail an agent needs — that sending `items` replaces the entire list and drops omitted items not matched by id or external_id. It also clarifies the order remains a draft and nothing is charged, which is exactly the kind of destructive-scope disclosure required.

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 tight clauses: what it does, the destructive caveat, and the safety note, with the most dangerous fact (items replacement) front and center. No redundant restatement of the title or schema.

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 nested, 9-parameter destructive mutation with no output schema, the description covers the highest-risk gotcha and the draft-only constraint. It could say a bit more about merge semantics for other objects (recipient, packing_slip) or required fields, but the essential caveats are present.

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 67% (above the 50% baseline of 3), and the description adds meaning beyond the schema by explaining patch semantics and the replace-vs-merge behavior of the `items` array keyed on id/external_id. It does not cover every nested field, so it is a solid addition rather than exhaustive.

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 verb (Change/Update) on a precisely scoped resource: a DRAFT order, explicitly 'unsubmitted orders only'. This cleanly distinguishes it from siblings like printful_create_draft_order and printful_get_order without requiring the schema to be opened.

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 clear patch-style usage guidance ('send only the fields to change') and a hard constraint (draft orders only, never with confirm). It does not explicitly name alternative tools or when-not to use this over a submit/confirm flow, so it stops short of the top band.

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.