Skip to main content
Glama

flashlearn-mcp

An MCP (Model Context Protocol) server for the FlashLearnAI public API. Add it to Claude Code, Claude Desktop, or any MCP client and say "make me a flashcard deck about X and quiz me on it": the model can generate decks with AI, browse sets, run SM-2 spaced-repetition study sessions, and read API usage, all through your own FlashLearnAI API key.

Built with the official TypeScript SDK v2 (@modelcontextprotocol/server, 2026-07-28 MCP spec). stdio transport. MIT licensed.

Quickstart (under 5 minutes)

Requirements: Node.js 20 or later and a FlashLearnAI API key. Mint a key at flashlearnai.witus.online/developer/keys (sign in, Developer Portal, API Keys, Create key).

git clone https://github.com/dapperAuteur/flashlearn-mcp.git
cd flashlearn-mcp
pnpm install
pnpm build

Claude Code

claude mcp add flashlearn -e FLASHLEARN_API_KEY=fl_pub_your_key_here -- node /absolute/path/to/flashlearn-mcp/dist/index.js

Then in a Claude Code session: "use the flashlearn tools to generate a deck about photosynthesis and quiz me."

Claude Desktop

Add to claude_desktop_config.json (Settings, Developer, Edit Config):

{
  "mcpServers": {
    "flashlearn": {
      "command": "node",
      "args": ["/absolute/path/to/flashlearn-mcp/dist/index.js"],
      "env": {
        "FLASHLEARN_API_KEY": "fl_pub_your_key_here"
      }
    }
  }
}

Restart Claude Desktop and the flashlearn tools appear in the tools menu.

After npm publish

Once the package is published to npm, the local path form above can be replaced with npx:

claude mcp add flashlearn -e FLASHLEARN_API_KEY=fl_pub_your_key_here -- npx -y flashlearn-mcp
{
  "mcpServers": {
    "flashlearn": {
      "command": "npx",
      "args": ["-y", "flashlearn-mcp"],
      "env": { "FLASHLEARN_API_KEY": "fl_pub_your_key_here" }
    }
  }
}

Verify without a host

The MCP Inspector exercises the server directly:

FLASHLEARN_API_KEY=fl_pub_your_key_here npx @modelcontextprotocol/inspector node dist/index.js

Connect, open the Tools tab, and run ping. It reports the configured API base and whether a key is set, without calling the API.

Related MCP server: Anki MCP Server

Configuration

Env var

Required

Default

Purpose

FLASHLEARN_API_KEY

yes

none

API key from the developer dashboard. Sent as Authorization: Bearer. Never logged, never echoed in tool output (a test suite asserts this).

FLASHLEARN_API_BASE

no

https://flashlearnai.witus.online

API base URL. The default is the production URL from the FlashLearnAI OpenAPI spec; override it for a local or staging instance.

The server starts without a key (so hosts can list tools), but every API-backed tool returns an error naming the fix until the key is set.

Tools

Tool

API route

What it does

ping

none

Liveness plus configuration (API base, key set or not).

list_sets

GET /api/v1/sets

List the key's flashcard sets, paginated.

get_set

GET /api/v1/sets/{id}

One set with all cards (owned or public).

generate_cards

POST /api/v1/generate

AI-generate a deck for a topic; reuses an existing public deck for the same topic when one exists.

create_study_session

POST /api/v1/study/sessions

Start a study session; returns shuffled cards.

submit_review

POST /api/v1/study/sessions/{id}/complete

Submit per-card results; updates SM-2 scheduling and returns accuracy stats.

get_usage

GET /api/v1/usage

Billing-period usage and limits for the key.

Resources: flashlearn://getting-started (how the tools fit together) and flashlearn://openapi (the live OpenAPI 3.1 spec of the underlying API).

What the tools return and why (output trimming)

Tool output goes into a model's context window, so every response is trimmed to what the model needs:

  • Cards are reduced to id, front, back. Media URLs, alt text, video fields, multiple-choice options, and answer-key fields are dropped. A raw get_set card can carry 14 fields; the trimmed card carries 3.

  • Set descriptions are capped at 160 characters in listings.

  • list_sets drops rating and createdAt; they do not help a model pick a deck.

  • generate_cards, submit_review, and get_usage pass through shapes that are already compact.

