Skip to main content
Glama

Delete Codecks Deck

codecks_delete_deck
Destructive

Deletes or archives a Codecks deck by ID, returning dispatch metadata and the updated deck state, including deletion status when available.

Instructions

Delete/archive a deck by ID.

Args:

  • deck_id (string): Deck ID to delete/archive

  • session_id (string, optional): Client session ID from web app

Returns: Dispatch metadata and post-delete deck state (including isDeleted when available).

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": {
      "deck_id": "<deck_id>"
    },
    "name": "codecks_delete_deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
deck_idYesDeck ID to delete/archive
session_idNo[DEPRECATED] Client session ID - not required for MCP usage

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered. The description adds useful context that the response includes post-delete deck state and isDeleted, and hints at archive semantics, but never states whether the removal is reversible or what permissions are needed for a destructive mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The docstring layout (summary, Args, Returns) is front-loaded and easy to scan. However, the Args block redundantly repeats schema descriptions that are already at 100% coverage, so a portion of the text does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Return behavior is described, which matters since there is no output schema, and the destructive nature is covered by annotations. For a destructive mutation it still lacks the critical details an agent would want: irreversibility, permission requirements, and what happens to cards inside the deleted deck.

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%, so the schema already documents both parameters, and the description largely restates them verbatim. It does clarify session_id as optional but omits the schema's DEPRECATED marker, adding no net meaning beyond the structured field.

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 resource ('Delete/archive a deck by ID'), which is clearly distinguishable from siblings like codecks_get_deck, codecks_update_deck, and codecks_delete_card. The only dilution is the 'Delete/archive' hedge, which leaves the exact operation ambiguous, and the description never names a sibling for differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit guidance on when to use this versus codecks_update_deck or a soft-archive path, and no prerequisites or exclusions are stated. The only usage signal is implied by the tool name, so the agent must infer everything about appropriateness and consequences.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools