Skip to main content
Glama
@memoryrelay/mcp-server

@memoryrelay/mcp-server

Official
by memoryrelay

memory_store_async

Store a memory asynchronously and return at once with a job ID while background workers generate the embedding. Use it for high-throughput or latency-sensitive applications.

Instructions

Store a memory asynchronously using V2 API. Returns immediately (<50ms) with 202 Accepted and a job ID. Background workers generate the embedding. Use memory_status to poll for completion. Prefer this over memory_store for high-throughput or latency-sensitive applications.

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": {
      "content": "<content>"
    },
    "name": "memory_store_async"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNoMemory tier override: "hot", "warm", or "cold"
contentYesThe memory content to store. Be specific and include relevant context.
projectNoProject slug to associate the memory with
metadataNoOptional key-value metadata to attach to the memory
importanceNoMemory importance (0.0-1.0). Values >= 0.8 promote to hot tier.
webhook_urlNoOptional webhook URL to receive completion notification

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, but the description carries most of the burden well: it discloses the immediate-return contract (<50ms), the 202 Accepted response with a job ID, that embedding happens in background workers, and that completion is observed via memory_status. What it omits is failure behavior — what happens on invalid input, whether a failed job is retried, and whether the webhook in the schema fires on failure as well as success.

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?

Four short sentences, each doing distinct work: what it does, what it returns, how to follow up, and when to prefer it. Front-loaded with the core action and zero filler.

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?

There is no output schema, and the description compensates by explaining the returned status code and job ID, plus the polling path to completion — enough for an agent to call it and handle the result. It is slightly short of complete because it does not say where the job ID appears in the response or how long results persist.

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 all six parameters including the tier enum, importance range, project slug, and webhook_url are already documented in structured fields. The description adds no parameter-level meaning beyond the schema — it never mentions tier, importance promotion thresholds, or webhook usage — so the baseline 3 is appropriate.

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 plus a distinguishing mode: "Store a memory asynchronously using V2 API." The parenthetical detail (returns a 202 + job ID, background embedding) makes it immediately distinguishable from the synchronous 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 Guidelines5/5

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

Explicitly says to use memory_status to poll for completion, and gives the selection rule against the sibling: "Prefer this over memory_store for high-throughput or latency-sensitive applications." Both the alternative and the condition that selects it are named.

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