Skip to main content
Glama
cardloom-mcp

cardloom-mcp

by bangca85

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
INDEX_DB_PATHNoPath to the SQLite index database./knowledge-store/.metadata/index.db
REVIEWER_NAMENoName of the reviewerhuman-reviewer
KNOWLEDGE_STORE_PATHNoPath 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

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 context (stack + versions read from your .knowledge-map.yaml) so results rank by facet relevance, not just text match; also pass project (and aliases) from the same file in context. Each result has a match label; match: "related" or no_direct_match: true means only partial matches were found, so use them as leads, not answers, and a hint appears when the store has no verified cards. Returns compact snippets only, never full card bodies. Every response carries a write_back_reminder: after using a returned card you MUST call report_card_usage(id, outcome).

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

NameDescription
distill_project_knowledgeInstructs 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

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count5/5

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.

Completeness3/5

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.

Maintenance

ActivityMaintained
ResponsivenessOutdated data