Every tool also declares a zod outputSchema and returns structuredContent, so clients get machine-readable results next to the text block.

Error handling

  • API errors become MCP tool errors (isError: true) with the fix in the message: a 401 points at the key dashboard, a quota 429 points at get_usage, a 404 suggests list_sets. Never a silent empty result.

  • Burst rate limits (RATE_LIMIT_EXCEEDED) are retried once with a capped backoff. Monthly quota exhaustion (QUOTA_EXCEEDED, same HTTP 429, different code) is never retried, because a retry cannot succeed inside the billing period.

  • The API key never appears in logs, errors, or output. The client never interpolates it, and a redaction pass scrubs it from any upstream message as a second fence. test/redaction.test.ts proves this for happy, 401, 429, network-failure, and hostile-echo paths.

Spec vs code notes (upstream API)

This server is coded against the FlashLearnAI OpenAPI spec plus the actual route code. Two places disagree; the server follows the code:

  1. The spec's UsageResponse schema shows the usage object as the whole 200 body; the route wraps it in the standard { data, meta } envelope like every other endpoint.

  2. The spec documents POST /api/v1/generate as returning 201; the route returns 200 (with source: "shared") when it serves an existing public deck instead of generating.

Both are noted for the flashlearn-ai repo's spec-is-contract cleanup workstream.

Development

pnpm install
pnpm typecheck   # tsc strict, no emit
pnpm lint        # eslint flat config, type-checked rules
pnpm test        # vitest: 33 tests, mocked API, in-process MCP client
pnpm build       # emits dist/
pnpm demo        # live end-to-end demo against production (needs FLASHLEARN_API_KEY)

Tests connect a real MCP client to the real server factory in process (per the SDK v2 testing guide) and mock the FlashLearnAI API at the fetch boundary, so tool behavior, schema validation, error mapping, and redaction are all covered without network access.

Activate the commit guard once per clone:

git config core.hooksPath .githooks

Roadmap

  • v1 (this): stdio transport, API-key auth, read/generate/study tools.

  • v2: Streamable HTTP transport for a hosted remote server, and OAuth if the product's developer surface grows it. Not started; stdio is the only transport today.

License

MIT. See LICENSE.

flashlearn-mcp

Available Tools

7 tools
create_study_sessionStart a study sessionA

Start a spaced-repetition study session for a set. Returns a sessionId and the shuffled cards to quiz the user with. Finish with submit_review to record results and update SM-2 scheduling.

ParametersJSON Schema
NameRequiredDescriptionDefault
setIdYesThe set to study, as returned by list_sets or generate_cards
studyModeNoAPI default: classic
studyDirectionNoAPI default: front-to-back

Output Schema

ParametersJSON Schema
NameRequiredDescription
setIdYes
setNameYes
sessionIdYes
studyModeYes
flashcardsYes
totalCardsYes
studyDirectionYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations indicate this is not read-only, not idempotent, and not destructive, but they don't explain behavior. The description adds valuable context by mentioning the return of a sessionId and shuffled cards, and the expectation of finishing with submit_review. This goes beyond the annotations, providing a clear workflow.

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?

The description is two sentences, front-loaded with the primary action, and contains no fluff. Every sentence earns its place: the first states the purpose, the second covers the return value and next step.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the output schema exists, the description doesn't need to detail return values. It covers the purpose, return, and workflow, and the schema covers parameters. The SM-2 reference adds context about the scheduling system, making the tool's role clear within the broader study session flow.

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 description coverage is 100%, so the baseline is 3. The description does not add extra parameter details beyond what the schema already explains, but it doesn't need to since all parameters are fully described with enums and defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'Start a spaced-repetition study session for a set.' It specifies the resource (a set) and distinguishes itself from siblings like generate_cards (which creates cards) and submit_review (which records results) by describing the session-starting behavior and the return of sessionId and shuffled cards.

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

