Skip to main content
Glama

Create a Secret Santa draw

create_draw

Create a draw and run it. Returns the organizer link plus one private link per person who has no email. NEVER returns who gives to whom. People with an email get their link only by email: call send_invites. Couples and households are groups of names who must not draw each other. Exclusions are one-way unless both is true. If the rules are impossible, nobody is assigned and the result explains why. Do not open the private links.

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

Input Schema

NameRequiredDescriptionDefault
nameYesGroup name, shown on every private page.
budgetNoNumber or text. Combined with currency.
regionNoRegion code from list_regions (US, ES, CT for Catalonia, DE, MX, …). Sets the local name of the game, the default language and the currency.
couplesNoCouples or households. Each inner list is two or more names who must not give to each other.
messageNoOptional note shown on the private pages. Do not put assignments here.
currencyNoISO currency code. Defaults from the region.
languageNoLanguage of the reply and the share messages: en, es, ca, de, pt, fr, it, nl, pl, da, no, sv, ru, ko, ja. Defaults from region.
exclusionsNoExtra rules. from does not give to to. both means neither gives to the other.
participantsYesPeople in the draw. At least 3, or 2 if allow_reciprocal is true.
exchange_dateNoShown to participants. It does not reveal the list. YYYY-MM-DD or free text.
allow_reciprocalNoWhen false (default), two people cannot draw each other. A draw of 2 people needs this set to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / couples / items / description
      Added value: +"Names in one household or couple who must not give to each other."
    • addedInput schema / properties / couples / items / items / description
      Added value: +"A participant's name, as given in participants."
    • addedInput schema / properties / exclusions / items / description
      Added value: +"One extra exclusion rule."
    • addedInput schema / properties / exclusions / items / properties / both / description
      Added value: +"When true, neither person may give to the other. When false or omitted, the rule is one-way."
    • addedInput schema / properties / exclusions / items / properties / from / description
      Added value: +"Name of the person who must not give a gift to `to`."
    • addedInput schema / properties / exclusions / items / properties / to / description
      Added value: +"Name of the person who must not receive a gift from `from`."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare the generic write profile (readOnlyHint=false, idempotentHint=false); the description supplies the specific behavior an agent actually needs — the return shape, the guarantee that assignments are never disclosed, the all-or-nothing outcome when rules are impossible, and the handling constraint on private links.

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?

Six short sentences with no filler, front-loaded on what the tool does and returns. Every sentence carries a distinct operational fact (return values, non-disclosure, invite routing, exclusion directionality, failure mode, link handling).

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?

With 11 parameters and no output schema, the description has to carry the return contract, and it does explicitly (organizer link, per-person private links, never the mapping). The impossible-rules failure mode is also documented, so an agent knows how to interpret an unassigned result.

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 100%, so the baseline is 3, but the description adds real meaning on top: couples/households are mutual non-draw groups while explicit exclusions are one-way unless `both` is true. That clarifies the asymmetric semantics of the two similar-looking parameters better than the schema alone does.

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?

"Create a draw and run it" gives a specific verb plus resource, and the following sentences state exactly what comes back (organizer link plus one private link per person with no email) and what never comes back (assignments). An agent can distinguish this from get_draw or redraw without opening any 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?

The description explicitly routes the agent: people with an email get their link only via send_invites, so this tool alone is not the full delivery path. It also warns "Do not open the private links." It does not cover when to prefer redraw over creating a new draw, which is the one missing branch.

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