Skip to main content
Glama

Apply the pending card

apply_card
Destructive

Use this when the user has confirmed the pending card and wants its changes made on Discord. It uses one of the free cards of the week or credits already on the account. A card already applied (for example with the Apply button on the card) is not applied again. Cards with deletions, role permissions, management permissions in a channel, security settings, @everyone or large role mentions, verification, server settings or final giveaway and XP actions are only confirmed on aiguild.me. Do not use for a card the user has not seen and approved.

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": "apply_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
card_idNoThe card ID; the pending card of this server by default.
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
Behavior4/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true) it discloses real cost — the call consumes a free card of the week or account credits — plus the escalation rule for sensitive card types and the no-op behavior when a card was already applied. Minor tension with idempotentHint=false (a repeated apply is described as not re-applied), but that reads as a state check rather than a direct contradiction; remaining gap is what happens when no credits remain.

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?

The trigger condition comes first, followed by cost, re-apply behavior, and the escalation list — a sensible ordering. The long enumeration of restricted card types is dense but each item is a genuine exclusion the agent needs, so little 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 destructive mutation with no output schema, the definition covers the trigger, the cost, the non-repeat behavior, and where unsupported cards must be applied instead. It stops short of describing the result or failure modes (e.g., insufficient credits), which is acceptable given the annotations but leaves a small gap.

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 already document their meaning and default ('the pending card of this server by default', 'as returned by list_my_servers'). The description adds no further parameter-level detail, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and object: it makes the changes of a confirmed 'pending card' happen on Discord, and clarifies the notion of a pending card via the Apply-button reference. It does not name the obvious counterpart (discard_card), so an agent must infer the negative case from the last sentence rather than from an explicit sibling contrast.

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?

Front-loaded 'use this when the user has confirmed the pending card' gives the gating condition, and 'Do not use for a card the user has not seen and approved' gives an explicit exclusion. It also routes a whole class of operations (deletions, role/permission changes, security, @everyone, giveaways/XP) to aiguild.me instead, so an agent can decide against calling this tool without opening any schema.

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