Skip to main content
Glama

update_ticket

Destructive

Update the attendee details (name and email) and metadata held on one event ticket. Use list_tickets first to discover the ticket ID by attendee name, email, or ticket short ID. Only supplied fields change, the booking and customer records are untouched, and the booking ticket PDF is regenerated when attendee details change. Metadata operations are per-entry: a value adds or overwrites its key, null deletes it, other entries survive. Mutating - confirm the target ticket before calling.

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": {
      "ticketId": "<ticketId>"
    },
    "name": "update_ticket"
  }
}

Input Schema

NameRequiredDescriptionDefault
metadataNoPer-entry metadata operations, matching the ticket validation endpoint: each entry adds or overwrites its key, `null` deletes it, and entries not named are left untouched. A ticket holds at most 20 entries. Door staff also write metadata during check-in, so avoid replace-everything sync patterns.
ticketIdYesThe ID of the ticket to update. Use `list_tickets` first if you need to discover the ticket ID by attendee name, email, or ticket short ID.
attendeeNameNoAttendee name held on the ticket. Shown on the ticket PDF and the guest list. Send `null` to clear.
attendeeEmailNoAttendee email held on the ticket. Trimmed and lowercased before storage. Cannot be cleared via this endpoint. Changing it does not affect the booking or customer records.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / data / properties / attendee
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The attendee's answers to the event's attendee questions and whether they were flagged for review, on events that collect attendee details. Absent until there is an answer or a flag. The attendee's name and email are `attendeeName` and `attendeeEmail`.",
      +  "properties": {
      +    "answers": {
      +      "description": "The attendee's answers to the event's attendee questions, in the same shape as the booking's `fields`. `reference` matches the question's reference. Name and email are not repeated here.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "element": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "checkbox",
      +                  "quantity",
      +                  "multiple-choice",
      +                  "select",
      +                  "multi-select",
      +                  "po-number",
      +                  "text",
      +                  "textarea",
      +                  "number",
      +                  "date-time",
      +                  "date",
      +                  "time",
      +                  "address",
      +                  "email",
      +                  "tax-id",
      +                  "phone",
      +                  "country"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "fieldId": {
      +            "description": "Unique field ID.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "label": {
      +            "description": "Label shown for the field.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "meta": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {},
      +                "propertyNames": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "reference": {
      +            "description": "Reference key for the field.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "",
      +                  "company-name",
      +                  "po-number",
      +                  "name",
      +                  "first-name",
      +                  "last-name",
      +                  "email",
      +                  "billing-email",
      +                  "phone",
      +                  "address-line1",
      +                  "address-city",
      +                  "address-country",
      +                  "address-line2",
      +                  "address-postal_code",
      +                  "address-state",
      +                  "shipping-name",
      +                  "shipping-phone",
      +                  "shipping-address-line1",
      +                  "shipping-address-city",
      +                  "shipping-address-country",
      +                  "shipping-address-line2",
      +                  "shipping-address-postal_code",
      +                  "shipping-address-state",
      +                  "tax-id"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "value": {
      +            "description": "Submitted value for the field.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "values": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Chosen option values of a multi-select field (an option without a value is named by its label), in the order the options are defined. `value` holds the same values joined with \", \". The matching labels, as they were when the answer was written, are in `meta.selectedOptionLabels` and joined in `meta.selectedOptionLabel`. Absent on every other field type."
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "flagged": {
      +      "description": "True when the event's email domain rule flagged this attendee for the seller to review. It stays true after review; see `reviewedAt`.",
      +      "type": "boolean"
      +    },
      +    "reviewedAt": {
      +      "description": "ISO-8601 UTC timestamp the seller marked this flagged attendee as reviewed. The booking counts as `flagged` while any flagged attendee has none.",
      +      "format": "date-time",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / data / properties / cancelReason
      Added value: +{
      +  "description": "Why the seller canceled this ticket. Set only when the ticket was canceled on its own: when the whole booking is canceled, the reason is kept on the booking.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / data / properties / canceledBy
      Added value: +{
      +  "description": "ID of the dashboard user who canceled this ticket. Set only when the ticket was canceled on its own.",
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • removedOutput schema / properties / data / properties / attendee
      Removed value: -{
      -  "additionalProperties": false,
      -  "description": "The attendee this ticket is for, with their answers, on events that collect attendee details. Absent until the booker or seller adds them. `attendeeName` and `attendeeEmail` follow it.",
      -  "properties": {
      -    "answers": {
      -      "description": "The attendee's answers to the event's attendee questions, in the same shape as the booking's `fields`. `reference` matches the question's reference. Name and email are not repeated here.",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "element": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "checkbox",
      -                  "quantity",
      -                  "multiple-choice",
      -                  "select",
      -                  "multi-select",
      -                  "po-number",
      -                  "text",
      -                  "textarea",
      -                  "number",
      -                  "date-time",
      -                  "date",
      -                  "time",
      -                  "address",
      -                  "email",
      -                  "tax-id",
      -                  "phone",
      -                  "country"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "fieldId": {
      -            "description": "Unique field ID.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "label": {
      -            "description": "Label shown for the field.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "meta": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": {},
      -                "propertyNames": {
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "reference": {
      -            "description": "Reference key for the field.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "type": {
      -            "anyOf": [
      -              {
      -                "enum": [
      -                  "",
      -                  "company-name",
      -                  "po-number",
      -                  "name",
      -                  "first-name",
      -                  "last-name",
      -                  "email",
      -                  "billing-email",
      -                  "phone",
      -                  "address-line1",
      -                  "address-city",
      -                  "address-country",
      -                  "address-line2",
      -                  "address-postal_code",
      -                  "address-state",
      -                  "shipping-name",
      -                  "shipping-phone",
      -                  "shipping-address-line1",
      -                  "shipping-address-city",
      -                  "shipping-address-country",
      -                  "shipping-address-line2",
      -                  "shipping-address-postal_code",
      -                  "shipping-address-state",
      -                  "tax-id"
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "value": {
      -            "description": "Submitted value for the field.",
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "values": {
      -            "anyOf": [
      -              {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Chosen option values of a multi-select field (an option without a value is named by its label), in the order the options are defined. `value` holds the same values joined with \", \". The matching labels, as they were when the answer was written, are in `meta.selectedOptionLabels` and joined in `meta.selectedOptionLabel`. Absent on every other field type."
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "email": {
      -      "description": "The attendee's email address.",
      -      "type": "string"
      -    },
      -    "flagged": {
      -      "description": "True when the event's email domain rule flagged this attendee for the seller to review. It stays true after review; see `reviewedAt`.",
      -      "type": "boolean"
      -    },
      -    "name": {
      -      "description": "The attendee's name.",
      -      "type": "string"
      -    },
      -    "reviewedAt": {
      -      "description": "ISO-8601 UTC timestamp the seller marked this flagged attendee as reviewed. The booking counts as `flagged` while any flagged attendee has none.",
      -      "format": "date-time",
      -      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • changedOutput schema / properties / data / properties / attendeeEmail / description
      Previous value: -"Attendee email held on the ticket. The ticket is delivered here. Set from the purchaser at booking time, or from the ticket's `attendee` on events that collect attendee details; editable via the ticket update endpoint."New value: +"Attendee email held on the ticket. The ticket is delivered here. Set from the purchaser at booking time; editable via the ticket update endpoint."
    • changedOutput schema / properties / data / properties / attendeeName / description
      Previous value: -"Attendee name held on the ticket, shown on the ticket PDF and the guest list. Set from the purchaser at booking time, or from the ticket's `attendee` on events that collect attendee details; editable via the ticket update endpoint."New value: +"Attendee name held on the ticket, shown on the ticket PDF and the guest list. Set from the purchaser at booking time; editable via the ticket update endpoint."
  4. Changed1 schema field changed
    • changedOutput schema / properties / data / properties / status / description
      Previous value: -"Lifecycle state of the ticket. `PAID` is valid for admission, `CANCELED` was voided by refund or cancellation and must not be admitted."New value: +"Lifecycle state of the ticket. `PAID` is valid for admission, `CANCELED` was canceled by the seller and must not be admitted. A refund alone never cancels a ticket."
  5. Changed3 schema fields changed
    • addedOutput schema / properties / data / properties / attendee
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "The attendee this ticket is for, with their answers, on events that collect attendee details. Absent until the booker or seller adds them. `attendeeName` and `attendeeEmail` follow it.",
      +  "properties": {
      +    "answers": {
      +      "description": "The attendee's answers to the event's attendee questions, in the same shape as the booking's `fields`. `reference` matches the question's reference. Name and email are not repeated here.",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "element": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "checkbox",
      +                  "quantity",
      +                  "multiple-choice",
      +                  "select",
      +                  "multi-select",
      +                  "po-number",
      +                  "text",
      +                  "textarea",
      +                  "number",
      +                  "date-time",
      +                  "date",
      +                  "time",
      +                  "address",
      +                  "email",
      +                  "tax-id",
      +                  "phone",
      +                  "country"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "fieldId": {
      +            "description": "Unique field ID.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "label": {
      +            "description": "Label shown for the field.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "meta": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": {},
      +                "propertyNames": {
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "reference": {
      +            "description": "Reference key for the field.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "",
      +                  "company-name",
      +                  "po-number",
      +                  "name",
      +                  "first-name",
      +                  "last-name",
      +                  "email",
      +                  "billing-email",
      +                  "phone",
      +                  "address-line1",
      +                  "address-city",
      +                  "address-country",
      +                  "address-line2",
      +                  "address-postal_code",
      +                  "address-state",
      +                  "shipping-name",
      +                  "shipping-phone",
      +                  "shipping-address-line1",
      +                  "shipping-address-city",
      +                  "shipping-address-country",
      +                  "shipping-address-line2",
      +                  "shipping-address-postal_code",
      +                  "shipping-address-state",
      +                  "tax-id"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "value": {
      +            "description": "Submitted value for the field.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "values": {
      +            "anyOf": [
      +              {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Chosen option values of a multi-select field (an option without a value is named by its label), in the order the options are defined. `value` holds the same values joined with \", \". The matching labels, as they were when the answer was written, are in `meta.selectedOptionLabels` and joined in `meta.selectedOptionLabel`. Absent on every other field type."
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "email": {
      +      "description": "The attendee's email address.",
      +      "type": "string"
      +    },
      +    "flagged": {
      +      "description": "True when the event's email domain rule flagged this attendee for the seller to review. It stays true after review; see `reviewedAt`.",
      +      "type": "boolean"
      +    },
      +    "name": {
      +      "description": "The attendee's name.",
      +      "type": "string"
      +    },
      +    "reviewedAt": {
      +      "description": "ISO-8601 UTC timestamp the seller marked this flagged attendee as reviewed. The booking counts as `flagged` while any flagged attendee has none.",
      +      "format": "date-time",
      +      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / properties / data / properties / attendeeEmail / description
      Previous value: -"Attendee email held on the ticket. The ticket is delivered here. Set from the purchaser at booking time; editable via the ticket update endpoint."New value: +"Attendee email held on the ticket. The ticket is delivered here. Set from the purchaser at booking time, or from the ticket's `attendee` on events that collect attendee details; editable via the ticket update endpoint."
    • changedOutput schema / properties / data / properties / attendeeName / description
      Previous value: -"Attendee name held on the ticket, shown on the ticket PDF and the guest list. Set from the purchaser at booking time; editable via the ticket update endpoint."New value: +"Attendee name held on the ticket, shown on the ticket PDF and the guest list. Set from the purchaser at booking time, or from the ticket's `attendee` on events that collect attendee details; editable via the ticket update endpoint."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the destructiveHint=true annotation: it discloses PATCH semantics ('Only supplied fields change'), blast radius ('the booking and customer records are untouched'), a side effect an agent could not guess ('the booking ticket PDF is regenerated when attendee details change'), and a concurrency hazard ('Door staff also write metadata during check-in, so avoid replace-everything sync patterns'). It also explains the per-entry add/overwrite/delete metadata model, which is exactly the kind of behavior an agent needs before calling a destructive tool.

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?

Four compact sentences, front-loaded with what changes and the lookup prerequisite, then side effects, then the confirmation warning. No filler or restatement of the title; every sentence contributes a distinct fact.

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 destructive mutation with an output schema, the description covers what an agent needs: target identification path, partial-update semantics, untouched related records, PDF side effect, metadata entry semantics with a concurrency caveat, and a confirm-first instruction. Nothing material is left to inference.

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, but the description adds meaning the schema does not: that omission of a field means no change rather than clearing, and that attendee changes trigger PDF regeneration. The per-entry metadata add/overwrite/null-delete semantics are repeated from the schema rather than extended, which caps it at 4.

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 - updating attendee details (name/email) and metadata on one event ticket - and scoping to 'one event ticket' implicitly separates it from update_ticket_group and update_ticket_type. An agent can tell what it mutates and on what granularity 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?

Explicitly routes ID discovery to list_tickets ('Use list_tickets first to discover the ticket ID by attendee name, email, or ticket short ID') and adds a precondition to confirm the target before a mutating call. It stops short of stating when not to use this tool (e.g., preferring group/type updates for bulk changes), so it is clear context rather than full alternatives coverage.

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