Skip to main content
Glama

store_memories_batch

Atomically store multiple memories in a single transaction to guarantee all-or-nothing consistency, then rebuild the index once for optimal search performance.

Instructions

Store multiple memories atomically in a single transaction, then rebuild the index once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memoriesYesA list of memories, each containing 'content', and optional 'idempotency_key' and 'metadata'.
Behavior4/5

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

With no annotations, the description carries the burden and discloses meaningful behaviors: atomic transaction (all-or-nothing) and index rebuild once. It does not cover error handling or permissions, but the atomicity and performance details are valuable beyond the basic store action.

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?

A single sentence conveys the action, the atomic behavior, and the index-rebuild side effect. No wasted words; it is front-loaded and easy to parse.

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?

For a simple batch storage tool with one parameter and no output schema, the description covers the core purpose and key behavioral traits. It does not explain return values, but that is not required given the absence of an output schema and the straightforward nature of the operation.

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%, with the 'memories' parameter fully detailed as an array of objects with content, metadata, and idempotency_key. The description adds no extra parameter semantics, so it relies on the schema, which is adequate.

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 action ('Store multiple memories'), the resource ('memories'), and the batch nature ('multiple'). It distinguishes from sibling tools by emphasizing atomicity and the batch scope, unlike store_memory (single) and recall_memories (retrieval).

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: use when storing multiple memories and when atomicity matters. It does not explicitly name alternatives or exclusions, but the batch-focused phrasing implies when it should be used over store_memory.

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/axtontc/MemMCP'

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