Skip to main content
Glama
dragosh29

Line-Up MCP server

by dragosh29

Packages, products and add-ons

list_packages_and_add_ons
Read-onlyIdempotent

Fetch packages for an event or performance; if a transaction ID is given, also return that basket's products and add-ons.

Instructions

Packages (bundles priced per performance, with capacity remaining and total price) for one event (GET /package/, paged) or one performance (GET /performance/{id}/package/). With a transaction_id, also the products available to that basket (GET /product/) and its add-ons such as booking protection (GET /add-on/); the API scopes both to a transaction, so without one they are not fetched. Give event_id or performance_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoAPI page number to start from (1-based, as the spec documents; use next_page from a previous call)
event_idNoPackages for every performance of this event (API parameter `event_id`, required by GET /package/)
package_idNoOnly this package (API parameter `package_id`)
max_resultsNoStop once at least this many records have been fetched. Whole API pages are returned, so up to one page more may come back; next_page says where to continue
performance_idNoPackages for this one performance instead
start_date_gteNoOnly performances starting on or after this date (API parameter `start_date.gte`)
start_date_lteNoOnly performances starting on or before this date (API parameter `start_date.lte`)
transaction_idNoA basket (txn_ id) to list products and add-ons for (API parameter `transaction_id`)
include_contact_detailsNoInclude email addresses and phone numbers typed into package, product and add-on names and descriptions. Off by default: email addresses and phone numbers typed into any text field (names, descriptions, notes, labels, references) are replaced with [email redacted] / [phone redacted].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds real behavioral context beyond that: results are paged, and products/add-ons are silently omitted without a transaction_id (a non-obvious scoping quirk that would otherwise look like an empty result). It stops short of covering auth needs or rate limits, so 4 rather than 5.

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?

Two sentences, front-loaded with the primary resource and its contents before the conditional transaction branch. The parenthetical endpoint citations add useful anchoring, though the second sentence is dense enough that it takes a second pass to parse.

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 9-parameter read-only listing tool with no output schema, the description covers the essentials: what comes back, how the two modes differ, the paging model, and the transaction scoping constraint. Missing only edge-case behavior (e.g. empty results, ordering), which is minor at this complexity.

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 description coverage is 100%, so the baseline is 3. The description still adds meaning the schema does not: the schema marks zero required parameters, while the description tells the agent it must supply event_id or performance_id, and it explains the transaction_id dependency that governs whether products/add-ons appear at all.

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?

The description names a specific verb and resource ('Packages ... for one event ... or one performance'), enumerates what the records contain (bundles priced per performance, capacity remaining, total price), and cites the exact endpoints (GET /package/, GET /performance/{id}/package/, GET /product/, GET /add-on/). No sibling tool covers packages or add-ons, so the agent can separate it from list_events/get_transaction without opening the schema.

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?

It states the selection rule plainly ('Give event_id or performance_id') and explains the transaction branch conditionally: products and add-ons are only fetched when transaction_id is supplied, because the API scopes them to a transaction. That is clear when-to-use guidance, though it never names an alternative sibling tool or a when-not-to-use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.