Skip to main content
Glama

brain_remember

Persist facts, decisions, configs, bugs, workflows, and preferences with tags and project scope so AI coding agents keep context across sessions.

Instructions

Store a memory in the brain. Use this to persist facts, decisions, architecture patterns, configs, bugs, workflows, and preferences across sessions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "brain_remember"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags for searchability.
contentYesThe memory content to store. Be specific and self-contained.
projectNoProject ID to scope this memory to. Omit for global memories.
categoryNoMemory category. Default: 'fact'.
importanceNoImportance. 'critical' = never decays. Default: 'normal'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and delivers little beyond the persistence hint ("across sessions"). It does not state whether repeated stores deduplicate, whether writes are reversible, what permissions or scoping rules apply, or what a successful call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the operation and followed by the use case. The enumeration of memory types partially duplicates the schema's category enum, but it still reads efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter mutation tool with no annotations and no output schema, the definition explains the intent but not the write semantics an agent would want — conflict/duplicate handling, scoping behavior when project is omitted (only implied by the schema), and response expectations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, with every parameter described and two enums plus defaults spelled out, so the description need not restate them. The category list in the prose loosely mirrors the schema enum rather than adding new meaning, which is the expected baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a concrete verb and resource ("Store a memory") and enumerates the kinds of content it holds, so the write operation is unambiguous. It does not distinguish itself from siblings such as brain_auto_learn or brain_search, which an agent must infer from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use this to persist facts, decisions, ... across sessions" gives a clear positive trigger for calling it. There is no guidance on when not to use it or which sibling handles overlapping cases (auto-learn vs. explicit store), so selection still requires guessing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.