Skip to main content
Glama

EventPass

Place a ticket order

createOrder

Place a ticket order. The buyer pays the organizer DIRECTLY (Interac e-Transfer, Zelle, or cash) — EventPass never touches the money. Returns the order reference code and payment instructions to relay to the buyer. Free ($0) orders confirm immediately. Pass idempotency_key (a unique key per order, at least 16 characters — e.g. a UUID) to make retries safe: a retry with the same key and the same buyer, items, and contact returns the original order instead of creating a duplicate. Pass promoCode for a discount code from the event — it is validated server-side, and an invalid, expired, or used-up code rejects the order.

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": {
      "eventId": "<eventId>",
      "items": "<items>",
      "buyerName": "<buyerName>",
      "payMethod": "<payMethod>"
    },
    "name": "createOrder"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
notesNo
eventIdYesEvent ID from listEvents
buyerNameYesBuyer's full name
payMethodYesHow the buyer will pay the organizer directly
promoCodeNoPromo / discount code for this event (optional). Validated server-side; an invalid, expired, or used-up code rejects the order.
buyerEmailNo
buyerPhoneNo
idempotency_keyNoIdempotency key: a unique key per order, at least 16 characters (e.g. a UUID). A retry with the same key returns the original order — no duplicate is created. The key is bound to this buyer, these items, and this contact: reusing it for a different order is refused. Optional; without it each call creates a new order.

Output Schema

NameRequiredDescriptionDefault
itemsNo
orderNo
replayedNo
event_currencyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) by disclosing the money-flow model, that free orders confirm immediately (implying paid orders do not), that the return includes a reference code plus payment instructions to relay, and that invalid/expired/used-up promo codes reject the order outright. It also precisely scopes idempotency: the key is bound to buyer, items, and contact, and reuse for a different order is refused — consistent with idempotentHint=false since safety only applies when the key is supplied.

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 core action and the unusual payment model first, then idempotency, then promo behavior — a sensible priority order. The prose is dense with em-dash asides but nearly every clause carries decision-relevant information; slight tightening would gain a 5.

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 9-parameter write tool with an output schema, this covers what an agent needs: what gets created, what comes back, how money is handled, when confirmation is immediate, how to retry safely, and how promo failures surface. Return-value detail is appropriately brief since an output schema exists.

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 56%, so the description must carry weight and largely does: it explains idempotency_key length/format and its binding semantics, promoCode's server-side validation and failure mode, and the meaning of payMethod (buyer pays organizer directly). It adds little for notes, buyerEmail, and buyerPhone, which remain thin in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Place a ticket order') and immediately frames the defining characteristic of this tool — that payment flows buyer-to-organizer directly rather than through EventPass. That detail sharply separates it from payment-confirmation siblings like confirm_pending_payment, though no sibling is named explicitly.

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?

Gives clear operational context: use it to place an order, pass an idempotency key when retries are possible, pass promoCode when the buyer has a discount. It explains the conditions under which idempotency matters rather than just listing it. It stops short of naming an alternative tool for any adjacent case (e.g. where confirm_pending_payment fits), so it lands at 4.

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