Skip to main content
Glama

calculate_item_pricing

Calculate Eventbrite ticket fees and taxes for a given base price, country, and scope to preview hypothetical pricing before publishing an event.

Instructions

Calculate hypothetical fees for ticket pricing.

ENDPOINT: POST /pricing/calculate_price_for_item/

Calculates Eventbrite fees for given price based on scope (organization, event, ticket_class, assortment_plan).

PARAMETERS:

  • base_price (string, required): Format "CURRENCY,amount_in_cents"

  • country (string, required): ISO 3166 2-letter code

  • scope (object, required): type (organization/event/ticket_class/assortment_plan) and identifier

  • absorb_fees (boolean): Include fees in base price

  • absorb_taxes (boolean): Include taxes in base price

  • payment_type: eventbrite, authnet, paypal

  • channel: web, atd

ERRORS (400):

  • PRICING_MODEL_NOT_SUPPORTED, INVALID_CURRENCY_COUNTRY_COMBINATION, BASE_PRICE_TOO_LOW_TO_ABSORB, ARGUMENTS_ERROR

AUTHENTICATION: Requires: Authorization: Bearer PERSONAL_OAUTH_TOKEN

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYesScope object with type and identifier (required)
channelNoSales channel
countryYesCountry code (required)
base_priceYesBase price (required, e.g., "USD,1000")
absorb_feesNoAbsorb fees
absorb_taxesNoAbsorb taxes
payment_typeNoPayment type

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.6

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so fairly well: it discloses the endpoint, the auth requirement (Bearer PERSONAL_OAUTH_TOKEN), and four specific 400 error codes. It does not explicitly state that nothing is persisted, though 'hypothetical' strongly implies it.

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?

Front-loads the purpose and then uses labeled sections (ENDPOINT, PARAMETERS, ERRORS, AUTHENTICATION) that are easy to scan. Slightly verbose in restating parameters, but every block carries actionable information.

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?

No output schema exists, and the description stops at 'calculate hypothetical fees' without describing the returned fee breakdown; the errors and auth sections partially compensate. Given the tool's modest complexity and fully documented inputs, this is nearly complete but leaves the response shape implicit.

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% but the schema descriptions are terse ('Sales channel', 'Payment type'), so the description adds real semantic value by enumerating allowed values (payment_type: eventbrite/authnet/paypal; channel: web/atd; scope types) and the base_price 'CURRENCY,amount_in_cents' format. It stops short of documenting the scope identifier format.

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 ('Calculate hypothetical fees for ticket pricing') and further narrows it to Eventbrite fees based on scope, which cleanly separates it from data-retrieval siblings like list_fee_rates. The word 'hypothetical' also signals this is a non-mutating estimate.

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?

Usage is implied by 'hypothetical fees' and the enumerated scope types (organization/event/ticket_class/assortment_plan), so an agent can infer this is a pre-pricing estimate. However, it never explicitly says when to use this versus list_fee_rates or other pricing-adjacent tools, 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.

Deploy Server

Other Tools