Skip to main content
Glama

Confita

Get one order

get_order
Read-onlyIdempotent

For shop owners: one order in full: lines, pickup or delivery, totals, what is still owed, payments and refunds, messages sent, history and its review. actions says what can be done with it now, and revision is what a change to it takes. What the customer wrote comes back under untrusted.

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": {
      "order": "<order>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderYesThe order by its number ("1042" or "#1042") or id (ord_...).

Output Schema

NameRequiredDescriptionDefault
idNo
dueNo
nextNo
errorNo
itemsNo
quoteNo
totalNo
numberNo
reviewNo
statusNo
actionsNo
channelNo
depositNo
historyNo
missingNo
outcomeNo
receiptNo
customerNo
discountNo
messagesNo
paymentsNo
revisionNo
subtotalNo
timezoneNo
untrustedNo
adjustmentNo
due_amountNo
fulfilmentNo
customer_idNo
seller_noteNo
delivery_feeNo
payment_statusNo
review_invited_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint=false), so the bar is lower. The description still adds real value beyond them: it discloses that the response carries an `actions` list describing permitted next operations and a `revision` value needed for a subsequent change (optimistic concurrency), and it flags customer-authored text as `untrusted`, which is security-relevant context an agent cannot get from annotations.

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-loaded with audience and scope, then the payload inventory, then the three response landmarks. Dense and largely telegraphic; the sentence about `actions`/`revision` is compressed enough that it reads awkwardly, but no sentence is filler.

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?

With an output schema present the description need not restate return values, yet it usefully orientates the agent to three fields that drive follow-up calls (`actions`, `revision`, `untrusted`). Missing are failure modes — what happens when the order number does not exist or belongs to another shop.

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?

The single `order` parameter is already documented at 100% schema coverage, including both accepted formats ('1042'/'#1042' or ord_...). The description adds no format, resolution, or error semantics beyond the schema, so the baseline of 3 applies.

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 retrieval ('one order in full') and enumerates the payload domains — lines, fulfilment mode, totals, balance owed, payments/refunds, messages, history and review. 'One order in full' contrasts implicitly with the list-oriented siblings such as find_orders and get_my_orders.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The audience constraint ('For shop owners') is stated, which scopes who should call it. However, there is no explicit when-to-use / when-not-to-use guidance and no pointer to find_orders or find_customers as alternatives for lookup-by-criteria versus lookup-by-identifier.

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