Skip to main content
Glama

Free time slots of a service

get_availability
Read-only

Free days and times of a bookable service (appointment, class, visit): duration in minutes, then the next 7 days with free slots and the seats left. Needs the bookable_option id from get_product; the booking itself is done on the store website.

Input Schema

NameRequiredDescriptionDefault
storeYesStore id ("store" field from find_store or search_products).
optionYesBooking option id ("bookable_option" field from get_product).
productYesProduct id ("product" field from search_products or browse_products).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description contributes behavior beyond that: the fixed 7-day horizon, that results include seats left, and that no booking is performed here. It omits timezone assumptions and whether results are cached or live, which keeps it from 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.

Conciseness5/5

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

Two tight sentences: the first front-loads the return shape, the second carries the prerequisite and the scope boundary. No filler and nothing an agent needs is buried.

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?

There is no output schema and no nesting, so the description correctly shoulders the burden of describing returns (duration, 7 days of slots, seats left). The only real gap is lack of timezone/date-anchor detail for a time-sensitive read, which would matter for correct interpretation of the slots.

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 description coverage is 100%, and each parameter already documents its source field (find_store/search_products, get_product, search_products/browse_products). The description restates only the option→get_product link, adding no syntax or formatting detail beyond the schema, 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+resource (free days and times of a bookable service) and enumerates the return content: duration in minutes, next 7 days with free slots, seats left. It also bounds the tool's scope by saying the booking itself happens on the store website, so an agent can tell it apart from get_product or search_products without opening a schema.

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

Usage Guidelines4/5

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

Gives a clear usage condition: check free slots for an appointment/class/visit, then book externally on the store website. It also names the prerequisite source for the option id (get_product). It stops short of naming a sibling as an explicit alternative for the availability check, but the flow it belongs to is unambiguous.

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