Skip to main content
Glama
Omni Memory MCP

Omni Memory MCP

by allanschramm

memory_upsert

Create or update a canonical memory when one clear match exists, keeping stored agent context accurate and avoiding duplicate entries.

Instructions

Create a new memory or update an existing canonical memory when there is one clear match.

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_upsert"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoMemory area (default: general)
nameNoSummary or title of the memory
tagsNoTags for categorization
contentYesThe content to store in memory
projectNoProject identifier for organization
metadataNoGraph relationships or extra properties
match_nameNoOptional stable name to use for matching instead of name
allow_createNoIf false, do not create a new memory when no match is found

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.7

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden and largely drops it. It does not say whether an existing memory is replaced, merged, or appended to, what happens under ambiguous or multiple matches, whether matches are scoped by project/area, or what the response contains. For a mutation tool with zero annotation coverage these are material omissions.

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?

One sentence, front-loaded with the two possible outcomes and the governing condition. There is no filler and no restatement of the tool name or schema fields.

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 an eight-parameter mutation tool with no annotations and no output schema, where the central risk is ambiguous match resolution and overwrite behavior. The description never addresses either, so an agent cannot predict the effect of a call on existing data.

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% across all eight parameters, so match_name, allow_create, area, and project are already documented in the schema. The description repeats the match concept at a high level but adds no syntax, precedence, or interaction detail (e.g. match_name vs name). Baseline 3 applies when the schema does the heavy lifting.

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?

The description names a specific operation on a specific resource: create-or-update of a memory keyed on a single clear match. The upsert semantics ('create a new memory or update an existing') are stated directly. It does not distinguish the tool from the obvious siblings memory_add and memory_update, which is the one clarity gap.

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?

'When there is one clear match' gives a conditional for the update branch, implying the tool fits cases where existence is unknown. However, it never says when to prefer this over memory_add or memory_update, nor what to do when there are zero or multiple matches. Usage guidance is implied rather than explicit.

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