Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

set_table_status

Mark a table without an open order as free or reserved to update restaurant seating status.

Instructions

Mark a table without an open order as free or reserved.

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": {
      "table_id": "<table_id>",
      "status": "<status>"
    },
    "name": "set_table_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes
table_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this a non-read-only, non-destructive, closed-world write, so the safety profile is covered. The description adds the useful precondition that the table must lack an open order, but says nothing about what happens on rejection, whether the call is idempotent, or what permissions are needed.

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?

One tight sentence with no filler, and the key constraint (no open order) appears before the action's allowed values. Nothing is wasted or buried.

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 not be described, and annotations cover the mutation's safety profile. Still, for a state-changing tool the description omits failure modes and the relationship to open orders beyond the bare precondition, leaving an agent to guess at edge cases.

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%, so the description carries the burden, yet it only restates the enum values ('free or reserved') already present in the schema and says nothing about table_id or the meaning of a status change. For a 2-parameter tool this leaves both parameters semantically bare.

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 gives a specific verb ('Mark') and resource ('a table ... as free or reserved') plus the allowed target states, which is enough to distinguish it from the order-oriented siblings. It stops short of naming any sibling or otherwise pinning down its place in the table lifecycle.

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?

The precondition 'without an open order' is a genuine when-to-use constraint that is stated up front. However, it gives no guidance on the complementary case — what to do if the table does have an open order (e.g. cancel or pay the order first) — and names no alternative tool.

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