Skip to main content
Glama

Get Business Availability

get_availability
Read-onlyIdempotent

Return available windows from the business's active configured calendar, using its selected timezone, duration, operating hours, and current local or connected-calendar occupancy; supported scheduling providers supply their own slots. Use a returned window to start a booking. Availability can change before confirmation, including when the calendar provider is unavailable. If this business uses an unsupported calendar or booking provider, call get_booking_destination to find its published public booking route.

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
slugYesBusiness slug identifier
window_endNoUnix seconds (absolute instant; default now + 7 days). See window_start on reading the response's `timezone`.
window_startNoUnix seconds (absolute instant; default now). The business's own timezone is not an input — it is returned as `timezone` in the response. To target a local phrase like "Tuesday afternoon", request a generously wide window and filter the returned slots using that `timezone`.

Output Schema

NameRequiredDescriptionDefault
slotsYes
sourceYes
timezoneYes
generated_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / window_end / description
      Previous value: -"Unix seconds; default now + 7 days"New value: +"Unix seconds (absolute instant; default now + 7 days). See window_start on reading the response's `timezone`."
    • changedInput schema / properties / window_start / description
      Previous value: -"Unix seconds; default now"New value: +"Unix seconds (absolute instant; default now). The business's own timezone is not an input — it is returned as `timezone` in the response. To target a local phrase like \"Tuesday afternoon\", request a generously wide window and filter the returned slots using that `timezone`."
  2. Changed5 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / slug / description
      Previous value: -"business slug"New value: +"Business slug identifier"
    • addedInput schema / properties / window_end / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / window_start / maximum
      Added value: +9007199254740991
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "generated_at": {
      +      "type": "number"
      +    },
      +    "slots": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "capacity": {
      +            "type": "number"
      +          },
      +          "end": {
      +            "type": "number"
      +          },
      +          "start": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "start",
      +          "end",
      +          "capacity"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "timezone": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "slots",
      +    "source",
      +    "timezone",
      +    "generated_at"
      +  ],
      +  "type": "object"
      +}
  3. Changed5 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / slug / description
      Previous value: -"Business slug identifier"New value: +"business slug"
    • removedInput schema / properties / window_end / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / window_start / maximum
      Removed value: -9007199254740991
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "generated_at": {
      -      "type": "number"
      -    },
      -    "slots": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "capacity": {
      -            "type": "number"
      -          },
      -          "end": {
      -            "type": "number"
      -          },
      -          "start": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "start",
      -          "end",
      -          "capacity"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "source": {
      -      "type": "string"
      -    },
      -    "timezone": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "slots",
      -    "source",
      -    "timezone",
      -    "generated_at"
      -  ],
      -  "type": "object"
      -}New value: +null
  4. Changed5 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / slug / description
      Previous value: -"business slug"New value: +"Business slug identifier"
    • addedInput schema / properties / window_end / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / window_start / maximum
      Added value: +9007199254740991
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "generated_at": {
      +      "type": "number"
      +    },
      +    "slots": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "capacity": {
      +            "type": "number"
      +          },
      +          "end": {
      +            "type": "number"
      +          },
      +          "start": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "start",
      +          "end",
      +          "capacity"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "timezone": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "slots",
      +    "source",
      +    "timezone",
      +    "generated_at"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive/open-world, and the description adds genuine behavioral context beyond them: availability is a snapshot that 'can change before confirmation' and results degrade when the calendar provider is unavailable. It stops short of describing caching, ordering, or empty-result behavior, so a 4 rather than a 5.

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 the core action and ordered sensibly: what it returns, what to do with it, risk of staleness, and the fallback route. The opening sentence is dense and slightly overloaded with the occupancy/provider clause, but no sentence is discardable.

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

Completeness4/5

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

With an output schema present, return-value details are rightly omitted, and the description covers the derived-timezone nuance, staleness risk, and the unsupported-provider escape hatch. A three-parameter read tool is well served; only pagination/volume expectations for the returned window list are unaddressed.

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%, so window_start, window_end, and slug are already documented, including the Unix-seconds semantics and the note that timezone is derived rather than passed. The description reinforces the derived-timezone model but adds no new syntax or constraint beyond what the schema states, so the baseline 3 applies.

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?

States a specific verb and resource — 'Return available windows from the business's active configured calendar' — and explains the inputs that shape the result (timezone, duration, operating hours, occupancy). It also distinguishes itself from the sibling fallback path, get_booking_destination, so an agent can tell which tool owns real availability data.

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 explicit next-step guidance ('Use a returned window to start a booking') and an explicit when-not condition with a named alternative ('If this business uses an unsupported calendar or booking provider, call get_booking_destination'). Routing is fully determined by the description.

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