Skip to main content
Glama

fetch_winners

Read-onlyIdempotent

Get winners from a sweepstakes with pagination. Use fetch_sweepstakes first to get the sweepstakes_token. Winners are sorted by draw date (most recent first). Supports search by email or phone. Use them internally for tool chaining but present only human-readable information (names, emails, draw dates).

fetch_winners

When to use

Get winners from a sweepstakes with pagination. Use fetch_sweepstakes first to get the sweepstakes_token. Winners are sorted by draw date (most recent first). Supports search by email or phone. Use them internally for tool chaining but present only human-readable information (names, emails, draw dates).

Pre-calls required

  1. fetch_sweepstakes if the user gave you a sweepstakes name instead of a token

Parameters to validate before calling

  • sweepstakes_token (string, required) — The sweepstakes token (UUID format)

  • page (number, optional) — Page number for pagination (default: 1)

  • items_per_page (number, optional) — Results per page (default: 10)

  • search (string, optional) — Search filter for email or phone number (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination (default: 1)
searchNoSearch filter for email or phone number (optional)
items_per_pageNoResults per page (default: 10)
sweepstakes_tokenYesThe sweepstakes token (UUID format)

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context: winners are sorted by draw date (most recent first), supports search by email or phone, and advises using raw data internally while presenting only human-readable names, emails, and draw dates. This goes beyond the annotation hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The description is structured with sections (title, When to use, Pre-calls, Parameters) which aids navigation, but it unnecessarily repeats the opening paragraph verbatim in the 'When to use' section. This redundancy makes it longer than needed, though the front-loaded summary does provide immediate clarity.

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?

The tool has no output schema, so the description carries the burden of explaining return-related context. It adequately covers prerequisites (fetch_sweepstakes), pagination defaults, sorting behavior, search capability, and how to present results. Given the read-only nature and modest complexity, this is sufficiently complete, though it could mention error scenarios or rate limits.

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%, so the baseline is 3. The description includes a 'Parameters to validate before calling' section that mirrors the schema's parameter descriptions (e.g., sweepstakes_token UUID format, default values for page and items_per_page). It adds minimal new meaning beyond the schema, except framing these as validations to perform before calling, which is a minor semantic addition.

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 clearly states 'Get winners from a sweepstakes with pagination', using a specific verb and resource. It further distinguishes itself from siblings like 'draw_winners' (which creates winners) and 'fetch_sweepstakes' (which retrieves sweepstakes) by focusing on retrieving existing winners. The mention of sorting by draw date adds scope specificity.

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 description explicitly instructs to 'Use fetch_sweepstakes first to get the sweepstakes_token' and includes a 'Pre-calls required' section detailing the prerequisite. It also gives guidance on handling results ('Use them internally for tool chaining but present only human-readable information'). While it doesn't explicitly mention when NOT to use it or alternatives, the context is clear and actionable.

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.

TDQS

A3.6/5.0
Disambiguation4/5

Most tools follow a clear resource+action pattern (fetch_* for lists, get_* for single items, create/update/delete for writes), making them distinguishable. A few near-overlaps exist (fetch_billing_transactions vs fetch_wallet_transactions, draw_winners vs schedule_drawing) but the descriptions clarify the boundaries.

Naming Consistency4/5

Tool names consistently use snake_case verb_noun, with fetch_ for list operations and get_ for single-item retrieval. Some verb variation (add_participant, count_participants, draw_winners, schedule_drawing) deviates from the dominant create/fetch/update/delete pattern but remains predictable and readable.

Tool Count1/5

With 83 tools, this is far beyond a well-scoped server (typically 3-15, with 25+ considered too many). Even though the platform has broad functionality, the sheer number of tools creates significant agent confusion and selection overhead.

Completeness4/5

The sweepstakes domain is thoroughly covered: lifecycle management, participants, groups, rules, drawings, winners, calendar, notes, todos, tickets, surveys, invoices, billing, files, and entry settings. A few minor gaps exist (e.g., no general participant field update, no archive action) but the surface is remarkably complete for its scope.

Resources