Skip to main content
Glama

Change a Secret Santa draw

update_santa_draw
DestructiveIdempotent

Change a draw this account made. title, budget and date: any time, links stay the same. names (the full new list) and exclude (the full new list; left out, the pairs between people who stay are kept): only while nobody has opened their link (else santa_started); a changed list draws again (redrawn: true), every person gets a new link and the old ones stop working — tell the user to send the new 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": {
      "draw_id": "<draw_id>"
    },
    "name": "update_santa_draw"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD, or empty to remove
namesNo
titleNo
budgetNo
draw_idYes
excludeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/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 concrete destructive consequence: a changed list forces a redraw (redrawn: true), every participant receives a new link, and old links stop working. It even prescribes an agent action ('tell the user to send the new links') and names the error returned when links have already been opened, which the destructiveHint alone would never convey.

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 and front-loaded, with the free-to-change fields stated before the gated ones and the side effect last. The telegraphic punctuation ('names (the full new list) and exclude (...)') costs some readability but no sentence is wasted.

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?

For a destructive 6-parameter mutation with no output schema, the description covers gating, error behavior, and side effects on participants' links. Remaining gaps are minor: whether the response returns the new links, and the expected format of budget and exclude pairs.

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?

With only 17% schema description coverage, the description carries most of the burden and does so for the risky parameters: names is the full new list, exclude is the full new list with retained pairs kept, and title/budget/date are freely editable. It does not clarify the shape of exclude entries (pairs) or where draw_id comes from, leaving some schema gaps uncovered.

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 ('Change a draw this account made') and implicitly separates itself from create_santa_draw, delete_santa_draw and get_santa_draw by naming the mutation verb and the editable fields. An agent can identify the operation without opening the 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?

Gives unusually precise when/when-not conditions per field group: title/budget/date may change any time, while names and exclude only while nobody has opened their link, with the failure mode named (santa_started). It does not route the agent to alternatives for related tasks (e.g. set_custom_link for individual links), so it falls short of a 5.

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