Skip to main content
Glama

XP Tickets

Get My Referral Kickbacks

get_my_referral_kickbacks
Read-only

Use when an authenticated user wants their XP marketplace referral kickback totals and rows (e.g. 'how many friends bought tickets to the season opener through my link?', 'show my kickbacks'). Returns direct/indirect referral counts, total spend, total kickback (cents), and per-referral rows from the XP marketplace. Read-only; requires auth and read:account scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_endNoOptional order-window end (YYYY-MM-DD).
order_startNoOptional order-window start (YYYY-MM-DD).
referral_endNoOptional referral-window end (YYYY-MM-DD).
referral_startNoOptional referral-window start (YYYY-MM-DD).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint/openWorldHint. The description adds meaningful context beyond them: it requires auth and the read:account scope, and it enumerates what the response contains (counts, spend, kickback in cents, per-referral rows). Slight redundancy on 'read-only' but the auth/scope disclosure is real value.

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?

Front-loaded with the triggering condition, then returns, then behavioral constraints. Three tight clauses with no filler.

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?

Purpose, trigger conditions, auth/scope requirements, and return shape are all covered, and an output schema plus rich annotations handle the rest. Nothing an agent needs to call it correctly is missing.

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?

All four date-window parameters are documented in the schema at 100% coverage, so the baseline of 3 applies. The description adds no extra meaning about the order_* vs referral_* semantic distinction beyond what the schema offers.

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 ('their XP marketplace referral kickback totals and rows') with concrete example queries, making it easy to distinguish from siblings like get_my_orders or get_my_wallet. The scope (XP marketplace referrals) is precise.

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?

The 'Use when an authenticated user wants...' clause plus two example queries gives clear context for when to invoke it. It does not name explicit alternatives or exclusions, so a 4 rather than 5.

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