Usage Guidelines4/5

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

The description gives clear workflow context by stating 'Finish with submit_review to record results,' but it does not explicitly call out alternatives or exclusions. It implies when to use (when starting a study session) without directly comparing to sibling tools, so it falls short of a 5.

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

generate_cardsGenerate flashcards with AIA

Generate a flashcard deck about a topic using FlashLearnAI. If a public deck for the topic already exists it is reused (source: "shared") and no generation quota is spent; otherwise a new deck is created (source: "generated"). Counts against the monthly generation quota when it generates.

ParametersJSON Schema
NameRequiredDescriptionDefault
titleNoOptional title for the created set (defaults to the topic)
topicYesThe subject to generate flashcards about, e.g. "Photosynthesis in plants"
descriptionNoOptional description for the created set

Output Schema

ParametersJSON Schema
NameRequiredDescription
setIdYes
sourceYes
cardCountYes
flashcardsYes

TDQS

A4.4/5.0
Behavior5/5

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

The description goes well beyond the minimal annotations by disclosing key side effects: it reuses an existing public deck or generates a new one, marks the source as 'shared' or 'generated', and counts against monthly generation quota only when generating. This is rich, actionable behavioral information.

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?

The description is two sentences, front-loaded with the core purpose, and the second sentence efficiently explains the reuse/generation logic and quota impact. No wasted words.

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 tool with a moderate side-effect profile, the description covers the main business logic (reuse vs. generation, quota) and is supported by an output schema. It slightly lacks explicit guidance on prerequisites or error conditions, but overall is sufficient for an agent to use it correctly.

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 description coverage is 100%, with self-explanatory parameters. The description adds no new detail about title, topic, or description beyond what the schema already states, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description begins with a specific verb+resource pair ('Generate a flashcard deck about a topic using FlashLearnAI'), and then distinguishes the tool's unique behavior by explaining reuse of existing public decks versus generating new ones. This clearly separates it from siblings like list_sets and create_study_session.

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

Usage Guidelines4/5

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

The description gives clear context for when to use the tool: when a flashcard deck on a topic is needed. It notes the conditional reuse/generation behavior, but does not explicitly tell the agent when to prefer alternatives like list_sets or how to interpret quota before invoking.

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

get_setGet a flashcard setA
Read-only

Fetch one flashcard set with all of its cards (front and back text). Works for sets owned by the key and for public sets.

ParametersJSON Schema
NameRequiredDescriptionDefault
setIdYesThe set id, as returned by list_sets or generate_cards

Output Schema

ParametersJSON Schema
NameRequiredDescription
idYes
titleYes
isPublicYes
cardCountYes
flashcardsYes
descriptionNo

TDQS

A4.3/5.0
Behavior4/5

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

With readOnlyHint=true, the safety profile is known. The description adds behavioral context by specifying the scope of accessible sets and that it returns all cards with front and back text. This goes beyond the annotation without contradicting it.

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 sentences, both informative and necessary. No filler or repetition. Information is front-loaded with the primary action and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read-only tool with an output schema, the description adequately covers behavior, scope, and return contents. No critical information is missing given the structured metadata.

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?

The schema already provides 100% coverage for the setId parameter, explaining its source (list_sets or generate_cards). The description adds no additional parameter meaning, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Fetch' and the resource 'one flashcard set with all of its cards', distinguishing it from sibling tools like list_sets which lists sets. It also specifies the content (front and back text), making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description gives useful context about when the tool works ('sets owned by the key and for public sets'), which implies when it is appropriate to use. It does not explicitly name alternatives or exclusions, but the distinction from list_sets is clear enough for effective selection.

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

get_usageGet API usageA
Read-only

Show the current billing-period usage and limits for the configured API key: API calls, AI generation calls, overage calls, and the tier limits.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
usageYes
limitsYes
periodYes
apiTierYes
keyTypeYes

TDQS

A4.3/5.0
Behavior4/5

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

