Skip to main content
Glama

Secret Santa Generator API - draw names with exclusions and private reveal links

secret_santa_generator
Read-onlyIdempotent

Draw names for a gift exchange in one call: everyone gives exactly one gift and gets one, never themselves. Rules: couples or families who must not draw each other, one-way rules (last year's pairs), and no two people who simply swap gifts (default). Optional wish per person, budget and gift day. Returns every pair and, for each person, a private link that shows only their match plus a ready message to send. The draw is cryptographically random and nothing is stored: it lives encrypted inside the links. Up to 500 people. For HR tools, party apps, chat bots and class or club websites. Free: 5 calls/day per IP. Paid: Radar API key (from €9/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.002/call via x402 at https://radarbg.com/x402/secret-santa-generator.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "date": "2026-12-19",
      "event": "Office Secret Santa",
      "names": [
        "Anna | books",
        "Ben",
        "Chloe",
        "David",
        "Emma"
      ],
      "budget": "25 EUR",
      "exclude": [
        "Anna, Ben"
      ]
    },
    "name": "secret_santa_generator"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoGift day, e.g. 2026-12-19 (links stop 45 days later)
eventNoName of the exchange, shown on the reveal page
namesYesPeople, 3 to 500. A wish can follow after |, e.g. 'Ben | coffee'. A text with one name per line works too
budgetNoGift budget, e.g. 25 EUR
excludeNoRules: 'Anna, Ben' = nobody in this group draws another one of them; 'Anna > Ben' = only Anna must not draw Ben
privateLinksNoAdd a private reveal link and message for each person
noMutualPairsNoNo pairs who give to each other (A to B and B to A)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: the draw is cryptographically random, nothing is stored, results live encrypted inside the links, links stop 45 days after the gift day, and there are rate limits (5 calls/day per IP) plus two auth mechanisms (X-API-Key or x402). These are exactly the operational details an agent needs before calling.

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?

Dense but front-loaded: the core action and invariants come first, then rules, then output shape, then limits and pricing. The audience list ("HR tools, party apps, chat bots…") is the one sentence that adds little for an agent, and the pricing URLs lengthen the block without helping invocation.

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 7 parameters all described at 100% coverage and no output schema, the description still explains the return shape ("Returns every pair and, for each person, a private link… plus a ready message"). Nothing needed to call the tool correctly is missing.

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 coverage is 100%, so baseline is 3. The description reframes exclude rules by use case ("couples or families who must not draw each other, one-way rules (last year's pairs)") and restates the noMutualPairs default, but it largely echoes syntax the schema already documents in full.

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?

Opens with a specific verb and resource: "Draw names for a gift exchange in one call," immediately followed by the core invariant (everyone gives one, gets one, never themselves). This is unmistakably distinct from the other generator siblings (qr_code_generator, password_generator, etc.) without needing to name them.

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 clear usage context ("For HR tools, party apps, chat bots and class or club websites"), hard limits ("Up to 500 people"), and the free/paid access paths. It does not state when NOT to use it or name an alternative, but no plausible sibling overlap exists, so the guidance is contextually sufficient rather than exhaustive.

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