Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

add_items_to_order

Adds menu items, quantities, notes, and modifiers to an existing open restaurant order by order ID.

Instructions

Add items to an existing OPEN order (find it via list_tables.open_order_id).

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>",
      "items": "<items>"
    },
    "name": "add_items_to_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
order_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, so the safety profile is covered. The description adds the genuinely useful precondition that the target order must be OPEN, but says nothing about append-vs-replace semantics, partial-failure behavior for the item list, or what happens on a closed order.

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; the precondition comes before the lookup hint. The parenthetical 'list_tables.open_order_id' is slightly terse but not wasteful.

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?

Return values are covered by an output schema and mutation safety by annotations, so those gaps are acceptable. What remains missing is any description-level guidance on the items payload or on failure modes for a two-parameter mutation with nested line objects.

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 reported at 0%, so the description is expected to compensate for parameter meaning, and it does not — neither order_id nor the items array structure is explained in the description text. The nested schema does carry per-field notes (menu_item_id from search_menu, modifier_ids from get_menu_item, kitchen note), which keeps this from being a 1, but the description itself contributes nothing here.

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 ('Add items to an existing OPEN order'), and the OPEN qualifier narrows scope meaningfully versus a generic create/update. It does not explicitly contrast with create_order or void_order_item, so sibling differentiation is implied rather than stated.

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?

Provides a concrete prerequisite and routing hint: the order must already exist and be OPEN, and the id comes from list_tables.open_order_id. It stops short of naming exclusions (e.g., 'use create_order if no open order exists'), but the context needed to pick this tool is present.

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