Skip to main content
Glama

Create an order

trackpod_create_order
Destructive

Create ONE REAL unscheduled order in Track-POD (POST /Order): a delivery or a collection for a client at an address, ready to be planned into a route by a dispatcher. It does not create or optimise routes. Depending on the account's notification settings the customer may later receive SMS/e-mail updates about it. Confirm the details with the user first. Address and client are required; Track-POD geocodes the address unless you pass address_lat/address_lon.

Input Schema

NameRequiredDescriptionDefault
codNoCash-on-delivery amount to collect.
dateNoOrder date, YYYY-MM-DD.
noteNoNote for the driver.
typeNodelivery (default) or collection.
depotNoDepot address (else the account's default depot).
emailNoCustomer e-mail.
goodsNoGoods lines (max 100).
phoneNoCustomer contact phone.
clientYesClient/customer name.
numberYesThe order number (your Order/Invoice/Job/Waybill number) — used later to look the order up, so no slash or backslash.
volumeNoTotal volume.
weightNoTotal weight.
addressYesDelivery (or pickup) address, e.g. '2 St Josephs Crescent, Liverpool L3 3JF'.
barcodeNoBarcode the driver scans.
palletsNoPallet count.
shipperNoShipper/supplier name.
order_idNoYour accounting-system id for the order.
priorityNoOrder priority.
address_latNoAddress latitude (pass with address_lon to skip geocoding).
address_lonNoAddress longitude.
address_zoneNoAddress zone.
contact_nameNoCustomer contact name.
time_slot_toNoDesired delivery/pickup window end, local 24-hour time HH:mm.
time_slot_fromNoDesired delivery/pickup window start, local 24-hour time HH:mm.
service_time_minutesNoService time at the stop, minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, non-idempotent, open-world behaviour, so the description only needs to add side-effect detail. It does: the customer may later receive SMS/e-mail updates depending on account notification settings, and the server geocodes the address unless address_lat/address_lon are supplied. It does not address duplication/idempotency of the same order number, which is the one meaningful remaining unknown.

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?

Four sentences, purpose and scope front-loaded before side effects and the confirmation instruction. Each sentence carries distinct information, though the closing restatement of address/client being required duplicates the schema's required array.

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 25-parameter mutation tool with rich annotations, the description covers scope, side effects, and the confirmation workflow well. Because there is no output schema, it could usefully say what comes back (e.g. an order id) and whether resubmitting the same order number creates a duplicate, but the critical calling information is present.

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 100%, so baseline is 3; every one of the 25 fields, including the goods line object, is already documented in the schema. The description adds only two things beyond it: which fields are required (already in the schema's required list) and the geocode-skip behaviour of address_lat/address_lon (already stated on those properties). Marginal added value.

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 ('Create ONE REAL unscheduled order in Track-POD') with the backing endpoint (POST /Order), and explicitly delimits scope by saying it does not create or optimise routes. An agent can distinguish this from route tools and all read-only siblings 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 an actionable precondition ('Confirm the details with the user first') and situational framing ('ready to be planned into a route by a dispatcher'). No alternative tool is named, but there is no sibling create tool to route against, so the omission is minor.

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.