Skip to main content
Glama
4DA-Systems

@4da/mcp-server

Official

Agent memory

agent_memory

Store and recall cross-agent discoveries, decisions, and warnings to preserve context before starting work, with tag or recency search.

Instructions

Cross-agent persistent memory: what one agent learns, any agent can recall. Call to store a discovery, decision, or warning, or to recall prior context before starting work.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoTags to search for (for recall_by_tags)
limitNoMax results to return (default 20)
queryNoSearch term to match against subject and tags (for recall)
sinceNoISO datetime to get memories after (for get_recent)
actionYesAction to perform
contentNoFull memory content (for store)
subjectNoShort subject line for the memory (for store)
agent_typeNoAgent identifier, e.g. claude_code, cursor, windsurf (for store)
expires_atNoISO datetime when this memory expires (for store, optional)
session_idNoSession identifier (for store)
memory_typeNoType of memory (for store). Default: context
context_tagsNoTags for categorization (for store)
filter_agentNoFilter results to a specific agent type (for recall, get_recent)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.0.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already carry the safety profile (readOnlyHint=false, destructiveHint=false, non-idempotent), and the description adds the genuinely useful behavioral trait that memories are persistent and shared across agents. It says nothing about expiry semantics, result volume, or what 'recall' returns, which the annotations do not cover.

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 sentences, zero filler, front-loaded with the defining capability followed by the usage instruction. The 'what one agent learns, any agent can recall' clause earns its place by conveying the cross-agent scope that is the tool's whole point.

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?

Given 13 parameters fully documented in the schema, no output schema, and annotations carrying safety hints, the description covers the essential read/write duality adequately. It is slightly thin on how the four actions differ in results and on the persistence/expiry model, but nothing critical to correct invocation is missing.

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 every parameter is already documented in the schema with per-action hints, so the baseline is 3. The description adds no parameter-level detail (e.g., interplay of query/tags/limit or action-specific parameter usage) beyond what the schema provides.

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 resource (cross-agent persistent memory) and the two core verbs (store, recall), so an agent immediately knows this tool reads and writes shared memory. It does not, however, distinguish itself from closely related siblings such as decision_memory, get_context, or what_should_i_know, so it falls short of a 5.

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?

It gives concrete usage context on both sides: 'store a discovery, decision, or warning' and 'recall prior context before starting work.' That is clear when-to-use guidance, but it offers no exclusions or explicit routing to the sibling memory tools, so it does not reach 5.

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