Skip to main content
Glama
AnkiWeb MCP Server
by jklnr

ankiweb_list_decks

Read-onlyIdempotent

List all decks in an AnkiWeb collection with card and due counts to review collection structure and identify cards awaiting study.

Instructions

List all decks in the user's AnkiWeb collection with card and due counts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ankiweb_list_decks"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds the returned aggregate fields, but says nothing about authentication requirements, pagination on large collections, or rate limits — a relevant gap given ankiweb_login is a sibling.

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?

A single sentence with zero filler, front-loading the action and scope before the returned content. Every clause earns its place.

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 parameterless read tool with an output schema already documenting return values, this is nearly complete — the description need not detail the response shape. The only missing element an agent might need is that a login/session is a prerequisite.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics for the description to explain; baseline 4 applies. The description correctly introduces no parameter-like filtering language that would mislead an agent into expecting arguments.

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 ("List") and resource ("decks in the user's AnkiWeb collection") plus scope ("all decks") and returned content (card and due counts). This clearly separates it from ankiweb_list_notetypes and the deck mutation siblings (create_deck, remove_deck, rename_deck), though it never names an alternative explicitly.

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 — an agent can infer this is the discovery/inspection call before create_deck or rename_deck, but the description never says when to prefer it over ankiweb_get_study_cards or ankiweb_search_notes. No exclusions or preconditions (e.g., authentication) are stated.

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