Skip to main content
Glama

Free appointment days

pz_free_days
Read-onlyIdempotent

Find available appointment days for a doctor's service at a center across the booking window, excluding weekly days off and holidays. Read-only; use results to pick a day, then check times.

Instructions

Days with at least one free appointment for one service of a doctor at one center, over the whole booking window (often 6-8 weeks), with the weekly days off and holidays in that window.

Read-only (nothing is reserved). Get the ids from pz_doctor. Next: pz_free_slots for the times of chosen days; the user books on the doctor's profile URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
center_idYescenter_id from pz_doctor or a pz_search_doctors card, e.g. '291c1bfe-e8f3-414a-a82d-d6fe081683fb'; '5532' = online visit.
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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/destructive=false/openWorld, and the description reinforces this while adding real context: 'nothing is reserved' clarifies the call has no side effect on availability. It also discloses the result's temporal scope (6-8 weeks) and that weekly days off and holidays are included, which the annotations do not cover.

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?

Short and front-loaded: scope of the return value first, then a workflow/safety note. Sentence fragments (e.g. 'Next: pz_free_slots ...') are terse but readable and each clause carries information.

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-format explanation is unnecessary, and the description covers scope, provenance of ids, read-only nature, and next steps. It leaves minor gaps around volume/pagination of returned days, but nothing an agent needs to invoke it correctly.

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 already carries an example and a source hint. The description only adds provenance ('Get the ids from pz_doctor'), which is mild value over the schema; baseline 3 for high-coverage schemas is appropriate.

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 precise verb+resource: days with at least one free appointment, scoped to one service, one doctor, one center, across the whole booking window. It also distinguishes itself from neighbors by naming pz_doctor as the id source and pz_free_slots as the follow-up for times.

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 clear context for when to call it (finding candidate days before picking times) and routing: ids from pz_doctor, then pz_free_slots, with booking happening on the doctor's profile URL. No explicit when-not-to-use or named exclusions, which keeps it just below a 5.

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