Skip to main content
Glama

Zestli

Start Split Payment

start_split_payment

Split one unpaid booking proposal between several people who each pay their share.

It fits when the user (the organizer) wants the group to pay separately for one booking; friends buying their own places make separate bookings instead. Opens a pay-together window of up to 24 hours, ending before the experience starts (not a price lock), and returns one hosted link per payer. Seats are held once payments reach an equal share of the total; until then only as long as the quote. Each payer signs in as themselves and authorizes their share plus an equal part of the split payment fee, shown before paying. Zestli books only when every share is authorized, then charges everyone; a decline, expiry, or price or terms change releases everyone and books nothing. Requires the user's own Zestli connection (OAuth): a partner API key cannot organize and gets ORGANIZER_ACCOUNT_REQUIRED; the user can then choose "Split the cost with others" on the hosted checkout page. Operator offerings only for now. Equal shares give leftover cents to the organizer. Links are emailed only with send_links. Retrying returns the same window. Cards are entered only on each payer's hosted page, never through this tool.

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": {
      "request": "<request>"
    },
    "name": "start_split_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesOpen a pay-together window on an unstarted booking proposal.

Output Schema

NameRequiredDescriptionDefault
paidNo
linksNo
sharesNo
statusNo
messageNo
outcomeNo
currencyNo
group_idNo
closes_atNo
booking_idNo
error_codeNo
links_sentNo
closes_textNo
total_minorNo
booking_statusNo
rounding_minorNo
cancel_requestedNo
booking_referenceNo
processor_fixed_fee_minorNo

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?

Far beyond the annotations, the description discloses the 24-hour window and its ceiling, that it is not a price lock, seat-hold conditions, per-payer sign-in and fee authorization, the all-or-nothing booking rule, failure/release semantics on decline or expiry, the OAuth requirement with the ORGANIZER_ACCOUNT_REQUIRED error, and leftover-cent handling. The only tension is "Retrying returns the same window" against idempotentHint=false, which reads as a retry-safety claim the annotation does not corroborate.

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?

Purpose and fit are front-loaded before the behavioral detail, and nearly every sentence carries non-obvious information (fee split, auth requirement, release-on-failure). It is dense and long for a single paragraph, and the retry sentence could be folded into the window discussion.

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 a mutating, open-world, nested-schema tool this covers what an agent needs: prerequisites, failure modes, fee allocation, idempotency behavior, and payment-channel safety. An output schema exists, so return values need not be explained, though the description still notes one hosted link per payer.

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 100% and the nested payer fields are already documented in detail, so the description does not need to explain them. It adds one genuinely new semantic detail — leftover cents from equal shares go to the organizer — but leaves send_links and window_minutes essentially to the schema.

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?

The first sentence states a specific verb, resource, and scope: splitting one unpaid booking proposal among several payers. It immediately distinguishes this from the sibling alternative of friends making separate bookings, so an agent can route correctly 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?

It gives an explicit when-to-use condition (organizer wants the group to pay separately for one booking), an explicit when-not (friends buying their own places make separate bookings instead), and a named fallback path ("Split the cost with others" on the hosted checkout page). It also scopes availability to operator offerings only.

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