An agent does not need a memory API. It needs a small, predictable set of tools and a clear idea of when to call them. Memo exposes twenty-four: eight that read, and sixteen that write.
memory_contextmemory_searchmemory_listmemory_getmemory_personal_categoriesmemory_addmemory_add_personalmemory_add_codememory_updatememory_deletememory_restorememory_exportmemory_importmemory_personal_category_addmemory_personal_category_updatememory_personal_category_deletememory_code_typesmemory_code_category_addmemory_code_category_updatememory_code_category_deletememory_reposmemory_repo_creatememory_repo_sharememory_feedbackThe pattern that works
- Start with context, not search.
memory_contextreturns the small pack that makes an agent feel like it already knows the project. Searching first produces narrow answers to broad questions. - Search when the question is specific. “What command do we use for migrations?” is a search. “What are you working on?” is context.
- Write only what is durable. A preference, a decision, a rule, a gotcha. Not the task, not the plan for this turn, not something already stored.
- Update instead of adding again. When the user corrects a stored fact, call
memory_updatewith its id. A secondmemory_addleaves two contradictory rows. - Use a key for rules with one current answer. Commands, paths, environment variables, package managers. The next save replaces the value.
- Rate what was used. Feedback is the only signal that tells Memo a memory was worth retrieving.
The server's instructions
Connecting over MCP also sends an instruction block, which most clients surface to the model automatically:
Memo is the user's long-term memory across AIs: personal preferences, facts,
goals, people, skills, plus project conventions, decisions and gotchas for code.
- Call memory_context at the start of a task.
- Call memory_search when you need a specific fact.
- Call memory_add when the user states a durable preference, fact, goal,
decision or gotcha.
- When a stored memory is wrong or out of date, correct it with memory_update
using its id instead of adding a second row; use memory_delete to remove one.
- For code memories pass repo as 'owner/name'; for personal memories pass
kind='personal'.
- Pass a stable key on code or personal memories so updated values overwrite
instead of duplicating.If your client ignores server instructions
Some clients show tools but do not forward the server's instruction text. Put the same rules in your project instructions — CLAUDE.md, AGENTS.md, .cursor/rules or the equivalent — so the behaviour survives a client that only reads its own prompt files.
## Memory
Use Memo for anything I would otherwise repeat:
- start tasks with memory_context (repo: current repository)
- search before assuming a convention
- save durable preferences, decisions and gotchas with memory_add
- do not save task instructions or one-off plansTools are scoped to the token's owner. A shared repository appears automatically, but personal memory from a teammate never does.
The next page is the full parameter reference for each tool, including the response shapes your client will see.