Skip to main content
Glama

MenuNode

Join the walk-in waitlist

join_waitlist

Start a walk-in waitlist sign-up for a guest (only when get_waitlist_status says accepting_sign_ups_now). Requires the guest's name, party size (max 20) and email; phone and notes optional. This does NOT put them in line yet: a 6-digit code is emailed to the guest; ask them for it and call confirm_waitlist. If the code email cannot be sent the call fails with code_not_sent and nothing is saved: tell the guest to try again in a few minutes or call the restaurant. An address that cannot receive mail (a made-up or reserved domain) fails with invalid_email and nothing is saved: ask for a real one. Their place counts from that confirmation. Only do this at the guest's explicit request, with their own email. If you prefer, send them get_waitlist_status.join_url 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": {
      "restaurant_slug": "<restaurant_slug>",
      "customer_name": "<customer_name>",
      "party_size": "<party_size>",
      "customer_email": "<customer_email>"
    },
    "name": "join_waitlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoe.g. "high chair", "outside table" (max 200 characters)
branchNoLocation of a restaurant with several (get_restaurant_info.locations[].branch). Omit for the main location. Each location has its own line.
languageNoLanguage of the verification email and tracking page (default: the restaurant's language)
party_sizeYes
customer_nameYes
customer_emailYes
customer_phoneNo
restaurant_slugYes

Output Schema

NameRequiredDescriptionDefault
in_lineYesNot in line until confirm_waitlist verifies the code
messageYes
entry_idYes
verification_requiredYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Far exceeds the generic annotations: it discloses that the call is non-idempotent and two-phase ("does NOT put them in line yet"), that a 6-digit code is emailed and confirm_waitlist must follow, and that place in line counts only from confirmation. It also documents two specific failure modes with codes (code_not_sent, invalid_email) plus the required recovery script, and asserts nothing is persisted on failure — behavioral facts no annotation conveys.

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?

Front-loaded with the action and its gate condition, then the critical "this does NOT put them in line yet" correction before the error handling. Sentences are dense but every one carries a distinct operational fact; the closing alternative-path hint earns its place as a routing aid.

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

Completeness5/5

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

For a non-idempotent mutation with an output schema supplied, the description covers prerequisites, the two-step completion requirement, the two documented error branches with recovery instructions, and the consent policy. Nothing material an agent needs to call it correctly, or to explain a failure to a guest, is missing.

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?

With only 38% schema description coverage, the description compensates partially: it marks name, party size (max 20) and email as required, phone and notes as optional, and adds the consent-relevant meaning of customer_email ("their own email"). However, branch, language, notes length, and restaurant_slug are left entirely to the schema, so half the surface gets no added meaning.

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

Purpose5/5

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

"Start a walk-in waitlist sign-up for a guest" names a specific verb and resource, and the follow-up clause explicitly separates it from get_waitlist_status (the status check) and confirm_waitlist (the second step). An agent can place this tool in the waitlist workflow without opening any other schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a hard precondition ("only when get_waitlist_status says accepting_sign_ups_now"), a consent constraint ("Only do this at the guest's explicit request, with their own email"), and a named alternative path ("send them get_waitlist_status.join_url instead"). When-to-use, when-not-to-use, and the substitute are all stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.