Skip to main content
Glama

Pay with a gift card

redeem_gift_card

Applies a Toots gift card code (given to you by the buyer) to a held booking, after set_contact. Uses as much of the card's balance as the order needs. Fully covered orders complete immediately (status paid); otherwise the response carries the payment_url for the balance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesThe gift card code, exactly as the buyer gave it.
localeNoLanguage for titles, labels and the returned URLs. Defaults to fr.
booking_uuidYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

The description discloses meaningful behavioral outcomes beyond the annotations: it consumes as much balance as needed, fully covered orders complete immediately with status paid, and partial coverage returns a payment_url. This gives the agent a clear model of the tool's side effects and conditional behavior.

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?

Two sentences deliver the action, the prerequisite, the balance-consumption behavior, and the conditional outcome. Every clause earns its place, and the critical sequencing constraint is front-loaded.

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?

Given the output schema exists, the description adequately covers the operation's flow and outcome. It could optionally mention the relationship to wait_for_payment, but the response's payment_url and the immediate-paid outcome are sufficient for an agent to proceed correctly.

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?

The schema covers code and locale, while the description adds the essential context that booking_uuid refers to a held booking and that the code is a Toots gift card code provided by the buyer. This compensates for the undocumented booking_uuid parameter and reinforces the meaning of the other parameters.

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 description states a specific verb ('Applies'), a specific resource ('a Toots gift card code' to 'a held booking'), and a clear sequencing constraint ('after set_contact'). This clearly distinguishes it from sibling tools like redeem_pass and wait_for_payment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool: apply a buyer-supplied gift card code to a held booking after set_contact. It does not explicitly name alternatives or exclusion conditions, but the sequencing and purpose are unambiguous enough for an agent to route correctly.

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.

TDQS

A4.1/5.0
Disambiguation4/5

Most tools target distinct steps in the booking lifecycle, but get_booking_status and wait_for_payment serve nearly the same purpose, and get_event/list_events/get_availability all surface availability. Descriptions are strong enough to prevent frequent misselection.

Naming Consistency5/5

All tools use a consistent verb_noun snake_case pattern (get_*, hold_tickets, redeem_*, release_booking, set_contact, wait_for_payment). There are no style or naming convention breaks.

Tool Count5/5

Twelve tools map cleanly to the ticket-buying workflow: discovery, venue info, availability, hold, contact, payment, redemption, release, status, and recovery. Each tool earns its place without redundant bulk.

Completeness4/5

The lifecycle is well covered: hold, contact, payment, redemption, release, and post-sale recovery are all present. The only notable gap is lack of any cancellation/refund path for paid bookings, though this may be intentional venue policy.

Resources