The annotation readOnlyHint=true already signals a safe read operation, and the description goes beyond that by specifying exactly what data is shown (API calls, AI generation calls, overage calls, tier limits) and clarifying the scope (current billing period, configured API key). This adds useful behavioral context without contradicting the annotation.

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?

The description is a single, information-dense sentence that is front-loaded with the verb and resource, and it lists specific metrics without any fluff. It earns its place entirely.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no parameters, a readOnlyHint annotation, and an output schema (per context), the description fully conveys the tool's purpose and the information it returns. It does not omit any critical details for a simple usage-monitoring tool.

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 has zero parameters, so there is no parameter schema to elaborate on. The baseline for 0 params is 4, and the description appropriately focuses on the output rather than parameters, which is sufficient.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Show' and clearly identifies the resource (billing-period usage and limits for the configured API key) with concrete details (API calls, AI generation calls, overage calls, tier limits). This differentiates it from sibling tools like list_sets or generate_cards, which serve different purposes.

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?

The implied usage is for checking current usage and limits, but the description does not explicitly state when to use this tool versus alternatives or mention any exclusions. It lacks direct guidance on when to invoke this tool instead of others.

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

list_setsList flashcard setsA
Read-only

List the flashcard sets owned by the configured API key, newest first. Returns id, title, a short description, and card count per set, plus pagination.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number, starting at 1
limitNoSets per page (max 100, API default 20)
sourceNoFilter by how the set was created: Prompt, PDF, YouTube, Audio, Image, or CSV

Output Schema

ParametersJSON Schema
NameRequiredDescription
setsYes
paginationYes

TDQS

A4.3/5.0
Behavior4/5

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

With readOnlyHint: true, the safety profile is already known. The description adds behavioral details beyond the annotation: ordering ('newest first'), scope ('owned by the configured API key'), and pagination behavior. It does not disclose potential failure modes or rate limits, but for a read-only list operation this is adequate.

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?

The description is two sentences, front-loaded with the primary action and scope, followed by return fields and pagination. Every word serves a purpose, with no redundancy or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a straightforward list operation with optional parameters and an output schema. The description covers purpose, scope, ordering, return contents, and pagination, which is sufficient for an agent to select and invoke the tool correctly. The readOnlyHint plus output schema fill remaining gaps.

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 description coverage is 100% for all three parameters (page, limit, source), each with descriptive text. The tool description does not add additional parameter semantics beyond what the schema already provides, so the baseline score of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('List') and identifies the exact resource ('flashcard sets owned by the configured API key'), with ordering ('newest first'). This clearly distinguishes it from sibling tools like get_set (single set) and generate_cards (creation).

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

Usage Guidelines4/5

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

The description provides clear context: it lists sets owned by the API key and indicates the return shape (id, title, description, card count, pagination), which helps decide when to use it. However, it does not explicitly mention alternatives or exclusions (e.g., 'use get_set for a single set'), so it falls short of full explicit guidance.

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

pingPingA
Read-onlyIdempotent

Check that the FlashLearn MCP server is alive and see how it is configured (API base URL and whether an API key is set). Makes no API call.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
serverYes
apiBaseYes
versionYes
apiKeyConfiguredYes

TDQS

A4.7/5.0
Behavior5/5

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

The description adds context beyond the readOnlyHint and idempotentHint annotations by explicitly stating 'Makes no API call' and describing what configuration details are visible (API base URL, API key presence). This fully discloses the tool's behavior and side-effect-free nature, leaving no ambiguity.

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?

The description is two sentences, front-loaded with the primary purpose, and every phrase earns its place. It avoids redundancy and is appropriately sized for the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple health-check tool with no parameters, an output schema, and annotations covering safety, the description provides complete context. It explains what the tool does, what it returns (configuration details), and confirms it makes no API call. No additional information is needed for an agent to use it correctly.

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 has zero parameters, and the description correctly does not attempt to add parameter details. Per the rubric, 0 parameters earns a baseline of 4. The schema already has full coverage (100%) with an empty parameter list, so no further explanation is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Check') and clearly identifies the resource (FlashLearn MCP server) and the two pieces of information retrieved (API base URL and API key status). It is immediately distinguishable from sibling tools like list_sets or generate_cards, which focus on data operations rather than server health/configuration.

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

