Skip to main content
Glama

Create ticket

create_ticket

[REQUIRES HUMAN APPROVAL] Set up an admission ticket type for an event. Supply displayName and maxInventory, plus faceValue in major currency units or price in minor units unless using sliding scale. By default, the type is active and opens now or at salesStart. Returns the ticket API response; use list_tickets to review existing types first.

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": {
      "attributes": "<attributes>"
    },
    "name": "create_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo[REQUIRES HUMAN APPROVAL] Pass `true` to execute. This is a programmatic backstop to the description tag. Destructive tools also require your approval through the client.
eventIdNoEvent ID. Defaults to active event.
attributesYesTicket-type attributes. `displayName` (string), `active` (optional, defaults to true), `faceValue` (number in MAJOR units: 39.50 means thirty-nine fifty, and the CLI converts it to the minor units the API stores), `maxInventory` (integer, the number of tickets for sale, required), `quantityIncrement` (optional, defaults to 1), `maxQuantity`, `salesStart`, `salesEnd`. The API drops a key it does not know, so a misspelling goes through and does nothing.
idempotencyKeyNoReuse the same key to replay a recorded successful request; use a new key for a different change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Reuse the same key to replay a recorded successful request; use a new key for a different change."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only say readOnly=false, destructive=false, openWorld=false; the description adds the material context that human approval is required and that a confirm flag is a backstop, plus the default state (active, opens now or at salesStart). It also notes the API silently drops unknown keys, which is a real behavioral hazard the annotations never convey. The approval requirement is the key disclosure, though it never states auth/permission needs.

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 tight sentences: approval tag and purpose first, then required inputs and units, then defaults and the sibling routing. No filler, and the highest-risk information (approval) 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?

With no output schema, the description compensates by stating it returns the ticket API response, and it covers approval, required fields, defaults, and a pre-check alternative. It leaves currency/sliding-scale interaction and unknown-key behavior slightly under-explained given the nested attributes object, but nothing critical 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 earns above that by naming the alternative pricing path (price in minor units) and the sliding-scale exception, which the attributes schema does not document. It restates the major-units convention the schema already covers, so not a 5.

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?

"Set up an admission ticket type for an event" is a specific verb plus resource, and it clearly separates itself from list_tickets (review existing) and update_ticket by being the creation path. An agent can pick this tool 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 Guidelines4/5

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

It names a concrete alternative and condition — "use list_tickets to review existing types first" — and flags the human-approval gate before invocation. It stops short of explicit when-not guidance (e.g. duplicating an existing type, or when update_ticket is the right call for an existing type).

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