Skip to main content
Glama

get_card

Retrieve detailed Anki flashcard information by card ID or search query to find cards for updates or inspect their content.

Instructions

Retrieve detailed card/note information. Provide EITHER cardId OR query (not both). Returns array of card objects with: cardId, deckName, modelName, question, answer, fields (object with all field values), due, interval, ease, reps, lapses, type, queue, noteId. Use this to find card/note IDs for update operations or to inspect card details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardIdNoSingle card ID to retrieve. Mutually exclusive with 'query'. Returns array with one card object. Example: 1234567890
queryNoAnki search query (mutually exclusive with 'cardId'). Returns array of all matching cards. Syntax examples: 'deck:Spanish' (deck filter), 'tag:vocabulary' (tag filter), 'note:Basic' (note type filter), 'added:1' (added today), 'added:7' (last 7 days), 'is:new' (new cards), 'is:due' (due cards), 'is:suspended' (suspended), 'deck:Spanish tag:verbs added:7' (combine filters with space=AND). Can match multiple cards.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/letuanvu08/anki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server