Skip to main content
Glama

Free appointment slots

pz_free_slots
Read-onlyIdempotent

List free appointment start times for a doctor's service at a center over a date range. Find available slots and see the next free day if none are open.

Instructions

Free appointment start times (Tehran HH:MM) per day for one service of a doctor at one center, for a date range.

Read-only: this only lists slots; it does not hold or book one. Get the ids from pz_doctor (or a search card); find days with pz_free_days. If the range has no free slot, next_free_day points to the next one. To book, send the user to the doctor's profile URL (booking needs an SMS login).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
date_toNoLast day, inclusive (default date_from); at most 14 days after date_from.
center_idYescenter_id from pz_doctor or a pz_search_doctors card, e.g. '291c1bfe-e8f3-414a-a82d-d6fe081683fb'; '5532' = online visit.
date_fromNoFirst day, Gregorian YYYY-MM-DD (default today in Iran), e.g. '2026-10-10'.
service_idYesservice_id of a service at that center, e.g. '1a4a8ec2-fdf9-436e-a32b-8fc4485f609c'.
user_center_idYesuser_center_id of the same center (the doctor-at-center id), e.g. '09558bad-168d-4df8-b39d-437a260ca6fc'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, but the description adds real value by clarifying it 'does not hold or book one' and that actual booking requires an SMS login outside this tool. It does not cover rate limits or pagination, so it falls short of a 5 given annotations carry the safety profile.

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 purpose, then a compact paragraph covering read-only behavior, ID sourcing, and the booking path. Every sentence earns its place; slightly long but no waste.

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 fields needn't be explained, and the description still proactively mentions next_free_day behavior plus the booking hand-off. Complete enough for correct invocation, though it omits the 14-day range cap that lives in the schema.

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 all five parameters are documented in the schema, including the 14-day cap and ID formats. The description adds only the 'Tehran HH:MM' time convention and date-range scoping, which is marginal beyond the schema — 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 appointment start times ... per day for one service of a doctor at one center, for a date range'), including the scope dimensions that matter. It is clearly distinguishable from the sibling pz_free_days (day-level) versus this tool (slot-level).

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 routes the agent: get ids from pz_doctor or a search card, find days with pz_free_days, and send the user to the profile URL to book. It also states the edge case behavior (no free slot → next_free_day) so the agent knows how to interpret an empty result.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.