Skip to main content
Glama
pretix-agent-mcp

pretix-agent-mcp

search_orders

Find an event's orders newest first as compact summaries, filtered by status, buyer email, fuzzy search, creation date, or subevent. Use it to locate order IDs before fetching details.

Instructions

Find orders of one event, newest first, as a compact summary per order.

Filters: status (n pending, p paid, e expired, c canceled), email (exact buyer address), search (fuzzy over names, emails, companies), created_since (ISO 8601), subevent (series date id). Without filters you get the most recent limit orders — the page size is capped server-side, so this never dumps the whole event.

Returns no contact details: use get_order for one order's buyer and attendee data, or search_attendees to look across attendees. For totals and counts use sales_summary.

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": "search_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNo
eventYes
limitNo
searchNo
statusNo
subeventNo
created_sinceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden well: it discloses result ordering, that paging is server-side capped so it "never dumps the whole event," and that contact details are omitted from the response. Gaps remain around the actual cap value and any permission requirements, but the behavioral profile is substantially richer than the structured data.

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-loads purpose in the first sentence, groups filter semantics in a compact block, and closes with routing to alternatives. Every sentence carries information an agent needs; no restatement of the tool name or filler prose.

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 seven-parameter read tool with no annotations and no output schema, the description covers the essentials: what comes back ("compact summary per order"), what does not (contact details), and where to go for the rest. The exact contents of the "compact summary" and the server-side cap are unspecified, which is the only meaningful remaining ambiguity.

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 0%, so the description must compensate, and it does: it decodes the status codes (n/p/e/c), explains email as an exact match versus search as fuzzy over names/emails/companies, specifies ISO 8601 for created_since, and identifies subevent as a series date id. The required `event` parameter's accepted identifier format and the concrete limit cap are left unstated, so it stops short of full coverage.

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 ("Find orders of one event"), plus ordering ("newest first") and return shape ("compact summary per order"). It also implicitly distinguishes itself from detail-oriented siblings by calling out that it returns a summary rather than full records.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent away from this tool for adjacent needs: "use get_order for one order's buyer and attendee data, or search_attendees to look across attendees. For totals and counts use sales_summary." Combined with the no-filter default behavior, an agent can decide when to call this without opening any other definition.

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