Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

list_orders

Read-only

Retrieve order headers, newest first, defaulting to today's orders; filter by status, channel, date range, or table to review restaurant sales activity.

Instructions

Order headers (no line items), newest first. Defaults to today's orders.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
statusNo
channelNo
date_toNoLocal date, YYYY-MM-DD. Default: today.
table_idNo
date_fromNoLocal date, YYYY-MM-DD. Default: today.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description's added value is in disclosing result shape (headers only), sort order (newest first), and the implicit date filter default. It does not mention the result cap implied by the limit parameter, but overall it goes meaningfully beyond the annotations.

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 with the most decision-relevant fact (headers, not line items) front-loaded, and no filler. Nothing can be trimmed without losing 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?

With an output schema covering return values and read-only annotations covering safety, the description supplies the missing behavioral facts (field scope, ordering, default date window). The main residual gap is guidance on the status/channel/table_id filters exercised by an agent.

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 coverage is 33%: only date_from/date_to carry schema descriptions, and the description merely restates their default (today). The limit, status, channel, and table_id parameters get no explanation of meaning, allowed values, or interaction, so the description does not 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?

The description names the resource and the exact shape returned ("Order headers (no line items)") plus the ordering ("newest first"), which lets an agent distinguish this from get_order. It stops short of naming the sibling that provides full details, so differentiation is implied rather than explicit.

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?

"Defaults to today's orders" tells the agent the behavior when no dates are supplied, and the "no line items" note hints at when to reach for a detail tool instead. There is no explicit when-to-use or when-not guidance and no alternative tool is named.

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