Skip to main content
Glama

Draw names for Secret Santa

create_santa_draw

Secret Santa for a group: draws who gives a gift to whom (one circle; nobody draws themselves; pairs in exclude never draw each other, either way). Free. Returns one private link per person (members[].url: shows only that person whom they give to) and organizerUrl (the list of everyone's links and who has opened theirs, never the pairs). The user sends each person only their own link. Fails with santa_too_few, santa_too_many, santa_duplicate (two people with the same name: add an initial) or santa_impossible (the exclusions leave no draw).

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": {
      "names": "<names>"
    },
    "name": "create_santa_draw"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional gift day, YYYY-MM-DD
langNoThe language of everyone's links
namesYesEveryone taking part, first names, all different
titleNoThe group, e.g. "Office Secret Santa 2026"
budgetNoOptional, as the user says it, e.g. "€20"
excludeNoPairs of names who must not draw each other (couples, people who exchange gifts anyway)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "uk",
      -  "es",
      -  "de",
      -  "fr",
      -  "pt",
      -  "it",
      -  "pl",
      -  "tr"
      -]New value: +[
      +  "en",
      +  "uk",
      +  "es",
      +  "de",
      +  "fr",
      +  "pt",
      +  "it",
      +  "pl",
      +  "tr",
      +  "ar"
      +]
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the privacy model (each member link reveals only that person's recipient; organizerUrl never exposes the pairs), the cost ("Free"), and the full failure taxonomy with remedies (santa_duplicate → add an initial, santa_impossible → exclusions leave no draw). These are behavioral facts an agent cannot derive from readOnlyHint/destructiveHint/idempotentHint alone.

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?

Front-loads the core action and constraints, then the return shape, then error codes — a logical order with no filler. The error-code sentence is dense and slightly list-like, but each item carries actionable information.

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?

There is no output schema, and the description compensates by naming the returned fields (members[].url, organizerUrl) and explaining what each reveals. Combined with the error codes and the distribution instruction, an agent has everything needed to call this correctly and interpret the 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: exclusions are symmetric ("never draw each other, either way") and duplicate names are a hard failure with a stated fix. It does not elaborate on date, budget, or lang, but those are already fully described in the schema.

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 ("draws who gives a gift to whom") plus the exact constraints of the draw (one circle, no self-draw, exclusions respected). This is clearly distinguishable from the sibling get/update/delete_santa_draw tools, which operate on an existing draw.

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 concrete operating guidance: "The user sends each person only their own link," which tells the agent how the output is meant to be distributed. It does not explicitly state when to prefer this over alternatives such as create_quest, nor when not to call it (e.g., re-drawing an existing group), so it stops short of full routing guidance.

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