Skip to main content
Glama

update_ticket_group

Destructive

Update one ticket group on an event: name, capacity, sale window, availability trigger (null removes it), selection type, visibility and more. Only supplied properties change. Bulk discounts on the tickets of a group go in eventDetails.discounts on the event (create_event or update_event). Its ticket types are managed with create_ticket_type, update_ticket_type and archive_ticket_type. Get the event and group IDs from get_event. Mutating.

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>",
      "ticketGroupId": "<ticketGroupId>"
    },
    "name": "update_ticket_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
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
ticketGroupIdYesThe ID of the ticket group. get_event lists the event's groups under `ticketGroups[].id`.
hideWhenSoldOutNo
hideWhenNotOnSaleNo
hideWhenScheduledNo
availabilityStatusNoSet to `sold_out` or `unavailable` to stop sales of every ticket type in the group. A ticket group that reaches its `capacity` becomes `sold_out` by itself. Send `null` to go back to `available`.
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. Pass null to remove the trigger.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / availabilityStatus
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "available",
      +        "sold_out",
      +        "unavailable"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Set to `sold_out` or `unavailable` to stop sales of every ticket type in the group. A ticket group that reaches its `capacity` becomes `sold_out` by itself. Send `null` to go back to `available`."
      +}
  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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is carried structurally; the description reinforces it with "Mutating." It adds genuine context beyond the annotations: "Only supplied properties change" establishes partial-update semantics, and "availability trigger (null removes it)" documents a destructive null-clearing side effect that the annotations do not. It does not cover failure modes or reversibility, so it is not exhaustive.

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?

Five short sentences, front-loaded with the purpose, then partial-update semantics, then routing. Every sentence earns its place by either scoping the tool or sending the agent to the correct sibling; nothing is restated from the schema.

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 21-parameter mutation tool this covers the essentials: what it mutates, that updates are partial, how to obtain both required IDs, and where the adjacent discount and ticket-type operations live. The presence of an output schema removes the need to describe return values. The remaining gap is the large set of layout/hideWhen flags that an agent would have to infer from the schema alone.

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 19% across 21 parameters, so the description carries real weight here. It names roughly a third of the surface (name, capacity, sale window, availability trigger, selection type, visibility) and explains the null-to-remove convention, but leaves layout, preselect, feeDisplay, the several hideWhen* flags, status and reference entirely undocumented in both places.

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 ("Update one ticket group on an event") and immediately enumerates the mutable facets: name, capacity, sale window, availability trigger, selection type, visibility. It goes further and fences off adjacent concerns by naming where discounts and ticket types live, so an agent can distinguish this from update_ticket_type or update_event without opening a 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?

Explicitly routes related work elsewhere: bulk discounts belong on the event via create_event/update_event, and ticket types go through create_ticket_type/update_ticket_type/archive_ticket_type. It also gives a prerequisite (get the event and group IDs from get_event). It stops short of stating when *not* to use it versus create_ticket_group or archive_ticket_group, so it is clear context without full exclusions.

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