Skip to main content
Glama

Book appointment

create_appointment

Book a confirmed appointment. startTime must be one get_availability offers for that type and date; any other time is rejected with conflict. Inactive appointment types can't be booked (not_found).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesNo
doorIdNo
startTimeYesISO 8601 datetime
driverNameNo
locationIdYes
companyNameYes
driverNotesNo
driverPhoneNo
poReferenceNo
contactEmailYes
contactPhoneNo
customFieldsNo
trailerNumberNo
appointmentTypeIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and openWorldHint=true, so the mutation profile is covered; the description adds the non-obvious failure semantics (off-slot times rejected with a conflict error, inactive appointment types returning not_found). It omits auth/permission requirements and any side effects such as notifications or double-booking protection, so it is good but not exhaustive.

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?

Three tight sentences, front-loaded with the action, then the precondition, then the error cases. No filler and every clause carries operational information.

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

Completeness3/5

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

For a 14-parameter write tool with no output schema and near-zero schema documentation, the description covers the critical booking precondition and failure modes but leaves the bulk of the parameter surface and the return payload (e.g. created appointment id/status) undocumented. Adequate to call it correctly on the happy path, incomplete for the full surface.

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

Parameters2/5

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

Schema description coverage is only 7% (just startTime = "ISO 8601 datetime"), so the description must carry the load for 13 other parameters. It adds real meaning for startTime by constraining it to values from get_availability, but the 13 remaining fields (driverName, companyName, customFields nested object, poReference, etc.) get no explanation of format, optionality or effect in either the schema or the description.

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?

"Book a confirmed appointment" names a specific verb (book), resource (appointment), and resulting state (confirmed), which separates it from the approval/cancellation siblings like approve_appointment and cancel_appointment. An agent knows this is the creation entry point rather than a status-change tool.

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?

It states a hard precondition that routes the agent to a sibling workflow: startTime must be a slot previously returned by get_availability for that type and date. That is clear context plus an implied pre-step, though it never states when NOT to use it (e.g. reschedule for existing appointments) or what to do if no slot is offered.

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