Skip to main content
Glama

Start a giveaway

start_giveaway
Idempotent

Use this when the user wants a new giveaway posted in a channel. Do not use for changing a running one; use edit_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>",
      "channel": "<channel>",
      "prize": "<prize>",
      "duration": "<duration>"
    },
    "name": "start_giveaway"
  }
}

Input Schema

NameRequiredDescriptionDefault
bonusNoExtra chances.
prizeYesThe prize.
channelYesThe channel name.
winnersNo1 to 20, 1 by default.
durationYes30m, 12h or 3d (5 minutes to 30 days).
guild_idYesDiscord server ID, as returned by list_my_servers.
conditionsNoEntry requirements.
dm_winnersNoDirect message to winners (true by default).
publish_atNoPost later: ISO 8601 with offset, 60 days at most.
auto_rerollNoDraw again when a prize is not claimed.
claim_hoursNoHours winners have to claim (0: nothing to claim).
descriptionNoDescription.
mention_roleNoRole mentioned in the announcement (a role with more than 50 members: the card must then be confirmed on aiguild.me).
announce_winnersNoCongratulate winners in the channel (true by default).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the description isn't required to explain mutability. It still adds genuinely non-obvious context: the call only stages a pending card and 'nothing changes on Discord until apply_card', which prevents an agent from assuming immediate publication. It doesn't cover the extra confirmation gate mentioned in the schema for large mention roles or any failure behavior.

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?

Three short sentences, front-loaded with the use case, then the exclusion, then the staging semantics. Nothing is repeated from the schema and 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 14-parameter creation tool with full schema coverage and no output schema, the description covers the key things an agent needs: when to call it, what not to call it for, and the two-phase card/apply workflow. The remaining gap is what happens if no pending card exists for the server, which is left implicit.

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 description coverage is 100%, with all 14 parameters documented including enums, ranges and defaults, so the baseline is 3. The description adds no parameter-level meaning beyond what the schema already provides.

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 ('new giveaway posted in a channel') and immediately distinguishes itself from edit_giveaway, which handles running giveaways. An agent can choose between the two without opening either 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 an explicit when-to-use ('user wants a new giveaway posted') and an explicit when-not with a named alternative ('changing a running one; use edit_giveaway'). It also names apply_card as the follow-up step, though it doesn't say whether apply_card is mandatory or optional at this point.

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