Skip to main content
Glama

Create an unpaid order

create_order

Places an unpaid order for the customer from the same arguments as get_quote plus their name, email and E.164 phone. The response carries signed links: pay_url is our payment page (card, PayPal, Google Pay, Apple Pay) to give the customer, status_url shows the order and collects any missing documents. Links last 48 hours. A customer whose email already has an account receives the links by email instead, and the response says so: tell them to check their inbox. Documents can be sent first with send_document, or uploaded by the customer at the status_url after paying when you create the order from a page count. Pass idempotency_key so a retry never places a second order.

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": {
      "source_language": "<source_language>",
      "target_language": "<target_language>",
      "name": "<name>",
      "email": "<email>",
      "phone": "<phone>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe customer's full name
emailYesThe customer's email address
notesNoAnything the translator should know: names to keep, the purpose, formatting wishes.
phoneYesThe customer's phone number in E.164 format, e.g. +14155552671
speedNostandard, next_day (+25%) or same_day (+100%)
currencyNoThe currency to quote in; each is its own price sheet. Defaults to GBP.
quantityNoPages to translate (a page is up to 250 words). With file_tokens the documents are measured instead, and a quantity can only raise the measured count. A quote without either prices one page and says so in quantity_assumed; create_order needs a quantity or file_tokens.
file_tokensNoTokens from send_document for the documents to translate.
certificationNoOmit for standard; the response lists every option the pair offers with its total.
country_of_useNoISO 3166-1 alpha-2 code of the country the translation is for, e.g. ES for a sworn translation for Spain.
idempotency_keyNoYour own unique key for this order attempt; a retry with the same key within a day returns the order already placed instead of a second one.
source_languageYesSource language code from list_languages, e.g. en-gb
target_languageYesTarget language code from list_languages, e.g. es
customer_countryNoISO 3166-1 alpha-2 code of the customer's country. Outside GB no VAT is charged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / quantity / description
      Previous value: -"Pages to translate (a page is up to 250 words). Optional when file_tokens are given: the documents are measured instead, and a quantity can only raise the measured count."New value: +"Pages to translate (a page is up to 250 words). With file_tokens the documents are measured instead, and a quantity can only raise the measured count. A quote without either prices one page and says so in quantity_assumed; create_order needs a quantity or file_tokens."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=true) by explaining that the order is unpaid, that the response carries signed pay_url and status_url links, that links expire after 48 hours, and that customers with an existing account get the links by email with the response indicating it. Those are exactly the behavioral facts an agent needs to relay to a customer and none are derivable from structured fields.

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?

A single dense paragraph that front-loads the action, then the response shape, then the email-account edge case, then the idempotency rule. Every sentence carries operational information; nothing is restated from the title or annotations.

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?

With 14 parameters and no output schema, the description still covers the essential return surface (pay_url, status_url, 48-hour expiry, email-vs-response delivery) and the document workflow. Nothing critical to calling or explaining the tool is missing.

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%, so the baseline is 3, but the description adds cross-tool meaning by tying most arguments to get_quote and calling out E.164 for phone and the quantity-or-file_tokens requirement implicit in the page-count flow. It does not add format detail beyond the schema for enums such as certification or speed, so it sits just above baseline.

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?

Opens with a specific verb and resource ('Places an unpaid order for the customer') and immediately positions it against the sibling by saying the arguments come from get_quote plus name, email and E.164 phone. An agent can distinguish this from get_quote and get_order_status 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear ordering guidance: documents may be sent first with send_document, or uploaded by the customer at status_url after paying, and it prescribes passing idempotency_key so retries never double-place. It does not explicitly say to price with get_quote first or mention recover_order_links/get_order_status as follow-ups, so routing for those cases is left to inference.

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