Skip to main content
Glama

Create a checkout link for the parent

create_booking_handoff

Create a prefilled checkout link for 1-6 bookable sessions (booking_mode native) and share it with the parent. This is a shopping-list prefill, NOT a reservation: no spots are held, and the parent signs in, names their campers, signs waivers, and pays on kiddinglab.com. The response totals are in US dollars: total_usd is the camps' prices, parent_total_usd is what the parent pays before tax, including Kiddinglab's 1.5% service fee (service_fee_total_usd) — quote parent_total_usd. Sessions registered on the camp's own platform (booking_mode platform_deeplink), stale platform reports and full sessions are refused with their registration_url — send the parent there instead. Never include child names or other personal information. The link expires in 24 hours.

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": {
      "items": "<items>"
    },
    "name": "create_booking_handoff"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes1-6 sessions to prefill into the parent checkout. No PII — session ids and counts only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only mark this as a non-read-only, non-idempotent, closed-world write; the description goes well beyond by stating no spots are held, the link expires in 24 hours, and refusals return a registration_url to redirect the parent to. It also discloses the fee composition of returned totals. Not a 5 only because the 24-hour expiry is stated without any guidance on regenerating or reusing an existing link.

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, followed by the critical NOT-a-reservation caveat, then the currency/fee instructions and the refusal path. Dense but each sentence carries operational weight; the fee sentence is long but necessary since there is no output schema to explain the totals fields.

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?

With no output schema, the description must explain the return values, and it does — naming total_usd, parent_total_usd, service_fee_total_usd and telling the agent which to quote. Combined with the refusal behavior, PII rule, and expiry, an agent has everything needed to call this correctly and report results to a parent.

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 description coverage is 100%, so the baseline is 3; the description adds value by framing the single items array as a shopping-list prefill rather than a hold, and by reinforcing the no-PII constraint that governs children_count. It does not add new syntax beyond the schema, which is appropriate here.

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 (create a prefilled checkout link) with explicit scope (1-6 sessions, booking_mode native), and immediately distinguishes it from a reservation and from the platform_deeplink case handled by siblings. An agent can tell exactly what this produces without opening the schema.

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 the positive condition (bookable sessions in native mode), the exclusions (sessions registered on the camp's own platform, stale platform reports, full sessions), and the fallback action for each (send the parent to registration_url). It also points to search_camps and get_camp_details as sources for sess_id.

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