Skip to main content
Glama

EventPass

Sales summary

get_sales_summary
Read-onlyIdempotent

Sales summary for one event: confirmed and pending orders, tickets sold, money collected, and money still outstanding, plus a breakdown by payment method. Collected means money the organizer has actually received (confirmed orders); outstanding is what pending orders still owe. Use this to answer 'how are sales going?' for an event.

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": {
      "event_id": "<event_id>"
    },
    "name": "get_sales_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesEvent ID from list_my_events
organization_idNoOrganization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one.

Output Schema

NameRequiredDescriptionDefault
eventYes
ordersYes
collectedYes
outstandingYes
tickets_soldYes
by_pay_methodYes
collected_centsYes
outstanding_centsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so safety is covered by structured data. The description's real contribution is semantic: it defines 'collected' as money actually received from confirmed orders and 'outstanding' as what pending orders still owe, which prevents an agent from misreporting the numbers. It does not mention auth/permission requirements or freshness of the figures, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the payload contents, then the metric definitions, then the use case — a logical order with little waste. The definitional sentence about collected/outstanding earns its place; the only mild redundancy is restating the field list at the start and again in the definition sentence.

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?

With an output schema present, the description needn't describe return shape, and annotations cover the safety profile. What it does supply — metric definitions and the intended question it answers — is enough to invoke and interpret the tool correctly. A brief note on the aggregation window (whole event, no date filtering) would make it fully complete.

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%, and both event_id and organization_id (including the single-vs-multi organization rule) are fully documented in the schema. The description adds nothing about parameter meaning or syntax, so the baseline of 3 applies.

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?

The description names a specific resource and enumerates exactly what the summary contains: confirmed and pending orders, tickets sold, money collected, money outstanding, and a per-payment-method breakdown. The scope 'for one event' is stated up front, so it is clearly distinguishable from listing tools such as listEvents. It never names a sibling (e.g. get_pending_payments) as the narrower alternative, so it falls just short of full differentiation.

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?

The closing sentence gives a concrete usage context ('how are sales going?' for an event), which is more than a bare purpose statement. However, there is no guidance on when NOT to use it — for instance, when the agent only needs pending payments (get_pending_payments) or a per-attendee breakdown. The routing decision is implied rather than spelled out.

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