Skip to main content
Glama
Restaurant MCP Server

Restaurant MCP Server

by serdarpolat

list_tables

Read-only

Retrieve restaurant tables with area, capacity, status, and open order ID, optionally filtered by status. Use it to check seating and occupancy before assigning or managing tables.

Instructions

Tables with area, capacity, status and the open order id (if occupied).

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_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/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 and the description adds no behavioral claim that contradicts it. However, the description's content is essentially the output field list, which the output schema already provides, so it contributes no extra context such as ordering, completeness, or whether the open order id goes stale.

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

Conciseness3/5

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

It is short and front-loaded, with no padding, but it is a bare noun phrase rather than a sentence with a verb, so brevity comes at the cost of specification. Every word relates to return fields that the output schema already documents.

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

Completeness2/5

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

The tool is simple and read-only with an output schema, so little is required, but the definition omits the only input parameter and any hint about what the caller can do with the result. An agent would likely call it correctly but would miss the filter option entirely.

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?

The single status parameter has 0% schema description coverage, so the description must carry the burden, yet it never mentions filtering at all. Its use of the word 'status' refers to a returned field rather than the input parameter, which risks the agent not realizing the enum filter exists.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment 'Tables with area, capacity, status and the open order id (if occupied)' implies a listing of tables and enumerates returned fields, but never states the verb or scope (all tables? one floor?). It reads as a return-value summary rather than a statement of what the tool does, and an agent must infer from the name alone that it is an unfiltered list.

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?

No when-to-use guidance is given: nothing says to call this before set_table_status or to pick a table for create_order, and nothing distinguishes it from the other read tools. The presence of a status filter parameter is not hinted at, so the agent cannot know when to narrow the list.

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