Skip to main content
Glama

Book a class RSVP

book_class_rsvp
Idempotent

Book one eligible member class or join its waitlist for yourself or a linked child. Use the exact occurrence key from My classes. An explicit booking request or a user-authorized saved task may name the class and participant directly or by a clear rule. Returns an existing seat or waitlist position without changing it. Cannot cancel an RSVP, rebook a previously withdrawn RSVP, or make a payment.

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": {
      "branch_id": "<branch_id>",
      "occurrence_key": "<occurrence_key>"
    },
    "name": "book_class_rsvp"
  }
}

Input Schema

NameRequiredDescriptionDefault
child_idNoOptional linked child's subject_id from list_my_subjects; omit for the signed-in member.
branch_idYesClub UUID from the member's list_my_subjects result; access is checked for this club.
occurrence_keyYesExact class occurrence key returned by the public or member class schedule.

Output Schema

NameRequiredDescriptionDefault
statusYes
branch_idYes
subject_idYes
waitlistedYes
occurrence_keyYes
waitlist_positionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true; the description earns credit by restating idempotency in concrete terms ('Returns an existing seat or waitlist position without changing it') and by disclosing hard scope limits: no cancellation, no rebooking a withdrawn RSVP, no payment. It stops short of stating authorization/permission requirements beyond 'eligible' or any rate or capacity constraints.

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

Conciseness4/5

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

The core action and scope are front-loaded in the first sentence, and the exclusion sentence is efficient. The middle sentence about 'an explicit booking request or a user-authorized saved task' is wordier and reads as agent-policy prose rather than tool semantics, costing a little tightness.

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

Completeness4/5

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

For a 3-parameter booking tool with an output schema and full annotation coverage, the description covers eligibility, idempotency, and out-of-scope actions adequately. The remaining gap is that it never points to the tool that handles cancellation or rebooking, leaving routing to inference.

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 description coverage is 100%, so all three parameters are already self-documenting, including child_id's link to list_my_subjects. The description adds only a light gloss on occurrence_key provenance ('from My classes'), which is marginally more specific than the schema's 'public or member class schedule'. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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: 'Book one eligible member class or join its waitlist', and scopes it to 'for yourself or a linked child'. It does not name the sibling set_class_rsvp, but the negative delimitations ('Cannot cancel an RSVP, rebook a previously withdrawn RSVP, or make a payment') effectively separate it from the mutating counterpart.

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 clear precondition ('Use the exact occurrence key from My classes') and a trigger condition ('An explicit booking request or a user-authorized saved task'), which tells the agent this is not for speculative or inferred bookings. Exclusions are listed, but the alternative tool to use for cancelling or rebooking is never named, so the agent must infer it.

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