Skip to main content
Glama

Agent Memory

agent-memory

Agent Memory — Store or recall private, scoped memory for your agent. Use {action:'store', content:'...'} to save a fact and {action:'recall', query:'...'} to fetch the most relevant memories by meaning (or the latest memories when query is empty). Good for continuity across sessions; agent-brain is the reasoning layer that reads and writes memory in the loop. (2 MESH/call, a tool · memory)

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": {
      "input": "<input>"
    },
    "name": "agent-memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesPayload for agent-memory

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, openWorld=true, idempotent=false; the description adds real context on top: memories are private and scope-bounded, recall ranks by meaning with a keyword fallback whose mode is reported, empty query returns the latest 10, and each call costs 2 MESH. It does not describe retention or deletion behavior, but for a non-destructive read/write pair this is solid disclosure.

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?

A single tight paragraph that front-loads the store/recall distinction before the supporting context. The trailing '(2 MESH/call, a tool · memory)' tag is slightly noisy but carries a genuine cost signal, so little is wasted.

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?

With one required nested parameter, no output schema, and annotations covering the safety profile, the description supplies enough to call both modes correctly, including the empty-query edge case. The only gap is that return shape is not described, which is acceptable given no output schema exists.

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% and the nested payload already documents action, query, content, and character in detail, so the description's inline examples mostly restate the schema. It adds a small amount by showing the minimal valid call shape, but the truncation, aliasing, and fallback semantics are all schema-side, so the baseline 3 applies.

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

Purpose5/5

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

States a specific resource (private, scoped agent memory) and both operations it performs (store, recall), with inline call shapes that make the two modes unambiguous. An agent can tell instantly whether it needs to save a fact or fetch one, and the mention of agent-brain as the reasoning layer clarifies the division of responsibility.

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

Usage Guidelines4/5

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

Gives clear context for use ('Good for continuity across sessions') and splits guidance by action (store to save, recall to fetch). It does not name a when-not case or an alternative memory tool to avoid, so it stops short of full routing guidance, but the intended usage is explicit rather than implied.

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.