Skip to main content
Glama

memory_add

Records user-stated durable facts, preferences, and decisions as auditable long-term memory, excluding one-off moods, guesses, and implied details.

Instructions

Record one durable fact, preference or decision the user stated explicitly. Do not record one-off moods, guesses, or anything the user merely implied.

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": {
      "text": "<text>"
    },
    "name": "memory_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoEntry kind.
textYesOne short sentence, <= 200 chars.
scopeNoWhere it applies.
importanceNoP0..P3, default P2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden, and it partially does by disclosing the content-admission policy. It says nothing about what happens on write — duplicate handling, whether similar facts merge, whether a returned identifier exists, or reversibility via memory_forget. Those are meaningful gaps for a mutation tool with zero annotation coverage.

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

Conciseness5/5

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

Two short sentences: the positive rule first, the exclusion second. Every clause earns its place and there is no restating of the tool name or filler.

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

Completeness4/5

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

For a four-parameter tool whose schema is fully described and which needs no output schema, the description covers the hardest judgment call — what qualifies as memorable. It is silent on duplicate/overwrite behavior and on how scope and importance should be chosen, but those are secondary given the rich schema.

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 description coverage is 100%, so the schema already explains kind, text, scope, and importance, making 3 the baseline. The description adds only loose alignment with the kind enum (preference/fact/decision) and says nothing about scope or the P0–P3 importance tiers, and it omits the character/plot/event kinds entirely.

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?

"Record one durable fact, preference or decision" gives a concrete verb and a scoped resource, and the explicit/implicit boundary narrows what counts as a valid memory entry. It does not directly contrast itself with near-neighbours like journal_write, so an agent must infer that narrative/journal content belongs elsewhere.

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

Usage Guidelines5/5

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

Both sides of the decision are stated: use it for durable facts/preferences/decisions the user stated explicitly, and do not use it for one-off moods, guesses, or implied content. That exclusion clause is exactly the kind of negative guidance that prevents over-eager memory writes.

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