memory_write
Store facts, decisions, bugs, and plans in shared memory. Tag entries for filtering and set confidence to indicate certainty.
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 that governs archivist behavior fleet-wide; requires elevated permission (the UI agent has it by default); confidence is always forced to 1.0
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 |
|---|---|---|---|
| content | Yes | What to store. Markdown is fine. | |
| entry_type | No | See types above. Default: memory. | memory |
| scope | No | See scopes above. Default: project. | project |
| project | No | Project to scope the entry to. Defaults to MCP_PROJECT if set. | |
| tags | No | Tags for filtering and retrieval. Use them — they make memory_list useful. | |
| confidence | No | How certain you are (0.0–1.0). Default 1.0. Use lower for guesses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |