Skip to main content
Glama

End a giveaway now

end_giveaway
Idempotent

Use this when the user wants a running giveaway drawn now (final). The card must then be confirmed on aiguild.me. Do not use for cancelling it without winners; use cancel_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": "end_giveaway"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare non-read-only, idempotent, non-destructive behavior, but the description goes further by disclosing the deferred-write workflow: the change is staged on the server's pending card and nothing takes effect on Discord until apply_card is called. That is genuinely useful context an agent cannot get from annotations. It does not cover what the confirmation step returns or whether ending is revertible after confirmation, which keeps it short of the top.

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?

Three tight sentences with the trigger condition front-loaded, followed by the confirmation requirement and the exclusion. No filler, though the ordering intermixes usage routing with workflow mechanics rather than separating them.

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 two-parameter, no-output-schema tool, the description covers purpose, routing, and the staging/confirmation lifecycle, which is what an agent needs to avoid a premature effect. The only gap is what the confirmed end actually produces for winners.

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%, and the schema itself already explains that giveaway may be omitted when only one is running and that guild_id comes from list_my_servers. The description adds no extra meaning about the parameters beyond that, so the baseline of 3 applies.

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 action on a specific resource: draw a running giveaway now, marked final. It also names the sibling it must not be confused with (cancel_giveaway) and distinguishes ending-with-winner from cancelling-without-winners, so an agent can route correctly without opening sibling 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 an explicit when ('user wants a running giveaway drawn now'), an explicit when-not ('do not use for cancelling it without winners'), and names the alternative tool to use instead. The required post-step ('card must then be confirmed on aiguild.me') further constrains correct usage.

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