Skip to main content
Glama

Update a discount

eventbrite_update_discount
Destructive

Change a discount or access code (amount, uses, dates, scope); only the fields you pass are sent. Eventbrite: POST /discounts/{discount_id}/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoNew code.
end_dateNoUsable until, naive local time in the event's timezone, e.g. 2026-11-01T09:00:00.
event_idNoLimit to one event. Omit (with ticket_group_id also omitted) for an organization-wide discount.
amount_offNoFixed amount off in the event currency, e.g. "10" or "7.50". Not together with percent_off.
start_dateNoUsable from, naive local time in the event's timezone, e.g. 2026-11-01T09:00:00.
discount_idYesDiscount ID.
percent_offNoPercentage off, 1.00–100.00, e.g. "20". Not together with amount_off.
ticket_group_idNoLimit to one ticket group.
ticket_class_idsNoLimit to these ticket classes of event_id.
quantity_availableNoHow many times it can be used; 0 = unlimited.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations supply only destructiveHint=true, so the description must carry behavioral weight. It usefully clarifies that unpassed fields are left untouched, which is real information beyond the annotation, but says nothing about effects on already-issued/redeemed codes, reversibility, or auth requirements for a mutating endpoint.

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?

Two compact clauses, front-loaded with the core action and the partial-update rule, plus the backing endpoint. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter mutation with no output schema, the essentials (op, partial semantics, endpoint) are present and the schema covers parameters fully. It stops short of disclosing the consequences of editing a live discount or how failures surface, which an agent would want before calling a destructive-hinted tool.

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 100%, so all 10 parameters are already documented with formats, patterns, and mutual exclusions in the schema. The description's field list (amount, uses, dates, scope) adds no syntax or constraint detail beyond it, so baseline 3 applies.

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 (Change) and resource (a discount or access code) and enumerates the mutable facets (amount, uses, dates, scope). Against siblings like eventbrite_create_discount and eventbrite_list_discounts the operation is unmistakably the update path.

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?

'Only the fields you pass are sent' implies partial-update (PATCH-style) invocation, which is genuine usage context. However, it never states when to choose this over eventbrite_create_discount or eventbrite_list_discounts, nor any prerequisites or 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.