Skip to main content
Glama

Get order

get_order
Read-onlyIdempotent

Get an order by id; requires order_token from complete_checkout. While a bank transfer order is on hold, the result repeats de.glasstopfen.payment_instructions (bank details, amount, payment reference).

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

Input Schema

NameRequiredDescriptionDefault
idYesResource id.
metaNoUCP request metadata: {"ucp-agent": {"profile": "<platform profile URL>"}, "idempotency-key": "<uuid>"}.
order_tokenYesOrder token returned by complete_checkout.

Output Schema

NameRequiredDescriptionDefault
ucpYes

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 establish read-only, idempotent, non-destructive, closed-world behavior, so the description's job is to add beyond that — and it does, disclosing that a bank-transfer order on hold causes payment_instructions (bank details, amount, reference) to be repeated in the result. That is a non-obvious response quirk an agent would otherwise misread as stale data. It stops short of covering error/expiry behavior for invalid tokens.

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?

Purpose is front-loaded in the first clause, with the precondition and the bank-transfer caveat following in order of importance. Two clauses, no filler, though the token provenance slightly duplicates the schema.

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 a full output schema and rich annotations, the remaining burden is behavioral quirks, and the significant one (payment_instructions repetition during a hold) is covered. Minor gaps remain around failure modes for an invalid or expired order_token and whether the order must belong to the calling agent.

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 coverage is 100%, so id, order_token, and meta are already documented in the schema, and the description's note that the token comes from complete_checkout largely restates the schema text. Baseline 3 is appropriate; nothing new about parameter format or constraints is added.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get an order by id') and ties it to the order resource rather than cart or checkout, which separates it from siblings like get_checkout and get_cart. It does not explicitly contrast itself with those siblings, so it falls short of a 5.

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 a concrete precondition: the caller must have an order_token produced by complete_checkout, which effectively tells the agent this is a post-checkout call. No exclusion or 'use X instead' guidance is offered for overlapping read tools such as get_checkout.

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