Skip to main content
Glama
pretix-agent-mcp

pretix-agent-mcp

list_vouchers

List an event's vouchers with price mode, value, usage counts, and validity to check whether codes remain usable and filter them client-side.

Instructions

List an event's vouchers with their price mode, value, usage count and validity.

redeemed versus max_usages tells you whether a code can still be used; pretix has no "still usable" filter, so filter client-side after reading.

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": "<event>"
    },
    "name": "list_vouchers"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
codeNo
itemNo
eventYes
limitNo
subeventNo
price_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the returned fields and the redeemed-versus-max_usages semantics, plus the important limitation that usability cannot be filtered server-side. It says nothing about pagination/limit behavior, result ordering, or permission requirements, which matters for a 7-parameter list tool.

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 short sentences with the payload front-loaded and no filler. The second sentence earns its place by warning about client-side filtering, though "after reading" is slightly vague about whether it means after paging through all results.

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

Completeness2/5

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

For a 7-parameter tool with no annotations, no output schema, and 0% schema description coverage, the description is thin: it explains return fields but not the filter parameters, pagination, or total-count behavior. An agent could call it, but would be guessing about most of the inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it largely does not. Six optional filters (tag, code, item, subevent, price_mode, limit) go unexplained; "price mode" appears only as a returned field, not as a documented filter, and there is no guidance on whether filters combine or what limit defaults to.

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?

States a specific verb and resource ("List an event's vouchers") and enumerates the fields returned (price mode, value, usage count, validity), so the agent knows exactly what it gets back. It does not explicitly distinguish itself from other read tools that might surface voucher data, leaving that differentiation to the resource name alone.

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?

Provides one concrete usage instruction: pretix has no "still usable" filter, so the agent must filter client-side after reading. That is real guidance about post-processing, but there is no when-to-use/when-not-to-use framing and no pointer to an alternative tool for related lookups.

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