Skip to main content
Glama

Remember

remember

Store a semantic memory. If mem_key is set, upserts (update if a row with this key exists for the same scope, else insert) — nulls in the scope are matched safely with two-step lookup.

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

Input Schema

NameRequiredDescriptionDefault
sourceNo
contentYes
mem_keyNo
agent_idNo
brain_idNo
expires_atNo
importanceNo1..5
occurred_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description goes beyond that by disclosing upsert semantics, scope-based matching, and a null-safe two-step lookup, which is genuinely useful operational context. It still omits what a write actually does to existing rows (overwrites all fields?), whether embeddings or timestamps are regenerated, and any permission requirements.

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 sentences, front-loaded with the core action and then the conditional nuance, with no filler. The parenthetical upsert explanation is dense but earns its space given the schema gaps.

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?

For an eight-parameter mutation tool with near-zero schema descriptions and no output schema, the definition leaves too much unexplained: the scope parameters are never identified, timestamps and expiry are unaddressed, and there is no indication of what a successful store returns. The mem_key treatment is strong but covers only one of the gaps.

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 only 13% (only `importance` is documented as '1..5'), so the description should compensate, and it does explain `mem_key` in real depth. However, it repeatedly refers to 'the scope' without naming which parameters form it — presumably agent_id and brain_id — and says nothing about source, expires_at, or occurred_at, so most of the eight parameters remain opaque.

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 ('Store a semantic memory'), which is clear enough to distinguish storing a memory from the write-oriented siblings like create_document or create_agent. It does not, however, differentiate itself from the close sibling remember_person, leaving the agent to infer the boundary.

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 when-to-use or when-not-to-use guidance, and no alternative is named despite remember_person appearing in the sibling list. The conditional about mem_key is a behavioral rule for the call, not guidance about whether this tool is the right one to reach for.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources