Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

memory_batch_store

Batch-save multiple related facts or observations in one request instead of repeating individual store calls.

Instructions

Store multiple memories in a single operation. More efficient than calling memory_store repeatedly when saving several related facts or observations.

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": {
      "memories": "<memories>"
    },
    "name": "memory_batch_store"
  }
}

Input Schema

NameRequiredDescriptionDefault
memoriesYesArray of memories to store (1-100 items)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the batch nature and the efficiency rationale, but says nothing about failure semantics (all-or-nothing vs partial success), duplicate handling, or whether the operation is idempotent.

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 short sentences, front-loaded with what the tool does and followed by the efficiency rationale and alternative. No filler or redundancy.

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 one-parameter batch write with full schema coverage and no output schema, the definition covers purpose and alternative well. The main remaining gap is what the tool returns (e.g. stored IDs or a count), which an agent would need to chain follow-up calls.

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 coverage is 100% and the single array parameter is fully documented, including the 1-100 item bounds and per-item content/metadata fields. The description's phrase "several related facts or observations" adds a mild grouping hint but no new detail beyond the schema.

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 verb and resource ("Store multiple memories") plus the batch scope ("in a single operation"), which immediately separates it from the single-item memory_store sibling.

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 a clear usage condition ("when saving several related facts or observations") and explicitly names memory_store as the alternative for repeated calls. It stops short of stating when not to use it, e.g. unrelated memories or ordering constraints.

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