MCP Tools Reference

Your AI assistant calls these tools automatically. This reference is useful for understanding what's available, debugging, or writing custom strategies.

Tool Discovery: Engrams provides 42 optimized MCP tools. Your AI assistant discovers them automatically via the MCP protocol.

Core Context

ToolDescription
get_product_contextRetrieve the project's product context document
update_product_contextOverwrite or patch the product context
get_active_contextRetrieve the current active context document
update_active_contextOverwrite or patch the active context
get_item_historyRetrieve version history for product or active context

Decisions

ToolDescription
log_decisionRecord a new decision with summary, rationale, and tags
get_decisionsList decisions with optional tag and limit filters
search_decisions_ftsFull-text search across decision fields

Progress

ToolDescription
log_progressCreate a new progress/task entry
get_progressList progress entries with optional status and parent filters
update_progressUpdate the status or description of an existing entry

System Patterns

ToolDescription
log_system_patternDocument a new architectural or design pattern
get_system_patternsList patterns with optional tag filters

Custom Data

ToolDescription
log_custom_dataStore arbitrary category/key/value data
get_custom_dataRetrieve custom data by category and key
search_custom_data_value_ftsFull-text search across custom data values

Relationships

ToolDescription
link_engrams_itemsCreate a typed relationship between two items
get_linked_itemsRetrieve all items linked to a given item

Governance

ToolDescription
tool_check_planned_actionPre-mutation check: verify a planned action against all accepted team decisions before any workspace changes. Returns blocked=true if the action conflicts.
create_scopeCreate a governance scope (team or individual)
get_scopesList all scopes
log_governance_ruleLog a governance rule within a scope
get_governance_rulesRetrieve governance rules
check_compliancePost-write check: verify an existing item against all applicable scope rules
get_scope_amendmentsList amendment proposals
review_amendmentApprove or reject an amendment
get_effective_contextMerged team + individual context for a scope

Codebase Bindings

ToolDescription
bind_code_to_itemBind a glob path pattern to a decision or pattern
get_bindings_for_itemList all bindings for an item
get_context_for_filesRetrieve all context bound to given file paths
verify_bindingsCheck binding health: filesystem scan (mode='full') or staleness check (mode='staleness')
suggest_bindingsAuto-propose bindings based on pattern analysis
unbind_code_from_itemRemove a binding by ID

Search

ToolDescription
semantic_search_engramsNatural-language conceptual search across all entity types using vector embeddings. Filter by item types, tags, or categories.
search_decisions_ftsKeyword search across decision text (also listed under Decisions)
search_custom_data_value_ftsKeyword search across custom data (also listed under Custom Data)

Context Budgeting

ToolDescription
get_relevant_contextRetrieve scored, budget-aware context for a query (set dry_run=True to preview token estimates)
manage_budget_configView or update scoring weights (omit weights to read, provide to update)

Onboarding

ToolDescription
get_project_briefingGenerate a project briefing (set staleness_only=True to check freshness, pass a single section in sections to drill down)

Utilities

ToolDescription
get_recent_activity_summarySummary of recent database activity
export_engrams_to_markdownExport all knowledge to markdown files
import_markdown_to_engramsImport knowledge from a markdown export directory
batch_log_itemsLog multiple items of the same type in one call
delete_itemPermanently delete any Engrams item by type and ID (or category+key for custom data)