Skip to main content
Glama

Tryckfritt

Prepare order request

request_order

Prepare an order request for the designed garment with sizes and quantities. designs lists every print on the garment (1–8), one {artwork_id, version} per print, all on the same product and colour; the same artwork_id cannot appear twice (use copy_artwork). Every garment in the order gets all the prints. Contact and delivery details are optional: pass what you know, and the user fills in or corrects the rest on the confirm_url page before sending. No payment; Tryckfritt confirms price and delivery by email afterwards.

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": {
      "workspace": "<workspace>",
      "designs": "<designs>",
      "sizes": "<sizes>"
    },
    "name": "request_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
sizesYese.g. {"M": 2, "L": 1}
contactNoOptional, every field optional. The user completes it on the confirm page.
designsYes
workspaceYesWorkspace id (ws_…) returned by upload_artwork or create_upload_link.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: all prints must be on the same product and colour, every garment receives all prints, 1–8 prints max, no payment is taken, and price/delivery are confirmed by email afterwards. The gap is idempotency: with idempotentHint=false, a repeat call creates a second request, and the description never warns about that or about what happens to an abandoned draft.

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-loads the core action, then layers constraints and the optionality of contact details in a logical order. The parenthetical and semicolon-heavy sentences are dense but each carries a distinct constraint, so little is wasted.

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?

Given five parameters, a nested designs object, no output schema, and a create-style mutation, the description covers the essentials an agent needs, including the confirm_url handoff that substitutes for a documented return value. The missing piece is failure/idempotency behavior for repeat submissions.

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?

Adds meaning the schema cannot express: designs is one {artwork_id, version} per print, capped at 8, all sharing the same product and colour, with artwork_id uniqueness enforced. It also frames contact as fully optional and user-completed later, and ties sizes to quantities per garment. The notes parameter is left unexplained, which slightly weakens coverage.

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 and resource ('Prepare an order request') plus scope ('with sizes and quantities'), and distinguishes itself from the sibling copy_artwork by pointing at it for duplicate artwork. The closing sentence clarifies it does not charge payment and only queues an email confirmation, so an agent knows it is not the final ordering step.

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 concrete conditional guidance: use copy_artwork when the same artwork_id would appear twice, and pass only whatever contact/delivery details are known because the user completes them on the confirm_url page. It does not say when to prefer price_quote or order_status instead, so the routing to other siblings is implied rather than stated.

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