Skip to main content
Glama

Place an order

place_order
DestructiveIdempotent

Order a priced part. This spends the account holder's money: show them the total from get_price first, unless they already asked for this exact purchase. Pass the total they saw as max_total_pence; if the price is now higher, nothing is ordered and you get the new price. It is paid with the saved card if the holder allows that and the order is within their limits; otherwise the answer is awaiting_payment with a pay_url to give the person. Use a new idempotency_key for each new order and the same one to retry.

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": {
      "quote_id": "<quote_id>",
      "material": "<material>",
      "quantity": "<quantity>",
      "turnaround": "<turnaround>",
      "finish": "<finish>",
      "delivery_service": "<delivery_service>",
      "max_total_pence": "<max_total_pence>",
      "confirm_rights_and_terms": "<confirm_rights_and_terms>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoAnything we should know about the part.
finishYesas_printed, cleaned or finished.
coloursNoColour ids from get_options for this material. The first is free; each extra colour adds the price get_options shows. Leave out for no preference (one colour).
paymentNoauto (default): the saved card when allowed, else a pay link. pay_link: always a pay link.
materialYes
quantityYes
quote_idYesFrom create_upload or list_quotes.
turnaroundYestoday, tomorrow or standard (2-3 working days). get_options says which are open now.
idempotency_keyYesNew for each new order; the same one to retry this order.
max_total_penceYesThe total, in pence, that the person was shown and agreed to.
delivery_serviceYes
accept_turnaroundNoWhen an earlier answer said needs_confirmation: the turnaround the person accepted.
confirm_rights_and_termsYestrue only if the account holder has the right to print this file and accepts the terms at https://3dnow.uk/terms.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / colours
      Added value: +{
      +  "description": "Colour ids from get_options for this material. The first is free; each extra colour adds the price get_options shows. Leave out for no preference (one colour).",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 4,
      +  "type": "array"
      +}
    • changedInput schema / properties / material / enum
      Previous value: -[
      -  "PLA",
      -  "PETG",
      -  "ASA"
      -]New value: +[
      +  "PLA",
      +  "PETG",
      +  "ASA",
      +  "ABS",
      +  "TPU",
      +  "PC"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructive/openWorld/idempotent/not-readOnly; the description adds the substantive behavior: money is spent, the max_total_pence acts as a price-ceiling guard where a higher price aborts the order and returns the new price, payment may instead fall back to awaiting_payment with a pay_url, and idempotency keys must be fresh per order but reused on retry. That is well beyond what the annotations convey and is consistent with destructiveHint=true.

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?

Four tight sentences, front-loaded with the consequence of calling it (spending money) before the mechanics. No filler, no restatement of the title, and each sentence carries a distinct operational rule.

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 13-parameter, 9-required mutation with no output schema, the description covers the dangerous paths and the failure responses (new price, awaiting_payment/pay_url) that an agent most needs. It stops short of describing the success response shape, which would be the remaining gap given the absence of an output schema.

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?

With 77% schema coverage the baseline is 3, and the description earns above that by explaining the two most consequential parameters: max_total_pence is 'the total they saw' (a guard, not a budget), and idempotency_key has a new-per-order/same-on-retry protocol. The rights-and-terms confirmation is only obliquely implied rather than spelled out, so it is not a full 5.

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 opening sentence 'Order a priced part' gives a specific verb and resource, and the rest of the description immediately establishes the transactional scope (it spends the account holder's money) and the prerequisite sibling tool get_price. An agent can distinguish this from get_price, get_order, and cancel_order without opening any 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?

Explicit when-to-use and when-not conditions: show the total from get_price first 'unless they already asked for this exact purchase'. It also routes conditional outcomes (saved card vs. awaiting_payment + pay_url) and gives a retry rule for idempotency_key, so the agent knows exactly which path to take.

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