Skip to main content
Glama

XP Tickets

Cancel My Offer

cancel_my_offer
Destructive

From XP's connected resale + primary order book. Two-phase write on the XP live offer book. Use when an authenticated buyer wants to rescind their outstanding offer on an XP marketplace listing (e.g. 'cancel my offer to make an offer at a lower price', 'pull my bid'). Call with confirm=False first to preview which offer will be rescinded; call with confirm=True only after the user explicitly approves. Pass bid_uuid from make_offer_on_listing (or the buyer swap id from the same response; the server resolves it). Only confirm=True submissions return success=true. Requires auth and write:bids scope. Do not use for browse / discovery; this is a marketplace transaction tool that mutates an active bid. For standard buy-now ticket purchases without a bid in flight, use search_events and get_ticket_listings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmYesRequired. True to rescind; False to preview without rescinding.
identifierYesPublic listing identifier the offer was placed on.
offer_uuidYesIdentifier of the offer to cancel. Preferred: bid_uuid from make_offer_on_listing's response. Also accepted: the buyer swap identifier from that same response — MCP resolves it via privy-bids/mine.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description reinforces this by calling it a mutating 'write on the XP live offer book.' It adds substantial context the annotations cannot convey: the two-phase confirm workflow, that only confirm=True returns success=true, the auth and write:bids scope requirement, and the indirection where offer_uuid may be a swap id resolved server-side. Rich, non-redundant behavioral detail.

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?

Dense but front-loaded: purpose first, then the confirm workflow, then auth/scope, then exclusions. Nearly every sentence carries actionable information, though the run is long and could be trimmed slightly (e.g. the parenthetical examples and the swap-id resolution note are somewhat packed together).

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 three-parameter mutating tool with an output schema present (so return values needn't be described), the definition covers purpose, workflow, auth/scope, parameter provenance, and alternative tools. Nothing an agent needs to invoke it safely is missing.

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 coverage is 100%, so the baseline is 3; the description pushes above it by explaining the provenance and accepted forms of offer_uuid (bid_uuid from make_offer_on_listing, or the buyer swap id, resolved via privy-bids/mine) and the preview-vs-commit semantics of confirm. This adds meaning beyond the field descriptions, though it does not document identifier syntax further.

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 — rescinding a buyer's outstanding offer on the XP live offer book — and frames it as a two-phase write. It implicitly separates this from siblings like cancel_my_listing and rescind_standing_bid by naming the bid/offer resource and the make_offer_on_listing origin. An agent can identify the operation 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?

Explicit when-to-use with concrete user utterances ('pull my bid'), a required two-step workflow (confirm=False to preview, confirm=True only after approval), and explicit exclusions: 'Do not use for browse / discovery' and 'For standard buy-now ticket purchases... use search_events and get_ticket_listings.' Alternatives are named, so nothing is left to inference.

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