Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

get_order

Read-only

Retrieve a single restaurant order by ID with line items, options, notes, void status, and payments for reviewing or acting on POS orders.

Instructions

One order with its line items (ids, options, notes, void status) and payments.

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_id": "<order_id>"
    },
    "name": "get_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
order_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the useful detail that void status and payments are surfaced alongside line items, but says nothing about behavior on a missing or invalid order id, and much of the return detail duplicates the output schema.

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?

A single front-loaded sentence with no filler, and the parenthetical enumeration of line-item fields is efficient. It is arguably too terse rather than padded, so conciseness itself is not the problem.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-record read tool with annotations and an output schema, the description covers the essentials of what comes back. However, with an output schema present it spends its only sentence restating return contents while omitting the parameter meaning and any usage routing, so it is adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter carries only a title, 'Order Id'. The description does not mention order_id at all, nor clarify whether it is an internal id versus a display number, or what happens when it does not resolve, so it fails to compensate for the coverage gap.

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 resource and scope: a single order plus its line items and payments. The singular "One order" implicitly contrasts with the sibling list_orders, so an agent can distinguish detail-fetch from listing without opening a schema, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

The description never says when to use this tool, what prerequisites exist (a known order_id), or how it relates to alternatives such as list_orders or search_menu. It reads as a return-value summary rather than usage guidance, leaving the agent to infer the retrieval scenario.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.