Skip to main content
Glama

See a business's open times

get_availability
Read-onlyIdempotent

Lists the times one business has open for an appointment, when its owner offers them (request.instant_booking in get_business). Returns up to 50 slots over 1 to 14 days, soonest first, each with a start and an end as ISO 8601 date-times carrying the business's own offset, and the business's time zone. Slots come from the weekly times the owner set in that zone, less times already booked, less the notice the business needs, and no further ahead than it takes bookings. The times are the business's local time. Seeing a slot holds nothing: a booking request sent with send_request, with the start of the slot the user chose as slot_start, asks for that time. It is booked if it is still open when the request reaches the business, which on most addresses is when the user confirms; otherwise the business answers as usual. When instant_booking is false no slots are given. Looking sends nothing to the business.

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": {
      "slug": "<slug>"
    },
    "name": "get_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days to look at, from 1 to 14. Default 7.
fromNoThe first day to look at, as YYYY-MM-DD in the business's local time. Default: today where the business is. A day already past starts from today.
slugYesThe business's slug, exactly as returned by search_businesses.

Output Schema

NameRequiredDescriptionDefault
toYesThe last local date looked at, YYYY-MM-DD.
fromYesThe first local date looked at, YYYY-MM-DD.
moreYesTrue when those days hold more open times than were returned; looking again from a later day returns them.
slotsYesOpen times, soonest first, at most 50.
timezoneYesThe business's time zone, as an IANA name. The slots are in its local time.
slot_minutesYesThe length of one appointment, in minutes.
instant_bookingYesTrue when the owner offers open times and a booking request sent now would reach them. When false, slots is empty.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint/idempotentHint, but the description goes further with behavior the schema cannot express: a 50-slot cap, soonest-first ordering, ISO 8601 timestamps carrying the business's own offset, and the derivation of slots (weekly availability minus booked times minus required notice, capped by a booking horizon). The critical disclosure 'Seeing a slot holds nothing' plus the race-condition note ('booked if it is still open when the request reaches the business') is exactly the kind of context an agent otherwise cannot infer.

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

Conciseness4/5

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

Front-loaded with purpose and gating condition, then behavior, then follow-up action — a sensible order. It is slightly padded: 'The times are the business's local time' restates the offset point already made, and 'Looking sends nothing to the business' repeats 'Seeing a slot holds nothing.'

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?

Even though an output schema exists, the description covers the empty-result case, ordering, timestamp format, and the no-hold semantics, which together are everything an agent needs to call this correctly and interpret the result. Nothing material is left to inference.

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?

Schema coverage is 100% and each parameter is already documented, so the baseline of 3 applies. The description reinforces the 1-14 day range and the business-local-time interpretation of dates, but adds no new syntax or edge-case detail for slug, from, or days beyond what the schema states.

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?

Opens with a specific verb and resource: 'Lists the times one business has open for an appointment,' and immediately scopes it with the gating condition 'when its owner offers them (request.instant_booking in get_business).' This is distinguishable from siblings like get_business (profile data) and send_request (booking action) without opening any 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?

Explicitly says when no results come back ('When instant_booking is false no slots are given') and routes the agent to the natural follow-up, naming send_request and the slot_start parameter to use. It also states that viewing is non-committal, which tells the agent this is the right call before committing to a request.

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