Skip to main content
Glama

Find appointment times

find_appointment_times
Read-onlyIdempotent

Free appointment times at one venue for one service, over up to two weeks. For salons, clinics, studios and anywhere a guest books a named service with a provider. Use find_table_times for a restaurant instead.

Needs a service id from get_venue. 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 that day is genuinely unavailable, not that something failed.

Each day lists at most 10 times unless maxPerDay says otherwise, spread across the day; omitted says how many more exist. To answer "around 6pm" or "afternoons", send near, partOfDay, notBefore or notAfter instead of asking for everything.

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": {
      "serviceId": "<serviceId>"
    },
    "name": "find_appointment_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).
serviceIdYesOne service id from this venue's get_venue result. Not a service name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 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 / serviceId / maxLength
      Added value: +300
    • 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",
      -  "serviceId"
      -]New value: +[
      +  "serviceId"
      +]
  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 declare read-only, idempotent, closed-world, non-destructive, so the safety profile is covered; the description then adds behavior the annotations cannot: slotToken is signed, expires in ~30 minutes, must be passed back verbatim, and is the only path to booking. It also preempts a common misread by stating an empty `times` array means genuine unavailability, not failure.

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?

Four short paragraphs, each with a distinct job: scope and sibling routing, prerequisite plus token semantics, the empty-result caveat, then the per-day cap and fuzzy-time preference. The critical constraints are front-loaded and no sentence is 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?

With 10 parameters and no output schema, the description supplies the return shape an agent needs (`times`, per-time `at` and `slotToken`, `omitted` counts) and warns about token expiry and reuse across venues. Nothing material for a correct first call is missing.

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 100%, so the baseline is 3 and the schema already documents every parameter including enums and bounds. The description still adds cross-parameter intent — that maxPerDay caps a spread-out list with `omitted` reporting the remainder, and that near/partOfDay/notBefore/notAfter should be used to express fuzzy time requests — which goes slightly beyond the per-field text.

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 opens with a specific verb-plus-resource and full scope: free appointment times, one venue, one service, up to two weeks. It names the exact sibling it is not ('Use find_table_times for a restaurant instead') and characterizes the venues it fits, so an agent can disambiguate without opening either 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 states the prerequisite (a service id from get_venue), the alternative for restaurants, and the preferred input strategy for vague requests ('around 6pm' or 'afternoons' → send near, partOfDay, notBefore, notAfter instead of asking for everything). This is explicit when-to-use and when-to-use-something-else guidance rather than implied context.

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