Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

create_order

Opens a new restaurant order for dine-in, takeaway, or delivery. For dine-in, use a table without an open order; add items to an existing order instead.

Instructions

Open a new order. Dine-in needs a table without an open order.

If the table already has an open order, use add_items_to_order instead.

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

Input Schema

NameRequiredDescriptionDefault
itemsYes
channelNodine_in
table_idNoRequired for dine_in.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already establish that this is a non-read-only, non-destructive, closed-world mutation. The only behavioral fact the description adds is the precondition that the table must not have an open order; it does not say what happens on failure, whether the order stays open awaiting payment, or whether duplicate calls create duplicate orders.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with purpose and followed immediately by the routing rule, with zero redundant phrasing.

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?

An output schema exists, so return values need no explanation, and the precondition is covered. However, for a creation tool with three parameters at low schema coverage and no annotations about ordering rules, the description omits what an items payload must contain and how channels differ.

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 only 33%, and the description does not explain the items array (required, built from menu_item_id and modifier_ids) or the meaning of channel values. It does clarify why table_id matters for dine_in, which is genuine added meaning, but it does not compensate for the undocumented top-level parameters.

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?

The description opens with a specific verb and resource ("Open a new order") and adds a scope constraint for dine-in. It distinguishes itself from add_items_to_order only for the already-open-table case, leaving the general create-vs-add boundary implicit.

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?

The description gives one explicit when/when-not pair: dine-in requires a free table, and if the table already has an open order use add_items_to_order instead. It stays silent on takeaway and delivery channels and on prerequisites such as resolving menu_item_id via search_menu before calling.

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