Community & Engagementmcp:write

configure_giveaways

Configure GiveawayGuildConfig default Components V2/embed templates, host/bypass/required role presets, and Top.gg review verification channel on the dedicated taicket_giveaways database.

readOnlyHint: falseidempotentHint: truedestructiveHint: falseopenWorldHint: false

Overview

Configures reusable Giveaway defaults in the isolated taicket_giveaways MongoDB database, including default container or embed styling, accent color, default announcement channel, default ping role, host/bypass/required role presets, winner DM preference, and Top.gg review verification channel.

Launching, editing, ending, rerolling, or deleting live active giveaways remains strictly dashboard-only on https://taicket.xyz or directly in Discord.

Permissions

Required Scopes
mcp:write
Discord Role Access
Real Admin or active Temp Admin.
Server-Side Guard
checkManageGuild + cross-guild channel and role verification
Subscription Tier
Available on Free, Pro, and Enterprise.

Dashboard-only security boundaries

Launching, editing, ending, rerolling, or deleting live active giveaways remains strictly on https://taicket.xyz or Discord commands.

Input Schema

JSON Schema enforced by the server prior to RBAC and tier validation. Unknown properties are rejected strictly.

configure_giveaways.inputSchema.jsonjson
{
  "type": "object",
  "properties": {
    "guildId": {
      "type": "string",
      "pattern": "^\\d{17,22}$",
      "description": "Discord server (guild) snowflake ID."
    },
    "mode": {
      "type": "string",
      "enum": [
        "preview",
        "apply"
      ],
      "default": "preview",
      "description": "Execution mode. Use preview to validate and inspect changes before writing."
    },
    "liveAction": {
      "type": "string",
      "enum": [
        "create",
        "edit",
        "end",
        "reroll",
        "delete"
      ],
      "description": "Blocked over MCP. Starting, editing, ending, rerolling, or deleting live giveaways is strictly dashboard-only."
    },
    "defaultStyle": {
      "type": "string",
      "enum": [
        "container_v2",
        "container",
        "embed"
      ],
      "description": "Shorthand default giveaway card layout (maps container_v2 to container)."
    },
    "defaultDisplayMode": {
      "type": "string",
      "enum": [
        "container",
        "embed"
      ],
      "description": "Default display mode for new giveaways."
    },
    "accentColor": {
      "type": "string",
      "pattern": "^#?[0-9a-fA-F]{6}$",
      "description": "Shorthand hex accent color for giveaway containers."
    },
    "defaultAccentColor": {
      "type": "string",
      "pattern": "^#?[0-9a-fA-F]{6}$",
      "description": "Default 6-digit hex accent color for giveaway cards."
    },
    "defaultChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Default Discord text channel ID for posting new giveaways."
    },
    "defaultPingRoleId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional guild role ID to mention when launching new giveaways."
    },
    "reviewVerificationChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional text channel ID for Top.gg review verification."
    },
    "topggReviewChannelId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^\\d{17,22}$"
        },
        {
          "type": "null"
        }
      ],
      "description": "Alias for reviewVerificationChannelId."
    },
    "dmWinners": {
      "type": "boolean",
      "description": "Whether to direct-message winners by default."
    },
    "winnerAnnouncementTemplate": {
      "type": "string",
      "maxLength": 1000,
      "description": "Default template used when announcing giveaway winners."
    },
    "hostRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 25,
      "description": "Default guild role IDs authorized to host giveaways."
    },
    "defaultHostRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 25,
      "description": "Alias for hostRoleIds."
    },
    "bypassRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 25,
      "description": "Default guild role IDs allowed to bypass giveaway entry requirements."
    },
    "defaultBypassRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 25,
      "description": "Alias for bypassRoleIds."
    },
    "requiredRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 25,
      "description": "Default guild role IDs required to enter giveaways."
    },
    "defaultRequiredRoleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{17,22}$"
      },
      "maxItems": 25,
      "description": "Alias for requiredRoleIds."
    },
    "defaultContainerBlocks": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      },
      "maxItems": 25,
      "description": "Default Components V2 container blocks template."
    },
    "defaultEmbedConfig": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ],
      "description": "Default classic embed template configuration."
    }
  },
  "required": [
    "guildId"
  ],
  "additionalProperties": false
}

Parameters

