Skip to main content
Glama

Reroll a giveaway

reroll_giveaway
Idempotent

Use this when the user wants a new winner drawn for an ended giveaway (never a previous winner; final). The card must then be confirmed on aiguild.me. Do not use for a running giveaway; use end_giveaway. Adds the change to the pending card for this server; nothing changes on Discord until apply_card.

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": {
      "guild_id": "<guild_id>"
    },
    "name": "reroll_giveaway"
  }
}

Input Schema

NameRequiredDescriptionDefault
giveawayNoThe giveaway title (or the only one ended).
guild_idYesDiscord server ID, as returned by list_my_servers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive mutation. The description adds important behavior beyond that: the winner excludes previous winners, the result is final, the change is staged on a pending card, external confirmation is required, and Discord is not updated until apply_card is called.

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?

The description is front-loaded with the primary usage condition, then the sibling alternative, then the side-effect workflow. Every sentence contributes actionable information and there is no wasted wording.

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 mutation tool with complete parameter schema coverage and explicit annotations, the definition covers purpose, alternatives, selection constraints, and the external pending-card workflow. Nothing essential for correct invocation 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 both parameters are already documented. The description adds contextual constraints around eligible giveaways but does not add new syntax or format meaning for the giveaway or guild_id parameters beyond 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: drawing a new winner for an ended giveaway. It explicitly distinguishes this from ending a running giveaway and from applying the pending card, so an agent can identify the tool without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance: for an ended giveaway when a new winner is wanted. It also gives when-not-to-use guidance by directing running giveaways to end_giveaway, and explains the follow-up steps on aiguild.me and via apply_card.

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