Skip to main content
Glama

memory_store

Save a new memory into a causal graph, optionally linking it to existing memories with typed relationships such as supports, contradicts, or supersedes.

Instructions

Store a new memory in the causal memory graph. Use related for writer-specified typed edges (each {id, type}); related_to is legacy and always creates caused_by edges. May return possible_conflicts — heuristic hints, not verified contradictions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
org_idNoRequired when visibility is 'org'. Must be an org the caller belongs to.
contentYes
relatedNoTyped explicit edges. Direction: new_node --type--> target.
categoryNoFree-form classification (suggested: professional, educational, family, location).
related_toNoLegacy: ids of nodes to link via caused_by. Prefer `related`.
visibilityNoprivate
source_sessionNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It discloses the primary side effect (storing a new memory), the edge-creation behavior, legacy behavior of 'related_to', and notes that 'possible_conflicts' may be returned as heuristic hints. It does not mention authentication or permission side effects, but the core behaviors are transparent.

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 concise, using only two sentences to cover purpose, edge semantics, legacy behavior, and return hints. There is no redundancy or unnecessary detail.

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?

The description covers the essential purpose, key parameter distinctions, legacy behavior, and return hints. It omits some details about fields like 'content' and 'visibility', but the overall context is sufficient for a typical agent to correctly invoke the tool.

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?

The description adds value by explaining 'related' edges, the legacy nature of 'related_to', and the direction semantics. However, schema coverage is only 57%, and the description does not compensate for undocumented parameters like 'content', 'visibility', or 'source_session'. It partially clarifies parameters but not comprehensively.

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?

The description clearly states the tool's primary action: storing a new memory in the causal memory graph. It distinguishes itself from sibling tools like memory_amend (existing memories), memory_recall, and memory_search by emphasizing 'new memory'.

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?

The description gives clear context for using the tool, including guidance on preferring the 'related' parameter over the legacy 'related_to' and clarifying that 'related_to' always creates caused_by edges. It does not explicitly say 'use this instead of memory_amend for existing memories,' but the context is clear enough.

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

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/Astrix-Labs/papez'

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