Skip to main content
Glama

Find available appointment times

halaxy_find_available_appointments
Read-only

Find free appointment times between start and end for a given duration, respecting each practitioner's online booking preferences (buffer time, lead time, advance booking limit). Narrow it with practitioner, practitioner_role or organization. GET /main/Appointment/$find.

Input Schema

NameRequiredDescriptionDefault
endYesEnd of the search window, e.g. 2027-01-12T23:59:59.
showNofirst-available = only the first available time.
sortNostart or -start.
startYesStart of the search window, e.g. 2027-01-12T00:00:00.
durationYesAppointment length in minutes.
emergencyNotrue ignores lead time, to show all times for emergency appointments.
organizationNoOrganization (clinic) id.
practitionerNoPractitioner id.
apply_buffer_timeNotrue applies buffer time to show all available times.
practitioner_roleNoPractitionerRole id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe read, but the description adds real context: availability is filtered by each practitioner's online booking preferences (buffer time, lead time, advance booking limit), and it flags that the emergency flag bypasses lead time. What is missing is any hint about result volume, limits, or pagination for the search window.

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?

Two tightly packed sentences lead with the verb and the search window before moving to filters and booking-policy behavior. The trailing 'GET /main/Appointment/$find' is implementation detail of marginal use to an agent, but it's short and does not crowd out the substantive content.

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?

For a read-only search tool with fully documented params and 10 inputs, the description covers purpose, scoping, and the booking-policy behavior that explains why some times are absent. With no output schema, a note on what a result item contains or how many are returned would close the remaining gap.

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%, so every parameter including show, sort, emergency, and apply_buffer_time is already documented in the schema. The description connects the buffer-time and lead-time mechanics to the parameters conceptually, which adds some value, but it introduces no syntax or format detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Find free appointment times') and adds the scoping constraint (between start and end for a given duration, respecting booking preferences). This is much more than a restatement of the title. It does not, however, distinguish itself from the nearest siblings in the list, halaxy_list_slots or halaxy_get_slot, so an agent must infer which availability tool to pick.

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

Usage Guidelines3/5

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

The sentence 'Narrow it with practitioner, practitioner_role or organization' gives filtering guidance, which is implied usage rather than selection guidance. It never says when to use this instead of halaxy_list_slots or halaxy_get_schedule, nor does it state any prerequisites (e.g. that a practitioner or organization id is needed).

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.