This commit is contained in:
didier committed 2026-09-17 09:37:59 -04:00
1 parent 4dc42d91c2
commit d72ef520cd
1 file changed
+1 -1
+1 -1
View File
@@ -277,7 +277,7 @@ func registerListRecentFlashcard(mcpServer *server.MCPServer, sqlite *sqliteStor
func registerListTags(mcpServer *server.MCPServer, sqlite *sqliteStore, logger *zap.Logger) {
mcpServer.AddTool(
mcp.NewTool("list_tags",
mcp.WithDescription("List the tag vocabulary — every known tag with its description and how many flashcards use it. Use this before storing a flashcard to reuse existing tags instead of inventing new ones."),
mcp.WithDescription("List the tag vocabulary: every known tag with its description and its count. count is the number of current flashcards (latest version, not deleted) using the tag. A count of 0 means no current flashcard uses it — the tag still exists and may still be reused, so do not treat it as absent. Check this before storing a flashcard, and reuse an existing tag rather than inventing a near-duplicate."),
),
handleListTags(sqlite, logger),
)