memory_write
Write facts, decisions, and plans to shared memory with tags and scopes so agents can retrieve them later.
Instructions
Write something to shared memory. Use this often.
Write whenever you learn, decide, or discover something worth keeping:
Facts about the codebase, infrastructure, or domain
Decisions made and why
Bugs found, workarounds, gotchas
Plans, designs, open questions
Anything another agent (or future you) would want to know
Types:
memory: default, use this for everything
doc: stable reference material; normally written by the archivist, not agents
directive: a standing instruction the archivist reads before synthesis; scoped like any entry, but the archivist loads directives from every project it can see, so write it to apply beyond this project too; confidence is always forced to 1.0 and it never decays
skill: procedural knowledge, how to do something; decays like memory, never promoted, never merged; superseded by directives on the same topic
Scopes:
project: visible to all members of this project (default)
agent: only you can see it
Args: content: What to store. Markdown is fine. entry_type: See types above. Default: memory. scope: See scopes above. Default: project. project: Project to scope the entry to. Defaults to MCP_PROJECT if set. tags: Tags for filtering and retrieval. Use them, they make memory_list useful. confidence: How certain you are (0.0–1.0). Default 1.0. Use lower for guesses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for filtering and retrieval. Use them, they make memory_list useful. | |
| scope | No | See scopes above. Default: project. | project |
| content | Yes | What to store. Markdown is fine. | |
| project | No | Project to scope the entry to. Defaults to MCP_PROJECT if set. | |
| confidence | No | How certain you are (0.0–1.0). Default 1.0. Use lower for guesses. | |
| entry_type | No | See types above. Default: memory. | memory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |