Skip to main content
Glama

Book an instructor

book_instructor

Book a private session with an instructor for the signed-in person. Take one of the instructor’s free times (instructorId, start, end) unchanged, and only after the person has agreed to that instructor, time and price: from get_club with the club’s id, or from get_professional with no club, as a Professional is booked in their own right and agrees with the person where to meet. When the session needs an area (a court for a tennis lesson), add areaId and clubId: an area get_club shows free at exactly that time. Each answers at its own shortest length unless asked, so read get_club with a durationMinutes both offer to find it. The two are booked together, as one lesson, and priced as one. A Professional takes no area. It books exactly as 1club.me does: a membership of theirs that covers it is used, otherwise it is paid at the club. The answer gives the booking’s status and how it is covered, as created. A club that requires paying online when booking cannot be booked this way: the error says so.

Input Schema

NameRequiredDescriptionDefault
endYesThe time’s `end`.
startYesThe time’s `start`.
areaIdNoAn area to book with the session, free at the same time.
clubIdNoThe club’s `id` from get_club, for an instructor found at a club. Left out for a Professional from get_professional.
instructorIdYesThe instructor’s `id`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, open-world write; the description goes further by disclosing pricing behavior (membership covering the lesson, otherwise paid at the club), that the booking is one lesson priced as one, what the response contains, and the online-payment failure mode. It does not warn that retrying creates duplicate bookings despite idempotentHint=false, which is the main missing behavioral caveat.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is valuable but the prose is dense and meanders — the clause about "each answers at its own shortest length unless asked, so read get_club with a durationMinutes both offer to find it" is convoluted and buried mid-paragraph. The core action and preconditions are not cleanly 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 multi-path write with no output schema, the description covers input sourcing, the area/club conditional, pricing/coverage semantics, the response contents, and a known failure mode — enough for an agent to call it correctly without further documentation.

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 the baseline is 3; the description earns more by explaining that instructorId/start/end must be copied unchanged from a free time returned by get_club or get_professional, why clubId is omitted for a Professional, and why areaId is conditional. It adds real derivation guidance rather than restating field descriptions.

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 specific verb and resource ("Book a private session with an instructor") for the signed-in person, and implicitly separates itself from book_area and book_class by describing the instructor-plus-optional-area combination. An agent can identify the operation 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit preconditions (only after the person agreed to instructor, time and price), names the source tools for the inputs (get_club with the club id, or get_professional with no club), explains when to add areaId/clubId, states that a Professional takes no area, and names one exclusion (clubs requiring online payment cannot be booked this way).

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