Skip to main content
Glama

Update ticket

update_ticket
Destructive

[REQUIRES HUMAN APPROVAL] Change an admission ticket type. Pass ticketId from list_tickets and the fields to change: use price in minor currency units or maxInventory for the ticket count. Returns the ticket API response.

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>",
      "attributes": "<attributes>"
    },
    "name": "update_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.
ticketIdYesTicket type ID.
attributesYesTicket type fields to update.
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. Changed2 schema fields changed
    • addedInput schema / properties / attributes / description
      Added value: +"Ticket type fields to update."
    • 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

A3.8/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false; the description adds a genuinely new behavioral constraint in the '[REQUIRES HUMAN APPROVAL]' tag and notes that it returns the ticket API response. What is missing is partial-update semantics – whether fields not moved in `attributes` are preserved or cleared – which matters for a destructive mutation.

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?

Three compact sentences, with the approval gate front-loaded so it is read before the mutation instructions. The final sentence ('Returns the ticket API response') is thin but does convey the shape of a tool that has no output schema. No filler.

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 destructive five-parameter tool with a nested free-form object and no output schema, the description covers the approval requirement, the two meaningful attribute fields, and the return shape. The remaining gap is update semantics for unspecified fields, which an agent would want before calling a destructive tool.

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 earns above it by documenting the otherwise opaque `attributes` bag: price is in minor currency units, maxInventory sets the ticket count. That is meaning the empty `additionalProperties: {}` schema cannot convey. It does not explain eventId defaulting or idempotencyKey replay, though both are already covered in the schema.

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 ('Change an admission ticket type') and scopes it to fields on that ticket type. An agent can distinguish this from the sibling update_* tools because the mutated resource is named concretely. It stops short of explicitly contrasting with those siblings, so it sits just below the top mark.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Gives a concrete prerequisite chain ('Pass ticketId from list_tickets') and names the fields to supply, which is real when-to-use context. However, it never states when not to use this tool or which sibling to prefer for adjacent changes (add-ons, promotions, tables), leaving routing to inference.

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