Skip to main content
Glama

Find table times

find_table_times
Read-onlyIdempotent

Free table times at one restaurant or venue for one party size, over up to two weeks. Use find_appointment_times for a salon or clinic instead.

Each returned time has an at label to show the guest and a slotToken. The token is the booking handle: it is signed, it expires in about 30 minutes, and it is the only way a time can be booked later. Pass it back exactly as given, never edited, and never reuse one from a different venue. An empty times array for a day means the venue has nothing at that party size that day, which usually means closed or fully booked.

Each day lists at most 10 times unless maxPerDay says otherwise, spread across the day; omitted says how many more exist. To answer "around 7pm" or "lunch", send near, partOfDay, notBefore or notAfter. A party above the venue's online limit gets no times: the result carries groupEnquiry (a link and any contact details the venue published) to give the guest 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": {
      "partySize": "<partySize>"
    },
    "name": "find_table_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many consecutive days to search from that day, 1 to 14. Defaults to 3.
fromNoWhich day to start from: the word "today", the word "tomorrow", or an exact calendar date as YYYY-MM-DD. Resolved against the venue's own current date, which is often not yours. Do not send a phrase like "next Tuesday" or a time of day; both are rejected.
nearNoA 24 hour time as HH:MM, for example 19:00 for 7pm. When a day has more times than maxPerDay, keep the ones closest to this.
slugNoThe venue's booking slug, exactly as find_venues or get_venue returned it or as it appears in the venue's own booking link: the last path segment of gaplessly.com/book/<slug>, or the first label of <slug>.gaplessly.com. Not the business name; use find_venues to turn a name into a slug.
venueNoAlias of `slug`, kept for existing clients. Send `slug`.
notAfterNoDrop times later than this 24 hour HH:MM.
maxPerDayNoMost times to return per day, 1 to 40. Defaults to 10. Past it, the times are spread across the day (or nearest `near`) and `omitted` says how many were left out.
notBeforeNoDrop times earlier than this 24 hour HH:MM.
partOfDayNoOnly times in this part of the day: morning (before 12:00), afternoon (12:00 to 16:59), evening (17:00 on).
partySizeYesHow many people are coming, including the person booking.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / from / maxLength
      Added value: +40
    • addedInput schema / properties / near / maxLength
      Added value: +20
    • addedInput schema / properties / notAfter / maxLength
      Added value: +20
    • addedInput schema / properties / notBefore / maxLength
      Added value: +20
    • addedInput schema / properties / slug / maxLength
      Added value: +100
    • addedInput schema / properties / venue / maxLength
      Added value: +100
  2. Changed8 schema fields changed
    • addedInput schema / properties / maxPerDay
      Added value: +{
      +  "description": "Most times to return per day, 1 to 40. Defaults to 10. Past it, the times are spread across the day (or nearest `near`) and `omitted` says how many were left out.",
      +  "maximum": 40,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / near
      Added value: +{
      +  "description": "A 24 hour time as HH:MM, for example 19:00 for 7pm. When a day has more times than maxPerDay, keep the ones closest to this.",
      +  "type": "string"
      +}
    • addedInput schema / properties / notAfter
      Added value: +{
      +  "description": "Drop times later than this 24 hour HH:MM.",
      +  "type": "string"
      +}
    • addedInput schema / properties / notBefore
      Added value: +{
      +  "description": "Drop times earlier than this 24 hour HH:MM.",
      +  "type": "string"
      +}
    • addedInput schema / properties / partOfDay
      Added value: +{
      +  "description": "Only times in this part of the day: morning (before 12:00), afternoon (12:00 to 16:59), evening (17:00 on).",
      +  "enum": [
      +    "morning",
      +    "afternoon",
      +    "evening"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / slug
      Added value: +{
      +  "description": "The venue's booking slug, exactly as find_venues or get_venue returned it or as it appears in the venue's own booking link: the last path segment of gaplessly.com/book/<slug>, or the first label of <slug>.gaplessly.com. Not the business name; use find_venues to turn a name into a slug.",
      +  "type": "string"
      +}
    • changedInput schema / properties / venue / description
      Previous value: -"The venue's booking slug, exactly as get_venue returned it or as it appears in the venue's own booking link: the last path segment of gaplessly.com/book/<slug>, or the first label of <slug>.gaplessly.com. Not the business name."New value: +"Alias of `slug`, kept for existing clients. Send `slug`."
    • changedInput schema / required
      Previous value: -[
      -  "venue",
      -  "partySize"
      -]New value: +[
      +  "partySize"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / days / description
      Previous value: -"How many consecutive days to search from that day, 1 to 14. Defaults to 7."New value: +"How many consecutive days to search from that day, 1 to 14. Defaults to 3."
    • changedInput schema / properties / venue / description
      Previous value: -"The venue's booking slug, exactly as get_venue returned it or as it appears in the venue's own booking link (the last path segment of gaplessly.com/book/<slug>). Not the business name."New value: +"The venue's booking slug, exactly as get_venue returned it or as it appears in the venue's own booking link: the last path segment of gaplessly.com/book/<slug>, or the first label of <slug>.gaplessly.com. Not the business name."
  4. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior. The description adds important context beyond them: slotToken signing, roughly 30-minute expiry, exact replay requirements, empty times meaning closed or fully booked, omitted counts, and groupEnquiry handling when party size exceeds the online limit.

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?

The purpose and sibling alternative are front-loaded, then behavioral and edge-case details follow in a logical order. Despite covering a 10-parameter search tool, every paragraph carries operational information and none is redundant filler.

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?

Given 10 parameters, no output schema, and booking-token semantics, the description is complete for correct use. It explains return fields, token lifetime and replay rules, empty-result meaning, truncation via omitted, and the groupEnquiry fallback for oversized parties.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline would be 3. The description still adds useful invocation semantics: how to handle requests like around 7pm or lunch using near, partOfDay, notBefore, or notAfter, and how maxPerDay causes spreading and omitted counts.

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?

The description states a specific verb and resource: finding free table times at one restaurant or venue for one party size over up to two weeks. It explicitly distinguishes the tool from find_appointment_times for salons or clinics, so an agent can select it without opening the sibling 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?

It names the main alternative and the condition that selects it: use find_appointment_times for a salon or clinic instead. It also explains the downstream booking path by saying the slotToken is the only way a time can be booked later and must be passed back exactly as given.

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.

Resources