Skip to main content
Glama

Discard the pending card

discard_card
DestructiveIdempotent

Use this when the user wants the pending card dropped without changing anything, or to start a new card from scratch. Do not use for undoing changes already applied; use undo_change.

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": "discard_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.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the danger profile is covered structurally. The description adds useful framing beyond them: discarding touches only the un-applied pending card and leaves applied state untouched, which is exactly the distinction an agent needs before calling a destructive tool. It stops short of saying what happens when no pending card exists (error vs. no-op), which would be the remaining behavioral gap.

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?

Two short sentences, front-loaded with the primary when-to-use condition and followed immediately by the exclusion. No restatement of the title, no filler, nothing that could be cut.

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, single-purpose destructive tool with full annotation coverage and no output schema, the description covers purpose, routing, and state impact adequately. The only omission is outcome behavior when there is no pending card to discard, a minor gap rather than a blocking one.

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 (card_id, guild_id) are already documented in the schema, including the default-to-this-server behavior for card_id. The description adds no parameter-level detail such as ID format or what happens if card_id refers to an applied card, 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?

The description names the specific resource (the pending card) and the action on it (dropped without changing anything), and explicitly separates it from the sibling undo_change. An agent can distinguish discard_card from undo_change and apply_card without opening any 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?

It gives an explicit when-to-use condition (user wants the pending card dropped, or wants to start a new card from scratch) and an explicit when-not-to-use with the alternative (do not use for undoing already-applied changes; use undo_change). Both sides of the routing decision are covered.

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