Skip to main content
Glama

Northlight Yoga

Book a class

create_booking
Idempotent

Default guest booking (free, no account or OAuth sign-in required; Poppy Personal Agents sending Poppy-Session confirm via operations v3). Use it once the customer has agreed the class, the time and their details. Required fields: event_type_id (or slug), start_ms (decimal string from list_slots), attendee_name, attendee_email. Optional: attendee_phone, attendee_timezone, hold_id, notes, responses (answers to per-class questions), idempotency_key (24-120 chars [A-Za-z0-9_-]), recovery_secret (from begin_booking). Example: {"event_type_id":"evt_beginners","start_ms":"1795858200000","attendee_name":"Maya Lin","attendee_email":"maya@example.org","responses":{"Have you practised before?":"No"}}. Returns { booking: { id, status, host_name, start_ms, ... }, manage_url, manage_path, manage_token } (409 if full or hold expired).

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": {
      "event_type_id": "<event_type_id>",
      "start_ms": "<start_ms>",
      "attendee_name": "<attendee_name>",
      "attendee_email": "<attendee_email>"
    },
    "name": "create_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNooptional notes for the teacher
hold_idNooptional 5-minute hold id from reserve_slot
start_msYesthe slot start as epoch milliseconds, in a decimal string, from list_slots
responsesNooptional answers keyed by the class's booking questions (see list_event_types.questions)
attendee_nameYesthe customer's full name
event_type_idYesclass id or slug
attendee_emailYesthe customer's valid email address
attendee_phoneNooptional phone
idempotency_keyNoa retry key: 24-120 letters, digits, '-' or '_' (a UUID or 32 hex characters; base64 padding '=' is refused). A retry with the same key and identical details returns the same booking, never a second one.
recovery_secretNothe secret from begin_booking. A retry returns manage_url again only when it presents this secret; send the same value on every attempt.
attendee_timezoneNooptional IANA timezone from the offered list

Output Schema

NameRequiredDescriptionDefault
bookingYesOne booking.
idempotentYesWhether this was a replay of an earlier admission.
manage_urlNo
manage_pathNo
manage_tokenNo
attendee_startNo
manage_endpointNo
manage_withheldNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false) it discloses the no-auth registration path, Poppy-Session handling for agents, hold expiry failure, and the 409 condition when a class is full. It also signals the returned manage_url/manage_token surface, which tells the agent what sensitive material comes back.

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?

Dense but front-loaded: purpose and auth mode come first, then required fields, then optional, then the return contract. The parameter enumeration is arguably redundant with a 100%-covered schema, which costs a point.

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 an 11-parameter mutation tool with a nested object, the description covers auth mode, prerequisites, retry semantics, a concrete example, error conditions, and the return surface. With an output schema present it doesn't need to detail the response further, and it doesn't try to.

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 already 100%, so the baseline is 3, but the description adds a full worked payload that shows how nested `responses` maps to per-class questions and restates the recovery_secret/idempotency_key retry coupling in operational terms. It mostly mirrors schema text, so it stops short of a 5.

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 ('guest booking') plus its defining scope: free, no account or OAuth. The word 'Default' positions it against siblings like book_with_membership and create_booking_series, so an agent can distinguish it without opening a 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?

'Use it once the customer has agreed the class, the time and their details' gives a clear trigger condition, and it names where prerequisite values come from (list_slots, reserve_slot, begin_booking). It never explicitly says when to prefer a sibling such as book_with_membership, leaving that inference to the word 'Default'.

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