Skip to main content
Glama

elevai Commerce Demo

Bestellstatus abfragen

get_order_status
Read-onlyIdempotent

Zeigt den aktuellen Stand einer Bestellung. In dieser Demo ist "reserviert" (on-hold) der Endzustand: der Betrag wird nie eingezogen und die Reservation faellt nach Ablauf ihrer Frist weg. Verlangt das Handle aus create_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": {
      "order_handle": "<order_handle>"
    },
    "name": "get_order_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_handleYes

Output Schema

NameRequiredDescriptionDefault
totalNo
statusYes
createdNo
is_paidYes
currencyNo
failed_txNo
order_handleNo
payment_failedNoLetzte Zahlung abgebrochen, Bestellung noch offen: erneut create_payment_link, keine neue Bestellung.
cancelled_on_requestNo
reservation_releasedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / failed_tx
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / payment_failed
      Added value: +{
      +  "description": "Letzte Zahlung abgebrochen, Bestellung noch offen: erneut create_payment_link, keine neue Bestellung.",
      +  "type": "boolean"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / cancelled_on_request
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / reservation_released
      Added value: +{
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, yet the description adds non-obvious domain semantics: 'reserviert' (on-hold) is the terminal state, the amount is never charged, and the reservation lapses after its deadline. That is real behavioral context an agent could not derive from the annotations. It stops short of describing what the returned status values look like beyond the terminal case.

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?

Three short sentences, front-loaded with the purpose followed by the demo-specific terminal-state caveat and the prerequisite. No filler; each sentence contributes information.

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?

An output schema exists, so return values need no explanation, and the description covers the key semantic caveat plus the prerequisite. For a one-parameter read tool this is close to complete, with only handle format left implicit.

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 0%, so the description must compensate; it does partially by identifying the parameter's origin ('Handle aus create_order'). It does not state the handle's format or whether it is opaque, leaving some ambiguity for the single required parameter.

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 ('Zeigt den aktuellen Stand einer Bestellung'), so an agent knows this is a single-order status read. It does not explicitly contrast with list_orders, but the singular 'einer Bestellung' implies one order versus many.

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?

It gives a clear prerequisite — the handle must come from create_order — which tells the agent when this tool becomes usable. It offers no explicit exclusions or named alternatives for retrieving order state, so guidance is implied rather than complete.

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