Skip to main content
Glama

list_appointments

Read-only

Retrieve appointments for a day or date range, optionally filtered by barber, in time order with client, services, and blocked time clearly identified.

Instructions

List appointments for a day or a date range, optionally for one barber. Returns appointments in time order with client name, barber, services, start and end. Follow next_cursor until it is null. Blocked time is listed with type blocked so you can tell it from a booking.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date_from": "<date_from>"
    },
    "name": "list_appointments"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNonext_cursor from the previous page.
date_toNoLast day, YYYY-MM-DD. Defaults to date_from.
barber_idNoOnly this barber. Omit for the whole shop.
date_fromYesFirst day, YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.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=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. Beyond that, the description adds genuinely useful behavior: results are time-ordered with named fields, pagination continues via next_cursor until null, and blocked time appears as type 'blocked' so it isn't confused with a booking.

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?

Four sentences, each carrying distinct information – scope, return shape, pagination, and the blocked-time caveat – with purpose front-loaded and no redundant wording.

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?

With no output schema, the description compensates by naming the returned fields and ordering, and it covers the two things an agent would otherwise get wrong: not following next_cursor and mistaking blocked time for a booking. Nothing essential to a correct call is missing.

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%, so all four parameters are already documented in the schema, including date_to defaulting to date_from and barber_id being omittable. The description restates the day-versus-range and whole-shop semantics but adds no format or edge-case detail beyond the schema, 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 opens with a specific verb and resource ('List appointments') and states the scope (a single day or a date range) plus the optional barber filter. No sibling in the catalog also lists appointments, so the agent can select this tool without ambiguity.

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 clear usage context: a single day versus a range, and narrowing to one barber. It does not name alternatives or exclusions, but no sibling competes for the same job, so the missing exclusions are low-cost.

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