cardloom-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| INDEX_DB_PATH | No | Path to the SQLite index database | ./knowledge-store/.metadata/index.db |
| REVIEWER_NAME | No | Name of the reviewer | human-reviewer |
| KNOWLEDGE_STORE_PATH | No | Path to the knowledge store directory | ./knowledge-store |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| save_learning_draftA | Save a new knowledge card. Cards from an agent always start in status "draft" — verification is a separate, later action. |
| search_knowledgeA | Search knowledge cards by keyword or verbatim error message. Pass |
| get_cardA | Read a single knowledge card by id — full metadata, body, trust, and status labels (draft -> untrusted, deprecated -> deprecated + reason, restricted -> restricted). Same content as the knowledge://card/{id} Resource (unless compact). "replacement.pending": a draft proposes to replace this card; it is still the current answer, tell the user. "replacement.superseded_by": read that card instead. The card carries "source" (repo, commit, approval date) — when a card from another project helps, tell the user which project and commit it came from. Every response carries a write_back_reminder: after using this card you MUST call report_card_usage(id, outcome). compact: true returns only the first 600 characters of the body (truncated: true when cut); call again without it for the full card. |
| report_card_usageA | Report the outcome of using a card you got from search_knowledge or get_card. This is mandatory: every card you use, you MUST report back with confirmed (it worked), refuted (it was wrong/outdated), or neutral (inconclusive). This is how trust scores and needs_review flags stay accurate. |
| update_card_statusA | Change a card's status. action="verify" (draft -> verified, only after a human reviewer approves it) or action="deprecate" (draft/verified -> deprecated, requires reason; the file is kept, never deleted — FR3). action="reconfirm" (verified only: a human re-checked the card and it is still right; refreshes last_verified without changing status; refused for a card that needs review). deprecated is terminal, there is no un-deprecate. When deprecating a draft because the learning is wrong, a duplicate or not worth keeping, start the reason with "rejected:". Any other transition returns invalid_transition with the valid options. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| distill_project_knowledge | Instructs the calling agent to read this project's docs, architecture decisions, git history, and story debug logs, then distill them into draft knowledge cards via save_learning_draft. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool maps to a clearly distinct operation: create a draft, read one card, search the store, report usage outcomes, and change card status. There is no meaningful overlap — save_learning_draft only creates (always draft) while update_card_status only transitions status, and the descriptions reinforce that boundary explicitly.
All five tools follow a consistent snake_case verb_noun pattern (save_learning_draft, get_card, search_knowledge, report_card_usage, update_card_status). The compound object in save_learning_draft is the only slight variation, but the verb-first convention holds throughout.
Five tools is a tight, well-scoped surface covering the full card lifecycle — write, read, find, validate, and moderate. Each tool earns its place and none appears redundant or vestigial.
The read/search/write/report/status loop is covered, but there is no way to revise a draft's body after saving and no listing tool for reviewing pending drafts — both notable gaps in the moderation workflow. Deletion being replaced by terminal deprecation is a deliberate design choice, not a gap.