Skip to main content
Glama

Edit Flashcards

edit_flashcards
DestructiveIdempotent

Edit existing flashcard content (concept, question, answer, hint, visual hints, tags, image, difficulty). Updates are saved to database and cache is invalidated. Free (no coin cost). Requires authentication and ownership.

Input Schema

NameRequiredDescriptionDefault
hintNoUpdated hint
tagsNoUpdated tags
answerNoUpdated answer
set_idNoThe flashcard_set_id from create_flashcards response (e.g., 'cache_xxx_yyy') (mode 2). Requires sequence parameter.
conceptNoUpdated concept
questionNoUpdated question
sequenceNoCard number within set (1-based). Requires set_id parameter.
image_urlNoUpdated image URL
difficultyNoUpdated difficulty (1-5)
flashcard_idNoUUID from 'data.items[].id' in create_flashcards response (mode 1). Use this OR set_id+sequence, not both. MUST be from actual response.
visual_hintsNoUpdated visual hints

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds meaningful context they don't cover: persistence to database, cache invalidation, zero coin cost, and authentication/ownership requirements. It stops short of saying whether unspecified fields are left untouched or which of the two addressing modes is preferred.

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?

Three sentences, front-loaded with the core action, and every clause carries distinct information (editable fields, side effects, cost, auth). No filler or redundancy.

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

Completeness3/5

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

For an 11-parameter mutation tool, the description never mentions that a card must be identified via flashcard_id or set_id+sequence, nor that it is an all-optional partial update. The schema fills these gaps, so the definition is workable but the description alone is not complete.

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 all 11 parameters are already documented in the schema, including the mutually exclusive flashcard_id vs set_id+sequence modes. The description's parenthetical field list adds only a high-level restatement of what can be edited, not new semantics.

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?

States a specific verb (edit) and resource (existing flashcards) and enumerates the editable fields, so an agent can immediately tell it apart from create_flashcards. It never names a sibling explicitly, so differentiation is inferred rather than stated.

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 word 'existing' implies this is the post-creation path versus create_flashcards, and the 'Free (no coin cost)' note helps with cost-sensitive selection. However, there is no explicit when-to-use/when-not statement or named alternative, so routing is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources