Skip to main content

MCP Tools Overview

BaseLayer exposes eleven tools via MCP. Any connected AI can call these to interact with your memory.

Querying

ToolPurposeWhen to use
ask_questionSynthesize answers with citationsFactual questions about you, your projects, preferences, and history

Searching & Exploring

ToolPurposeWhen to use
memory_searchSemantic search across entities and factsBrowsing, exploring, or discovering entities in your memory
get_entityFetch a full entity dossierDeep dive into a specific person, project, plan, or concept
get_entity_relationsBrowse graph edges and connectionsUnderstanding how entities are linked, filtering connections
get_entity_provenanceTrack fact originsVerifying where knowledge came from, auditing sources
list_entitiesBrowse all entities of a typeDiscovering what’s in your memory, finding plans
recent_conversationsLoad recent dialogue contextStart of a conversation, catching up on recent activity
retrieve_evidenceSearch raw conversation windowsFinding exact quotes, code snippets, or original wording

Writing

ToolPurposeWhen to use
record_memoryPersist observations and contextSaving decisions, notes, corrections, preferences
vault_factAssert precise facts in the graphCreating specific entity relationships and edges
update_planPersistent markdown scratchpadsTracking multi-step efforts across sessions

Common patterns

Start of conversation: The AI calls recent_conversations to load recent context, then uses ask_question as needed throughout the conversation. Factual questions: ask_question first for a synthesized answer with citations, then get_entity if more detail is needed on a specific entity. Research mode: memory_search to discover entities, then get_entity for full dossiers, then get_entity_relations to explore connections. Storing knowledge: record_memory for general notes and decisions, vault_fact for precise facts linking two entities. Plans: update_plan to create or update a persistent scratchpad, get_entity(type="plan") to read it back in any future session.

Tool priority order

When an AI needs to find information, it should follow this priority chain:
  1. ask_question — always try this first for any factual query
  2. memory_search — browse, explore, or find entities by type
  3. get_entity — read a full dossier before acting on partial search results
  4. retrieve_evidence — only when exact quotes or raw context are needed

How AIs use these tools

You don’t need to explicitly ask your AI to call these tools. Connected AIs use them naturally based on context:
  • If you ask about past work, the AI calls ask_question
  • If you share a decision, the AI calls record_memory
  • If you ask “what do you know about X,” the AI calls get_entity
  • If you start a multi-session effort, the AI creates a plan with update_plan
You can also explicitly request tool calls:
“Search my memory for anything about the Stripe integration.”
“Remember that we decided to use Redis for caching.”
“Create a plan to track the auth refactor.”