Anki MCP Server
Provides tools for managing Anki flashcards, including creating, searching, updating, and deleting cards; managing decks; studying due cards; and working with note types.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Anki MCP ServerSearch for all cards in the Spanish deck"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Anki MCP Server
A Model Context Protocol (MCP) server that integrates with Anki flashcard application, allowing LLM applications like Claude to interact with your Anki decks and cards.
Features
Card Management: Create, search, update, and delete flashcards
Deck Management: List, create, and get statistics for decks
Study Sessions: Get cards due for review and manage study sessions
Model Support: Work with different note types and their fields
Automatic Tagging: Cards created via MCP are automatically tagged with 'mcp-generated'
Related MCP server: Anki MCP Server
Prerequisites
Anki Desktop: Install Anki desktop application
AnkiConnect Plugin: Install the AnkiConnect plugin in Anki
Go to Tools → Add-ons → Get Add-ons
Enter code:
2055492159Restart Anki
Installation
Clone this repository:
git clone <repository-url> cd anki-mcpInstall dependencies:
npm installBuild the project:
npm run build
Usage
Running the Server
Start the MCP server:
npm startFor development with auto-reload:
npm run devConfiguration with Claude Desktop
Add the server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"anki": {
"command": "node",
"args": ["/path/to/anki-mcp/dist/index.js"],
"env": {
"ANKI_HOST": "localhost",
"ANKI_PORT": "8765"
}
}
}
}Available Tools
Connection Management
test_connection: Test connection to AnkiConnect
Card Management
create_card: Create a new flashcard
search_cards: Search for cards using Anki query syntax
update_card: Update existing card fields and tags
delete_notes: Delete notes and their associated cards
Deck Management
list_decks: List all available decks
create_deck: Create a new deck
get_deck_stats: Get statistics for a specific deck
Study Features
get_cards_for_review: Get cards that are due for review
get_model_names: List available note types/models
get_model_fields: Get field names for a specific model
Example Usage in Claude
Once configured, you can use natural language commands in Claude:
"Create a flashcard in my Spanish deck with 'hola' on the front and 'hello' on the back"
"Search for all cards in the Spanish deck"
"Show me cards that are due for review"
"Create a new deck called 'French Vocabulary'"
"What are the available note types in Anki?"
Environment Variables
ANKI_HOST: AnkiConnect host (default: localhost)ANKI_PORT: AnkiConnect port (default: 8765)
Development
Scripts
npm run build: Build TypeScript to JavaScriptnpm run dev: Run in development mode with auto-reloadnpm run watch: Watch mode for developmentnpm test: Run testsnpm run lint: Run ESLint
Project Structure
src/
├── index.ts # Entry point
├── server.ts # Main MCP server implementation
├── anki-client.ts # AnkiConnect HTTP client
└── types/
└── anki.ts # TypeScript type definitionsTroubleshooting
Connection Issues
"Cannot connect to AnkiConnect":
Ensure Anki is running
Verify AnkiConnect plugin is installed
Check that AnkiConnect is listening on port 8765
"AnkiConnect error":
Check Anki error logs
Verify deck and model names exist
Ensure required fields are provided
Configuration Issues
Server not appearing in Claude:
Verify the path to the built JavaScript file is correct
Check Claude Desktop configuration syntax
Restart Claude Desktop after configuration changes
Permission Issues:
Ensure the Node.js process has permission to execute
Check file paths are absolute and correct
API Reference
The server implements the Model Context Protocol specification and provides tools for Anki integration. Each tool includes detailed input schemas and error handling.
License
MIT License - see LICENSE file for details.
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Submit a pull request
Available Tools
11 toolscreate_cardC
Create a new flashcard in Anki
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to add to the card | |
| fields | Yes | Fields for the card (e.g., Front, Back) | |
| deckName | Yes | Name of the deck to add the card to | |
| modelName | Yes | Name of the note type/model to use | Basic |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full disclosure burden. It does not say whether the tool requires a running Anki instance, how duplicate cards are handled, what the return value is, or whether the write can be reversed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler or redundancy. It is efficiently structured, though its brevity contributes to the behavioral gaps noted elsewhere.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
A mutation tool with no annotations, no output schema, required deck/model/field inputs, and a nested fields object needs more than one sentence. Nothing explains prerequisites, side effects, or the result of a successful creation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so deckName, modelName, fields, and tags are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (create) and resource (flashcard in Anki), making the core action unambiguous. However, it offers no differentiation from siblings like create_deck or update_card, so the agent must infer scope from the name alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this versus alternatives such as update_card, or when to create a deck first. The agent is left to infer usage entirely from the name and schema.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_deckC
Create a new deck in Anki
| Name | Required | Description | Default |
|---|---|---|---|
| deckName | Yes | Name of the deck to create |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full behavioral burden, but it only states the action. It does not disclose whether deck names must be unique, what happens if a deck already exists, or required permissions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single clear sentence with no waste. It is front-loaded but perhaps overly terse given the tool's operation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with no annotations and no output schema, the description is too sparse. It omits any behavioral or operational context an agent needs to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents the single deckName parameter. The description adds no syntax, constraints, or format guidance beyond what the schema provides; baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Create) and resource (deck in Anki). It is distinguishable from siblings like create_card or list_decks by the resource, though it doesn't explicitly name what it is not.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, no preconditions, and no alternatives named. The agent must infer context entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
delete_notesB
Delete notes (and their cards) from Anki
| Name | Required | Description | Default |
|---|---|---|---|
| noteIds | Yes | IDs of notes to delete |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden, and it does disclose one important trait: cards are deleted alongside their notes (cascading effect). However, it omits that deletion is typically permanent/irreversible, what permissions are required, and whether partial failures are possible — significant gaps for a destructive tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single tight sentence with the operation front-loaded and zero filler. The parenthetical efficiently conveys the cascade side effect without padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive, annotation-free tool with no output schema, the description is adequate but not complete — it covers the cascade but omits irreversibility and permission context that an agent needs before invoking a delete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with a single documented parameter ('IDs of notes to delete'), so the schema already conveys the required format. The description adds no additional semantics beyond what the schema provides, making the baseline 3 appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a clear verb (Delete) and resource (notes) scoped to Anki, plus the notable consequence that associated cards go with them. It reads distinctly from siblings like create_card, update_card, and search_cards, though it never names them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to delete versus alternative actions, no prerequisites, and no warning about the irreversibility of the operation. The agent is left to infer everything about appropriate use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_cards_for_reviewC
Get cards that are due for review
| Name | Required | Description | Default |
|---|---|---|---|
| deckName | No | Name of the deck (optional - if not provided, gets cards from all decks) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full behavioral burden and does not discharge it. It does not say whether fetching due cards mutates scheduling state, how many cards are returned, whether results are ordered, or whether this is strictly a read operation. For a spaced-repetition tool where 'due' has scheduling semantics, this is a meaningful gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One short, front-loaded sentence with zero filler. It is efficient, though arguably too terse given the absence of annotations and output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-optional-parameter read tool with a fully documented schema, the definition is minimally viable. However, with no annotations and no output schema, the description should at least hint at result ordering, limits, or the meaning of 'due' relative to review scheduling; those are absent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter has 100% schema description coverage, including that deckName is optional and that omitting it searches all decks. The description adds nothing beyond the schema, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource with a clear qualifier: cards 'due for review'. An agent can distinguish this from search_cards or list_decks by the review-due scope. It stops short of explicitly naming which sibling to use for other card retrieval needs.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no when-to-use guidance, no mention of when this is preferable to search_cards, and no prerequisites or exclusions. The phrase 'due for review' implies a spaced-repetition review session, but the agent must infer that entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_deck_statsC
Get statistics for a specific deck
| Name | Required | Description | Default |
|---|---|---|---|
| deckName | Yes | Name of the deck to get stats for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It does not state that the operation is read-only, what happens if the deck name is invalid, what the returned statistics contain, or any permission requirements. For a tool with zero annotation coverage this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence of eight words with no filler or repetition. It is efficient, though its brevity comes at the cost of the information the other dimensions flag as missing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and no annotations, the description is the only source of information about this tool, and it does not explain what the statistics are or how they are shaped. An agent can invoke it but cannot predict the response, which is inadequate given the complete absence of structured context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the single 'deckName' parameter is fully documented in the schema. The description adds no syntax, format, or case-sensitivity hints beyond what the schema already provides, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description has a clear verb (get) and resource (statistics for a deck), so an agent can tell it is a read operation about one deck. However, 'statistics' is left undefined – it never says what metrics are returned (counts, due cards, retention, etc.) – and it does not distinguish itself from siblings like list_decks or get_cards_for_review.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives such as list_decks or get_cards_for_review, nor any prerequisites (e.g., whether the deck must exist). The description states what it does but not when to reach for it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_model_fieldsC
Get field names for a specific note type/model
| Name | Required | Description | Default |
|---|---|---|---|
| modelName | Yes | Name of the model to get fields for |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It does not state that this is a read-only operation, what happens if modelName is invalid or the model has no fields, or anything about the shape of the result, which is thin for a tool with zero annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One short, front-loaded sentence with no filler. It is efficient, though at the cost of any contextual detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter read tool with fully documented schema and no output schema, the description is minimally adequate. It omits the dependency on get_model_names and any hint about the return value (e.g. names only, not types), which would help the agent chain calls correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single parameter is already documented as 'Name of the model to get fields for'. The description restates this without adding format, source, or validation detail, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: retrieve field names for a given note type/model. It is understandable in isolation, but it does not differentiate itself from the sibling get_model_names, leaving the agent to infer the distinction between the two from names alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to call this versus alternatives, nor on prerequisites. The obvious workflow dependency, that modelName must first be obtained via get_model_names, is never mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_model_namesB
Get all available note types/models
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full behavioral burden. It does not disclose whether the operation is read-only, whether results are paginated, or any rate limits. It simply states what is returned, which is minimal.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with no unnecessary words. It is front-loaded with the key action and resource.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the simplicity (no parameters, no output schema), the description is adequate but lacks any behavioral context such as read-only nature or return format. It meets the minimum but could be more informative.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the baseline is 4. The description correctly implies no inputs are required, aligning with the empty schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb (Get) and resource (all available note types/models), clearly identifying it as a listing tool. It is somewhat distinguishable from siblings like get_model_fields or get_deck_stats by its focus on a full listing of model names.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives or what conditions apply. The agent must infer the use case from the name and description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_decksB
List all available decks in Anki
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It says nothing about return shape, whether subdecks are included, ordering, or whether the operation is read-only, though the verb 'list' weakly implies a safe read.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with no waste and the resource front-loaded. It is efficient, though it is arguably under-specified rather than merely concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations and no output schema, the description should at least hint at what a caller gets back (deck names only? hierarchy?). For a trivial zero-parameter read tool this is a minor gap, but it leaves the return semantics entirely unspecified.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 meaning for the description to convey. Baseline 4 applies; the description does not need to compensate for any schema gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clear specific verb (list) plus resource (decks) with the domain qualifier (in Anki). However, it does not distinguish itself from siblings like get_deck_stats or create_deck, which could be confused given the deck-related family.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit when-to-use guidance, no mention of alternatives (e.g., get_deck_stats for per-deck metrics), and no preconditions. The agent must infer the use case from the name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_cardsC
Search for cards in Anki using Anki query syntax
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Anki search query (e.g., "deck:Spanish", "tag:vocabulary") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not state that the operation is read-only, whether results are paginated or limited, how authentication is handled, or what the return format is. For a search tool with no annotations or output schema, these gaps are significant.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no wasted words. It is efficiently structured, though its brevity contributes to the missing usage and behavioral context noted in other dimensions.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple one-parameter tool with full schema coverage, the description is minimally viable: it tells the agent what the tool does and how to query. However, without annotations or an output schema, it should provide more context about usage relative to siblings and basic behavioral expectations, which it does not.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the single parameter is already fully documented in the schema. The description adds only the phrase 'using Anki query syntax,' which echoes the schema's own description rather than providing new syntax or format details. Baseline 3 is appropriate 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.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Search') and resource ('cards in Anki') and adds the query syntax mechanism. It is clear what the tool does, but it does not differentiate itself from the sibling tool get_cards_for_review, which may also retrieve cards.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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 tool versus alternatives such as get_cards_for_review or list_decks. The description only implies that it is for searching, without stating any conditions, exclusions, or sibling routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
test_connectionB
Test connection to AnkiConnect
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden, and it discloses nothing beyond the purpose: no failure semantics, no timeout/retry behavior, no indication that the call is a harmless read-only probe. It is low-risk by nature, but that safety profile is left implicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with no waste and the purpose front-loaded. It is appropriately sized for a no-argument probe, though it reads as a title fragment rather than a full sentence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no parameters, no output schema, and no annotations, the description is the only source of information, and it omits what a result looks like (success/failure signal, error shape). For a diagnostic tool whose entire value is interpreting the response, that is a meaningful gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so per the rubric this is the baseline 4. There is nothing for the description to clarify about inputs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource: testing connectivity to the AnkiConnect service. It is self-evidently distinct from all siblings (create_card, search_cards, list_decks, etc.), which are data operations rather than a health probe, though the description never explicitly draws that contrast.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance is given. The agent must infer that this is a preflight connectivity check to run before other AnkiConnect calls, and there is no statement about when it is unnecessary or what to do on failure.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
update_cardC
Update an existing card in Anki
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | New tags for the card | |
| fields | Yes | Fields to update | |
| noteId | Yes | ID of the note to update |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description carries full burden. 'Update' implies mutation but it doesn't state whether changes require auth, are reversible, what happens to tags/fields not specified, or any side effects. Significant gap for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single efficient sentence that front-loads the verb and resource. No waste, but also no additional structure or detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutation tool with nested objects, no annotations, and no output schema, the description is far too thin. It omits behavior, side effects, and usage context that an agent needs to call it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the schema fully documents noteId, fields, and tags. The description adds no parameter meaning beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clear verb 'update' and resource 'card' with system context 'in Anki'. Doesn't distinguish from sibling create_card or specify what a card is vs a note, but the operation is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this vs create_card, search_cards, or any sibling. No prerequisites stated. An agent must infer usage entirely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
11 tool updates
v1.0.0- First observed
create_card - First observed
create_deck - First observed
delete_notes - First observed
get_cards_for_review - First observed
get_deck_stats - First observed
get_model_fields - First observed
get_model_names - First observed
list_decks - First observed
search_cards - First observed
test_connection - First observed
update_card
TDQS
Scored across 11 tools
Each tool has a largely distinct purpose, but there is an entity inconsistency: create_card/update_card/search_cards operate on 'cards' while delete_notes operates on 'notes'—a distinction that matters in Anki (a note generates multiple cards) and could cause misselection. search_cards and get_cards_for_review are close but still distinguishable.
All 11 tools follow a clean verb_noun pattern (create_card, list_decks, get_deck_stats, get_model_fields, etc.) with consistent snake_case. No deviations or mixed conventions.
11 tools is well within the ideal 3-15 range and each earns its place across cards, decks, review, and model introspection. No bloat or redundancy.
Covers card lifecycle (create/search/update/review), deck management (list/create/stats), and model introspection, but there is no card-level delete (only delete_notes), no deck update/delete, and no note-level update, leaving minor gaps an agent must work around.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityBmaintenanceA Model Context Protocol server that enables LLMs to interact with Anki flashcard software through AnkiConnect, allowing for creation and management of flashcards, decks, and note types.1686 npm252MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows LLMs to interact with Anki flashcard software, enabling functions like creating decks, adding notes, searching cards, and managing flashcard content through natural language.86 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges Claude AI with Anki flashcard app, allowing users to create and manage flashcards using natural language commands.9MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables interaction with Anki flashcards through AnkiConnect, providing organized tools for managing decks, notes, cards, models, and media files.407MIT