Skip to main content
Glama

Open a lucky draw

create_lucky_draw

Opens Tickmi's free lucky draw (spinning wheel / slot machine random winner picker) pre-filled with the user's participant list, title and prize. Nothing is stored on a server: the list travels only inside the link, and the draw runs in the user's browser, ready to present on a big screen. Use when the user wants to randomly pick winners from 2–100 names.

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": {
      "participants": "<participants>"
    },
    "name": "create_lucky_draw"
  }
}

Input Schema

NameRequiredDescriptionDefault
prizeNoPrize name for the first round, e.g. "First prize".
titleNoTitle shown on screen, e.g. "Year-end party lucky draw".
languageNoLanguage of the page shown to participants: vi (Vietnamese) or en (English).vi
participantsYesNames (or name + ticket number), one per participant. 2 to 100.
winners_per_drawNoWinners picked per spin. Default 1.

Output Schema

NameRequiredDescriptionDefault
kindYes
view_urlYesLink to share with participants (or to open the tool).
expires_atNoISO time when the tool is deleted if not edited again.
manage_urlNoPrivate link for the creator to see results and edit. Keep it secret.
studio_import_urlNoinvite only: opens Tickmi Studio to turn the card into an event with RSVP and QR check-in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / kind / enum
      Previous value: -[
      -  "poll",
      -  "form",
      -  "lucky_draw",
      -  "qr"
      -]New value: +[
      +  "poll",
      +  "form",
      +  "lucky_draw",
      +  "qr",
      +  "invite"
      +]
    • addedOutput schema / properties / studio_import_url
      Added value: +{
      +  "description": "invite only: opens Tickmi Studio to turn the card into an event with RSVP and QR check-in.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial context beyond annotations: nothing is stored server-side, participant data travels only inside the link, the draw runs client-side in the browser, and it is built for big-screen presentation. That is valuable disclosure for a non-readonly, open-world tool. It does not say what the response/link looks like or whether the link expires, but the output schema covers returns.

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 action and followed by the behavioral guarantee and the usage trigger. Slightly dense with parenthetical keyword variants ('spinning wheel / slot machine random winner picker') but nothing is wasted or buried.

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?

For a five-parameter creation tool with full schema coverage, an output schema, and annotations covering safety, the description supplies the missing pieces an agent needs: the privacy model, the offline/browser execution model, and the valid participant range.

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 all five parameters (participants, title, prize, language, winners_per_draw) are already documented with limits and defaults. The description only restates that participant list, title and prize are pre-filled, adding framing but no new semantics. Baseline 3 applies.

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 ('Opens Tickmi's free lucky draw') and glosses the mechanism (spinning wheel / slot machine random winner picker), then names the concrete outcome: a pre-filled draw with participants, title and prize. Against siblings like create_poll and create_form, the phrase 'randomly pick winners' cleanly separates the use case.

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?

Gives an explicit triggering condition: 'Use when the user wants to randomly pick winners from 2–100 names,' including the size constraint that makes this tool appropriate. It does not name a when-not case or point to a specific sibling alternative, so it stops short of a full routing rule.

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