Skip to main content
Glama

memory_add

Store a fact or observation in an agent's memory for persistent recall and knowledge graph building across sessions.

Instructions

Store a new fact in GrayMatter memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe observation or fact to remember.
agent_idYesThe agent to associate this memory with.
Behavior2/5

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

The annotations are all false and provide no meaningful safety or behavior hints. The description merely restates the tool's purpose ('store') without adding operational context such as whether it appends without overwriting, any persistence guarantees, or what happens to existing memories. No contradiction exists, but no behavioral detail is disclosed beyond the annotations.

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?

The description is a single, front-loaded sentence with no filler. Every word contributes to conveying the core action, and it is appropriately sized for a simple two-parameter write operation.

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

Completeness3/5

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

This is a simple tool with two required parameters and no output schema, so the description is adequate at a basic level. However, it omits guidance on when to choose this tool over siblings and does not explain what the agent should expect as a result (e.g., confirmation, returned memory ID), leaving a moderate gap for autonomous decision-making.

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%, so the schema documents both parameters (text and agent_id) thoroughly. The description adds no extra parameter-level meaning: it mentions 'new fact' which mirrors the schema's 'observation or fact', and doesn't clarify formats, constraints, or relationships beyond what the schema already provides. Baseline 3 applies.

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?

Description is clear: 'Store a new fact in GrayMatter memory' has a specific verb and resource, and the action of adding a memory is distinct from the sibling tools (search, reflect, checkpoint). However, it does not explicitly differentiate itself from these siblings or mention their existence, so it stops 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 Guidelines2/5

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

The description gives no guidance on when to use this tool versus alternatives like memory_search or memory_reflect. The intended use case (adding a new fact) is only implied by the verb 'store' and the tool name; no explicit context, conditions, or exclusions are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/angelnicolasc/graymatter'

If you have feedback or need assistance with the MCP directory API, please join our Discord server