Usage Guidelines4/5

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

The description implies usage for verifying server liveness and configuration, which is a reasonable and clear context. It does not explicitly mention alternatives or exclusions, but no sibling tool serves the same purpose, so the absence of explicit when-not-to-use guidance is acceptable. A slight improvement would be stating 'use before other calls to confirm connectivity,' but the current wording is sufficient.

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

submit_reviewSubmit study session resultsA
Idempotent

Complete a study session by submitting one result per reviewed card. Updates the SM-2 spaced-repetition schedule and returns accuracy and duration stats.

ParametersJSON Schema
NameRequiredDescriptionDefault
resultsYes
sessionIdYesThe session id from create_study_session

Output Schema

ParametersJSON Schema
NameRequiredDescription
statusYes
accuracyYesPercent correct, 0 to 100
sessionIdYes
totalCardsYes
correctCountYes
completedCardsYes
incorrectCountYes
durationSecondsYes

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false. The description adds contextual behavior by mentioning it 'Updates the SM-2 spaced-repetition schedule' and 'returns accuracy and duration stats', which are useful details beyond the annotations. No contradiction exists.

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 sentences, action-first, no unnecessary words. Every sentence contributes meaning: completion action, schedule update, and return stats.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations covering safety and idempotency, and the description explaining the side effect (SM-2 update) and return value (accuracy/duration stats), the tool is sufficiently specified for correct invocation. The sibling list provides context that this tool pairs with create_study_session.

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?

Schema covers 50% of parameters, and the description compensates partially by adding the rule 'one result per reviewed card', which clarifies the expected structure of the results array. It does not detail each field beyond the schema, but the schema already handles most fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Complete a study session') and the specific resource ('study session'), distinguishing it from sibling tools like create_study_session by focusing on submission and schedule update. This is a specific verb+resource pairing.

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

Usage Guidelines4/5

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

The description implies usage after a study session is created and all cards reviewed ('one result per reviewed card'), and the sibling list includes create_study_session for context. However, it does not explicitly name alternatives or exclusions, so it lacks the explicit 'when not to use' guidance.

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. Dates show when Glama detected each change.

  1. 7 tool updatesv0.1.0
    • First observedcreate_study_session
    • First observedgenerate_cards
    • First observedget_set
    • First observedget_usage
    • First observedlist_sets
    • First observedping
    • First observedsubmit_review

TDQS

A4.5/5.0
Disambiguation5/5

Each tool serves a distinct purpose: health check, listing sets, retrieving a set, usage info, generating cards, creating a study session, and submitting reviews. There is no functional overlap between any tools.

Naming Consistency5/5

All tool names follow a clear verb_noun snake_case pattern (list_sets, get_set, get_usage, generate_cards, create_study_session, submit_review). Even 'ping' fits the imperative verb style, so the naming is fully consistent.

Tool Count5/5

Seven tools is well-scoped for a flashcard MCP server. Each tool covers a necessary part of the workflow: discovery, content generation, retrieval, usage monitoring, and study session management, without bloat or missing essentials.

Completeness4/5

The core workflows are covered: listing, retrieving, generating, and studying sets, plus session creation and completion. The only minor gap is the lack of explicit update/delete operations for flashcard sets, which is a reasonable omission given the server's study-focused purpose.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants like Claude to interact with Anki flashcard decks, allowing users to create, manage, and update flashcards through natural language conversations.
    41
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that enables AI assistants to interact with the Anki flashcard application for studying, deck management, and note creation. It supports natural language interaction for reviewing cards, searching content, and managing media files across local and remote environments.
    1,716
    467
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI assistants to seamlessly manage Anki flashcards, decks, and templates through the AnkiConnect API. It supports intelligent querying, batch note creation, and detailed study progress analysis using natural language.
    4
    MIT

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/dapperAuteur/flashlearn-mcp'

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