NameTypeRequiredDescription
guildIdstringRequired

Discord server (guild) snowflake ID.

modestringOptional (preview)

Execution mode. Use preview to validate and inspect changes before writing.

Allowed: preview | apply

liveActionstringOptional

Blocked over MCP. Starting, editing, ending, rerolling, or deleting live giveaways is strictly dashboard-only.

Allowed: create | edit | end | reroll | delete

defaultStylestringOptional

Shorthand default giveaway card layout (maps container_v2 to container).

Allowed: container_v2 | container | embed

defaultDisplayModestringOptional

Default display mode for new giveaways.

Allowed: container | embed

accentColorstringOptional

Shorthand hex accent color for giveaway containers.

defaultAccentColorstringOptional

Default 6-digit hex accent color for giveaway cards.

defaultChannelIdstring | nullOptional

Default Discord text channel ID for posting new giveaways.

defaultPingRoleIdstring | nullOptional

Optional guild role ID to mention when launching new giveaways.

reviewVerificationChannelIdstring | nullOptional

Optional text channel ID for Top.gg review verification.

topggReviewChannelIdstring | nullOptional

Alias for reviewVerificationChannelId.

dmWinnersbooleanOptional

Whether to direct-message winners by default.

winnerAnnouncementTemplatestringOptional

Default template used when announcing giveaway winners.

hostRoleIdsarray<string>Optional

Default guild role IDs authorized to host giveaways.

defaultHostRoleIdsarray<string>Optional

Alias for hostRoleIds.

bypassRoleIdsarray<string>Optional

Default guild role IDs allowed to bypass giveaway entry requirements.

defaultBypassRoleIdsarray<string>Optional

Alias for bypassRoleIds.

requiredRoleIdsarray<string>Optional

Default guild role IDs required to enter giveaways.

defaultRequiredRoleIdsarray<string>Optional

Alias for requiredRoleIds.

defaultContainerBlocksarray<object>Optional

Default Components V2 container blocks template.

defaultEmbedConfigobject | nullOptional

Default classic embed template configuration.

Example

Preview configuring giveaway host roles and Components V2 default styling.

POST https://mcp.taicket.xyz/mcpjson
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "configure_giveaways",
    "arguments": {
      "guildId": "1200000000000000000",
      "mode": "preview",
      "defaultStyle": "container_v2",
      "accentColor": "#0052FF",
      "hostRoleIds": [
        "1300000000000000005"
      ]
    }
  }
}

Response

Validated preview diff or saved giveaway guild defaults.

Structured Tool Resultjson
{
  "mode": "preview",
  "valid": true,
  "summary": "Update Giveaways setup defaults (defaultDisplayMode, defaultAccentColor, defaultHostRoleIds)",
  "defaultDisplayMode": "container"
}

Errors

Error CodeConditionResolution
UNAUTHORIZEDMissing, expired, or revoked Bearer access token or scoped Personal Access Token.Re-authenticate through OAuth 2.1 or create a fresh token in https://mcp.taicket.xyz/account.
FORBIDDENToken lacks the required OAuth scope, the guild is outside allowedGuildIds, or caller lacks live Discord RBAC permissions.Grant the required scope during consent or confirm your Discord server role permissions.
RATE_LIMITEDCaller exceeded the per-user sliding-window request limit.Wait for the Retry-After window before issuing another request.
VALIDATION_ERRORInput arguments failed Zod schema validation or contained invalid Discord snowflakes.Inspect the parameter schema and supply valid Discord snowflake IDs and field types.
CROSS_GUILD_RESOURCEA referenced channel, category, or role does not belong to the specified guildId.Call get_server_topology for the target server and reference only resources returned for that guild.
DASHBOARD_ONLYThe requested privilege delegation, emergency lockdown, backup restore, live member action, or billing mutation is blocked over MCP.Complete this operation directly on https://taicket.xyz using your Discord browser session.

Behavior

  • Reads and writes exclusively on the dedicated taicket_giveaways database.
  • Verifies defaultChannelId and reviewVerificationChannelId against live Discord text channels in guildId.
  • Verifies defaultPingRoleId and all host, bypass, and required role presets exist in guildId and are non-@everyone, non-managed roles.
  • Validates all template image and media URLs as safe public HTTPS URLs and blocks live giveaway mutations with DASHBOARD_ONLY.