Skip to main content
Glama

Cancel a giveaway

cancel_giveaway
Idempotent

Use this when the user wants a running giveaway cancelled without winners (final). The card must then be confirmed on aiguild.me. Do not use for drawing it; 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": "cancel_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.4/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 safety profile is partially covered. The description adds genuinely new behavior: the change is staged on a pending card, nothing changes on Discord until apply_card, and out-of-band confirmation on aiguild.me is required. It stops short of saying whether a cancelled giveaway can be reversed or what happens to a stale pending card, so a 4 rather than 5.

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, each doing distinct work: selection criteria first, then the confirmation requirement, then the exclusion and staging model. No filler or redundancy.

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 mutation with no output schema, the description covers the full lifecycle (stage change, confirm externally, apply via apply_card) and routes the wrong case elsewhere. Only edge behavior for a missing or already-ended giveaway is unaddressed.

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 both parameters (guild_id sourced from list_my_servers, giveaway title or 'the only one running') are documented in the schema itself. The description adds no format or disambiguation detail beyond that, so the baseline 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 verb and resource plus a scope qualifier ('running giveaway cancelled without winners (final)'), and explicitly distinguishes itself from the drawing path by naming end_giveaway. An agent can tell exactly which operation this is 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 Guidelines5/5

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

Gives explicit when-to-use ('user wants a running giveaway cancelled without winners'), an explicit when-not ('Do not use for drawing it; use end_giveaway'), and the prerequisite flow (confirm on aiguild.me, then apply_card). Nothing about selection is left to inference.

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