Skip to main content
Glama

Set card suspension

set-card-suspension
Idempotent

Suspend or unsuspend existing Anki cards by ID and verify their saved state; all selected cards must exist, and suspended cards are hidden from normal reviews.

Instructions

Suspends or unsuspends existing cards and verifies their saved suspension state. Missing Cards block the whole selection. Suspended cards do not appear during normal reviews.

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>",
      "suspended": "<suspended>"
    },
    "name": "set-card-suspension"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardIdsYesOne to 100 Anki card IDs
suspendedYesTrue to suspend the cards, false to unsuspend them

Output Schema

NameRequiredDescriptionDefault
suspendedYes
missingCardIdsYes
updatedCardIdsYes
unchangedCardIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare mutation, idempotency, and non-destructiveness, so the bar is lower. The description still adds real behavior beyond them: the all-or-nothing rule (a missing card blocks the whole selection) and the fact that saved suspension state is verified after the change.

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?

Three short sentences, front-loaded with the primary action, then the failure mode, then domain context. Every sentence carries information; only the trailing review-behavior sentence is arguably peripheral.

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 mutation with full schema coverage, an output schema covering verification results, and annotations covering safety, this is nearly complete. The only real omission is explicit routing guidance relative to other card-state tools.

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 describes both cardIds (1-100 Anki card IDs) and suspended (true/false). The description contributes only the atomicity constraint tied to cardIds; it adds no format or boundary detail beyond the schema, so 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?

The description states a specific verb pair and resource ("suspends or unsuspends existing cards") plus a secondary verification behavior. It does not differentiate from siblings like set-card-flag, but the operation itself is unambiguous.

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 implied rather than stated: the tool is clearly for changing suspension state, and the note about suspended cards not appearing in normal reviews hints at the use case. There is no explicit when-to-use/when-not guidance and no alternatives named, though siblings are mostly unrelated operations.

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