Skip to main content
Glama
rudeayelo
by rudeayelo

execute_booking_creation

Create exactly one booking using a fresh preparation reference, rechecking eligibility and target. Executes only after required account-holder confirmation and reconciles with fresh reads.

Instructions

Create exactly one booking from a fresh prepare_booking_creation reference. Recheck the target and eligibility, send at most one standard write, then reconcile with fresh reads. An uncertain result requires manual inspection before a new action. Read writeConfirmationRequired from preparation. Account context exposes separate bookingCreation and activityPublication settings in writeConfirmationPolicy; cancellation and deletion always require confirmation. When true, show the exact preview and obtain separate account-holder confirmation before execution with confirmed: true. When false, an explicit request for this exact action is sufficient; omit confirmed and do not ask for another confirmation. A query or preview-only request never authorizes execution.

Input Schema

NameRequiredDescriptionDefault
gymIdNo
confirmedNo
actionReferenceYes

Output Schema

NameRequiredDescriptionDefault
gymYes
actionYes
statusYes
targetYes
noticesYes
observedStateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.3
    • changedInput schema / required
      Previous value: -[
      -  "actionReference",
      -  "confirmed"
      -]New value: +[
      +  "actionReference"
      +]
  2. Changed2 schema fields changedv0.5.0
    • removedOutput schema / properties / credit
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "balance": {
      -      "type": "null"
      -    },
      -    "entitlementPeriod": {
      -      "type": "null"
      -    },
      -    "possibleUse": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "possibleUse",
      -    "balance",
      -    "entitlementPeriod"
      -  ],
      -  "type": "object"
      -}
    • changedOutput schema / required
      Previous value: -[
      -  "action",
      -  "status",
      -  "gym",
      -  "target",
      -  "observedState",
      -  "credit",
      -  "notices"
      -]New value: +[
      +  "action",
      +  "status",
      +  "gym",
      +  "target",
      +  "observedState",
      +  "notices"
      +]
  3. Addedv0.2.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true). The description adds real value beyond that: exactly one write, reconciliation with fresh reads, and a stop-and-inspect rule for uncertain outcomes. However, it does not disclose the failure surface (what a rejected/partial write looks like), retry behavior, or whether a retry re-consumes the actionReference, which are the highest-risk unknowns for a non-idempotent write.

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?

Front-loaded with the action and its one-shot constraint, then the confirmation policy — the ordering matches decision order. It is dense but nearly every sentence carries a rule; the confirmation-policy block runs long and could be tightened, since part of it restates the same conditional twice.

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?

The confirmation gate, single-write constraint, and uncertain-result handling are all specified, and an output schema exists so return values need not be described. The remaining gap is gymId's role and the behavior on a stale or already-consumed actionReference, neither of which is addressed anywhere in the structured fields.

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 coverage is 0%, so the description must carry the load. It does well on two of three parameters: it explains that actionReference must be a fresh prepare_booking_creation reference and spells out when to set confirmed:true versus omit it entirely. But gymId is never mentioned in the description and the schema gives it only a pattern, so its purpose and scoping effect remain undocumented.

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+resource with an explicit cardinality constraint: "Create exactly one booking from a fresh prepare_booking_creation reference." It also names the sibling that produces the input (prepare_booking_creation), so an agent can distinguish it from the prepare/execute pairs for cancellation, publication, and deletion.

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 routing rules: read writeConfirmationRequired from preparation, require separate account-holder confirmation with confirmed:true when true, omit confirmed when false, and never treat a query or preview-only request as authorization. It also names the alternative path (manual inspection) when the result is uncertain, so when-to-use and when-not-to-use are both covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.