Skip to main content
Glama

Move cards to deck

move-cards-to-deck
Idempotent

Move selected Anki cards to a target deck, creating that deck if it doesn’t exist and removing cards from filtered decks first.

Instructions

Moves cards to another deck. Creates the target deck if it does not exist and removes the cards from filtered decks before moving them.

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": {
      "cardIds": "<cardIds>",
      "targetDeck": "<targetDeck>"
    },
    "name": "move-cards-to-deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardIdsYesIDs of cards to move
targetDeckYesDestination deck. It will be created if it does not exist.

Output Schema

NameRequiredDescriptionDefault
cardIdsYes
targetDeckYes
movedCardCountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false), the description discloses two real side effects: the target deck is auto-created when missing, and cards are first pulled out of any filtered deck. That is meaningful behavioral context an agent could not read off the annotations. It stops short of saying whether scheduling/learning state is preserved, which is the main remaining unknown for a card-move operation.

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 tight sentences with the primary action front-loaded and the side effects following. Nothing is redundant and nothing needs trimming.

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?

With an output schema present, return values need not be described, and the description covers the key mutation semantics plus the auto-create behavior. Only the fate of existing scheduling/learning state on the moved cards is left unstated for this mutation tool.

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 coverage is 100% and the schema already states that targetDeck 'will be created if it does not exist,' so the description adds essentially no parameter-level meaning. Baseline 3 applies when the schema does the heavy lifting.

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?

The description opens with a specific verb+resource: 'Moves cards to another deck.' It is unambiguous about what the tool does, but it never contrasts itself with siblings such as reset-cards-to-new, so an agent must infer the difference from the names alone.

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

Usage Guidelines3/5

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

Usage is only implied by the verb 'moves' – an agent can infer you call this when cards need to end up in a different deck. There is no explicit when-to-use/when-not guidance and no alternative tool is named, even though reset-cards-to-new and assign-deck-preset operate on adjacent concepts.

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