Skip to main content
Glama

create_ticket_group

Add one ticket group to an existing event: name, description, a capacity shared by its ticket types, sale window, availability trigger, selection type and display options. The new group has no ticket types: add them with create_ticket_type. Bulk discounts on the tickets of a group go in eventDetails.discounts on the event (create_event or update_event). Get the event ID from list_events. Mutating; to create a new event with its tickets in one call, use create_event instead.

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": {
      "pageId": "<pageId>",
      "name": "<name>"
    },
    "name": "create_ticket_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
hiddenNo
layoutNo
pageIdYesThe ID of the event. Event IDs come from list_events, or the `id` that create_event returns.
statusNo
capacityNo
preselectNo
referenceNo
saleEndOnNo
feeDisplayNo
descriptionNo
saleStartOnNo
hideWhenSoldOutNo
hideWhenNotOnSaleNo
hideWhenScheduledNo
availabilityStatusNo
hideWhenUnavailableNo
ticketSelectionTypeNo
availabilityBehaviorNo
triggerTicketGroupIdNoID of another ticket group on the same event whose sale end or sell-out makes this group available. Required when `availabilityBehavior` is `after_ticket_sale_ends`, `after_ticket_sold_out` or `after_ticket_ends_or_sold_out`. Find it under `ticketGroups[].id` in get_event.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / availabilityStatus
      Added value: +{
      +  "enum": [
      +    "available",
      +    "sold_out",
      +    "unavailable"
      +  ],
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / properties / bulkDiscounts
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "properties": {
      -          "maxQuantity": {
      -            "minimum": 1,
      -            "type": "number"
      -          },
      -          "minQuantity": {
      -            "minimum": 1,
      -            "type": "number"
      -          },
      -          "percentOff": {
      -            "maximum": 100,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "minQuantity",
      -          "maxQuantity",
      -          "percentOff"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
    • removedOutput schema / properties / data / properties / bulkDiscounts
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "maxQuantity": {
      -            "type": "number"
      -          },
      -          "minQuantity": {
      -            "type": "number"
      -          },
      -          "percentOff": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "minQuantity",
      -          "maxQuantity",
      -          "percentOff"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ]
      -}
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already state readOnlyHint=false, destructiveHint=false and openWorldHint=true, so the mutation/reversibility baseline is covered; the description's 'Mutating' is redundant but harmless. What it adds beyond the annotations is genuinely useful: the new group is created empty of ticket types, imposing a two-step workflow, and the group's scope is bounded to one existing event. It does not discuss permissions or failure modes, but the output schema covers the response shape.

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?

Four dense sentences, front-loaded with the core action and followed by cross-references; nothing is padded. The discounts sentence is the most tangential but still prevents a plausible mistake (trying to pass discounts here), so it earns its place.

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?

For a 20-parameter creation tool with an output schema and thin schema descriptions, the definition supplies the workflow context an agent needs (event ID source, follow-up tool, alternative tool). The remaining gap is field-level meaning for the numerous display and availability flags, which the description gestures at collectively rather than specifying.

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 only 10% across 20 parameters, so the description has to carry real weight. It does name roughly seven parameter categories (name, description, capacity, sale window, availability trigger, selection type, display options), which maps to many of the fields, but it never explains the enum choices for availabilityBehavior, ticketSelectionType, status or feeDisplay, nor the semantics of preselect, reference or the many hideWhen* flags. Partial compensation, not full.

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 opens with a specific verb and resource ('Add one ticket group to an existing event') and then enumerates the dimensions of the object being created (name, description, shared capacity, sale window, availability trigger, selection type, display options). It explicitly distinguishes itself from create_event ('to create a new event with its tickets in one call, use create_event instead'), so an agent can separate the two without opening either 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 routing is given for every adjacent operation: add ticket types afterwards with create_ticket_type, put bulk discounts on the event via create_event/update_event, obtain the event ID from list_events, and use create_event instead when building a whole event at once. These are concrete when-to-use and when-to-use-something-else statements rather than implied guidance.

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