Skip to main content
Glama

HairDora Salon Scheduling

Get appointment details

get_appointment
Read-onlyIdempotent

Use this when someone asks what services a specific appointment includes, their prices, or the appointment's status. Returns one appointment's client, salon and stylist ids, times, status and up to 50 booked services with prices. Not for finding bookings by date.

Input Schema

NameRequiredDescriptionDefault
appointmentIdYesId of one appointment, as the appointment list returns it (24 lowercase hex characters)

Output Schema

NameRequiredDescriptionDefault
statusYes
appointmentYesOne booking with up to 50 booked services and their prices; null when not found. Free-text notes, reminders, contact details, organization data and payment data are excluded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / appointment / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "clientId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9a-f]{24}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "endTime": {
      -        "anyOf": [
      -          {
      -            "maxLength": 32,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "pattern": "^[0-9a-f]{24}$",
      -        "type": "string"
      -      },
      -      "salonId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9a-f]{24}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "serviceCount": {
      -        "maximum": 10000,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "services": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "id": {
      -              "anyOf": [
      -                {
      -                  "pattern": "^[0-9a-f]{24}$",
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "name": {
      -              "maxLength": 200,
      -              "type": "string"
      -            },
      -            "price": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "name",
      -            "price"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "type": "array"
      -      },
      -      "servicesTruncated": {
      -        "type": "boolean"
      -      },
      -      "startTime": {
      -        "anyOf": [
      -          {
      -            "maxLength": 32,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "status": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "SCHEDULED",
      -              "CLIENT_ARRIVED",
      -              "NO_SHOW",
      -              "CANCELED"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "clientId",
      -      "salonId",
      -      "startTime",
      -      "endTime",
      -      "status",
      -      "serviceCount",
      -      "servicesTruncated",
      -      "services"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "clientId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9a-f]{24}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "endTime": {
      +        "anyOf": [
      +          {
      +            "maxLength": 32,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "pattern": "^[0-9a-f]{24}$",
      +        "type": "string"
      +      },
      +      "lastEditTime": {
      +        "anyOf": [
      +          {
      +            "maxLength": 32,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Version to pass as expectedLastEditTime when moving or cancelling this appointment"
      +      },
      +      "providerIds": {
      +        "description": "Stylists booked on it, as list_providers ids",
      +        "items": {
      +          "pattern": "^[0-9a-f]{24}$",
      +          "type": "string"
      +        },
      +        "maxItems": 10,
      +        "type": "array"
      +      },
      +      "salonId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9a-f]{24}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "serviceCount": {
      +        "maximum": 10000,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "services": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "id": {
      +              "anyOf": [
      +                {
      +                  "pattern": "^[0-9a-f]{24}$",
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "The service, as list_services and book_appointment name it"
      +            },
      +            "name": {
      +              "maxLength": 200,
      +              "type": "string"
      +            },
      +            "price": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "price"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "type": "array"
      +      },
      +      "servicesTruncated": {
      +        "type": "boolean"
      +      },
      +      "startTime": {
      +        "anyOf": [
      +          {
      +            "maxLength": 32,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "SCHEDULED",
      +              "CLIENT_ARRIVED",
      +              "NO_SHOW",
      +              "CANCELED"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "clientId",
      +      "salonId",
      +      "providerIds",
      +      "startTime",
      +      "endTime",
      +      "status",
      +      "lastEditTime",
      +      "serviceCount",
      +      "servicesTruncated",
      +      "services"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / appointmentId / description
      Previous value: -"Appointment id returned by list_appointments (24 lowercase hex characters)"New value: +"Id of one appointment, as the appointment list returns it (24 lowercase hex characters)"
    • addedOutput schema / properties / appointment / description
      Added value: +"One booking with up to 50 booked services and their prices; null when not found. Free-text notes, reminders, contact details, organization data and payment data are excluded."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the payload shape and the 'up to 50 booked services' cap, which tells the agent results may be truncated. It stops short of describing pagination or behavior when the id is unknown.

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 short sentences: trigger first, returned fields second, exclusion last. Nothing is redundant and the most decision-relevant information is front-loaded.

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?

For a single-parameter read tool with full schema coverage, an output schema, and clear annotations, the description supplies everything needed to select and call it. Return-value details are a bonus rather than a requirement here.

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 the single parameter's description already specifies the 24-character lowercase hex format and its origin in the appointment list. The description adds only the framing that it is 'one appointment', so 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?

The description pairs a specific verb and resource ('Returns one appointment's client, salon and stylist ids, times, status and up to 50 booked services') and explicitly contrasts scope with 'findings bookings by date', separating it from list_appointments. An agent can identify the tool without opening the schema.

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 gives a concrete trigger ('when someone asks what services a specific appointment includes, their prices, or the appointment's status') and a negative bound ('Not for finding bookings by date'). The alternative tool is not named explicitly, so routing still requires inferring that the date-based path is list_appointments.

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