Skip to main content
Glama

reschedule_appointment

Move an existing appointment to a different slot atomically. When specified, restrict moves to earlier appointments only.

Instructions

Move an existing appointment to a different slot (atomic; never cancels without rebooking).

Only moves to the slot you explicitly pass. With require_earlier (default), it first confirms the new slot is strictly earlier than the current appointment and otherwise refuses — so an unattended 'earlier slot' routine can't accidentally move an appointment later. The portal re-validates the slot at reschedule time.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patient_idYesMRN of the patient. REQUIRED — never guessed.
new_slot_dateYesThe new slot's datetime (ISO, as shown by search_slots). Used for the earlier-only safety check and to report the move.
appointment_idYesThe `appointment_id` of the existing appointment to move.
booking_stringYes`booking_string` of the new slot (from search_slots).
require_earlierNoIf true (default), refuse the move unless the new slot is strictly earlier than the current appointment — for the 'find an earlier slot' use case.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
messageNo
new_dateNo
old_dateNo
rescheduledYes
Behavior4/5

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

Discloses atomicity, the earlier-only safety check, and portal re-validation. Lacks details on failure modes, but covers key behaviors without annotations.

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 sentences and one paragraph, front-loaded with purpose. Every sentence adds value, no wasted words.

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

Completeness5/5

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

Output schema exists but not shown, so return values not needed. Description and schema together fully explain behavior and parameters for a 5-param tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline 3. The description adds context for `require_earlier` and `new_slot_date`, explaining their roles in the safety check and reporting.

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?

Clearly states 'Move an existing appointment to a different slot' with the atomicity qualifier. Distinguishes from siblings like 'book_appointment' and 'search_slots' by specifying rescheduling.

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?

Provides guidance on using `require_earlier` for unattended routines, implying a use case. Does not explicitly compare with siblings, but the context makes it clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mattijskersten/medimcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server