Skip to main content
Glama

Add Memory

memory_add

Stores new facts, preferences, project details, tasks, or notes as persistent memories and automatically removes near-identical duplicates to keep records clean.

Instructions

Stores a new memory (fact, preference, project detail, task, knowledge, relationship, or conversation note). Automatically deduplicates against near-identical existing memories.

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": "memory_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
typeNoMemory type, defaults to 'fact'
pinnedNo
contentYesThe memory content to store
user_idNoDefaults to the server's configured default user
entitiesNo
namespaceNoNamespace for isolation, e.g. personal/work/project/team. Defaults to 'personal'
confidenceNo
importanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations present, the description carries the full behavioral burden. It does disclose one genuinely non-obvious trait — automatic deduplication against near-identical memories — but says nothing about whether a dedup hit creates nothing, returns the existing memory, or merges fields, nor about authentication or side effects of the write.

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 tight sentences, zero filler, with the core action front-loaded and the dedup behavior immediately after. Nothing is repeated for its own sake.

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

Completeness2/5

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

This is a 9-parameter mutation tool with no annotations and no output schema, so the description is the only place an agent can learn what happens on a write. It omits the dedup outcome, defaults for namespace/user_id, and any signal about what the call returns, which is a substantial gap for an add operation.

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

Parameters2/5

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

Schema description coverage is only 44%, so the description should compensate, yet it adds no meaning for tags, pinned, entities, confidence, importance, or user_id. The type list merely restates the enum already present in the schema, leaving roughly half the parameters undocumented anywhere.

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?

States a specific verb and resource ("Stores a new memory") and enumerates the kinds of content it holds, matching the type enum. It is clear what the tool does, but it never contrasts itself with memory_update, memory_import, or memory_extract, so sibling differentiation is left to the reader.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The word "new" faintly implies this is not the tool for editing existing memories, but that inference is never stated, and there is no mention of prerequisites such as a configured user or namespace.

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