Skip to main content
Glama

enroll_attendee_in_session

Enrolls an attendee in a specific workshop session. This endpoint safely handles concurrent requests to prevent overbooking and automatically recomputes related attendee charges.

Validation Rules

  • Availability: Checks seat capacity and enforces per-attendee-type limits.

  • Scheduling: Prevents double-enrollment and time overlaps with other registered sessions.

  • Timeline: Ensures the booking deadline has not passed.

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": {
      "uuid": "<uuid>",
      "workshop_definition_guid": "<workshop_definition_guid>",
      "guid": "<guid>",
      "attendee_uuid": "<attendee_uuid>"
    },
    "name": "enroll_attendee_in_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
guidYesSession (Workshop) GUID.
uuidYesEvent public UUID. Used in all event-scoped API paths.
attendee_uuidYesUUID of the attendee being enrolled.
workshop_definition_guidYesWorkshopDefinition GUID.

Output Schema

NameRequiredDescriptionDefault
dataNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

The description goes well beyond the annotations. It discloses that concurrent requests are handled safely to prevent overbooking, that related attendee charges are automatically recomputed (a non-obvious side effect of a write), and it enumerates the concrete failure conditions: capacity and per-attendee-type limits, double-enrollment, time overlap, and passed booking deadline.

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?

Two sentences and three short bolded bullets: the core action is front-loaded, the side effect follows, and the validation rules are grouped under a clear heading. Nothing is redundant with the annotations or schema.

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 mutation tool with an output schema, this covers preconditions, concurrency behavior, and side effects well. It stops short of stating permission requirements or error/response behavior on a failed validation, which would have made it fully complete.

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 four required parameters are already documented in the schema. The description adds no format, ordering, or constraint detail for uuid, guid, workshop_definition_guid, or attendee_uuid, so the baseline 3 is correct.

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 first sentence states a specific verb and resource: enrolls an attendee in a workshop session. That is enough for an agent to distinguish it from create_session or update_session, though it never names the inverse tool unenroll_attendee_from_session as the alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the validation rules (seat availability, deadlines, overlaps), which tell the agent the preconditions under which it should call this. But there is no explicit when-to-use versus when-not-to-use guidance and no routing to sibling tools such as unenroll_attendee_from_session or confirm_attendee.

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