Skip to main content
Glama

Zestli

Cancel Split Payment

cancel_split_payment

End an unfinished pay-together window at the organizer's request.

Every authorization is released; nothing is booked or charged. Only the organizer can do this, and only before the booking is made. After booking, cancel the booking itself with cancel_booking (refunds go to each payer's own card).

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": "cancel_split_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesA window the organizer started.

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.5/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, idempotentHint=false; the description adds real context beyond that: all authorizations are released, nothing is booked or charged, and the organizer-only permission gate applies. The one unaddressed trait is repeat-call behavior, since idempotentHint=false but the description doesn't say what happens on a second cancellation attempt.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the core effect ('Every authorization is released; nothing is booked or charged') front-loaded, followed by constraints and the escalation path. No filler or restatement of the title.

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 single-parameter, output-schema-backed cancellation tool, the description covers actor, timing, side effects, and the alternative path. An agent has everything needed to decide and invoke correctly; return values are covered by the output schema.

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 description coverage is 100% and the nested request.proposal_id field is already documented as 'the proposal the window was opened on.' The description refers to 'the window' conceptually but adds no format, sourcing, or lookup guidance beyond what the schema supplies, so baseline 3 applies.

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 object ('End an unfinished pay-together window') and names the organizer as the actor. It also distinguishes itself from the sibling cancel_booking by scoping itself to pre-booking windows, so an agent can select between the two without inspecting schemas.

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 when-to-use ('only before the booking is made'), an authorization constraint ('only the organizer'), and a named alternative with its own condition ('After booking, cancel the booking itself with cancel_booking'). The when/when-not/alternative triple is fully present.

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