Skip to main content
Glama

Create Booking

create_booking

Create a booking (or a quote with is_quote:true — defaults to a confirmed booking). start_time/end_time accept HH:MM (24h) or plain forms like '6pm'/'6:00 PM'. participants/volunteers set the headcount (default from the package if omitted). comments PRINT on the contract (client-facing detail); manager_notes are internal and do NOT print (put provenance like 'from handwritten note' here). Several dates on one booking: pass dates=[{date, start_time, end_time, project_type_id, price, act_id}, ...] (the first is the main date; price defaults to the SUM of the dates' prices). act_id per date only applies when the account has 'Book multiple acts per booking' on (setting multi_act_booking, Agent plan); otherwise every date gets the booking's act_id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_booking"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoA date in ISO 8601 (YYYY-MM-DD), e.g. 2026-11-22.
datesNo
priceNoAn amount in US dollars, e.g. 250 or 250.00.
act_idNoAn act's id (from list_acts).
depositNo
projectNo
commentsNoFree-text comments.
end_timeNoEnd time as HH:MM, 24-hour, e.g. 16:00.
is_quoteNo
client_idNoA client's id (from search or list_clients).
start_timeNoStart time as HH:MM, 24-hour, e.g. 14:30.
volunteersNo
participantsNo
manager_notesNo
project_type_idNo
contract_templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / act_id / description
      Added value: +"An act's id (from list_acts)."
    • addedInput schema / properties / client_id / description
      Added value: +"A client's id (from search or list_clients)."
    • addedInput schema / properties / comments / description
      Added value: +"Free-text comments."
    • addedInput schema / properties / date / description
      Added value: +"A date in ISO 8601 (YYYY-MM-DD), e.g. 2026-11-22."
    • addedInput schema / properties / end_time / description
      Added value: +"End time as HH:MM, 24-hour, e.g. 16:00."
    • addedInput schema / properties / price / description
      Added value: +"An amount in US dollars, e.g. 250 or 250.00."
    • addedInput schema / properties / start_time / description
      Added value: +"Start time as HH:MM, 24-hour, e.g. 14:30."
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-destructive, non-idempotent write; the description adds substantial behavioral detail on top of that — booking defaults to confirmed status, price defaults to the SUM of per-date prices, comments PRINT on the client-facing contract while manager_notes do not, and per-date act_id requires the multi_act_booking setting. These are exactly the consequences an agent must know before calling a mutation tool.

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?

It is front-loaded with the create/quote distinction and then groups related semantics, so nearly every clause earns its place. The heavy parenthetical nesting and long final sentence about act_id and multi_act_booking make it denser than ideal to scan.

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 16-parameter mutation tool with no output schema, the description covers the genuinely ambiguous cases (mode, time formats, headcount defaults, date arrays, notes visibility, multi-act gating) well enough to call it correctly. Gaps remain on deposit, project, contract_template, and project_type_id, which are undocumented in both schema and description.

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?

With only 44% schema coverage across 16 parameters, the description carries real weight: it clarifies is_quote, time formats beyond the schema's HH:MM-only wording ('6pm'/'6:00 PM' accepted), package-derived defaults for participants/volunteers, the internal-vs-client-facing split for manager_notes/comments, and the nested dates shape with its price-defaulting rule. It leaves deposit, project, project_type_id, and contract_template unexplained, which keeps it out of 5 territory.

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 ('Create a booking') and immediately distinguishes the two output modes ('or a quote with is_quote:true — defaults to a confirmed booking'). It never names a sibling such as update_booking or add_date to route agents away from wrong choices, so it stops short of a 5.

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?

It gives useful conditional guidance inside the tool (quote vs booking mode, comments vs manager_notes, multi-date via dates=[...]), which implies when each parameter applies. However, there is no explicit statement of when to call this versus update_booking, add_date, or approve_booking_request, and no prerequisites or exclusions are stated for the create operation as a whole.

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