Skip to main content
Glama
agentcore-memory-mcp

agentcore-memory-mcp

by htuann

memory_store_session

Stores a conversation session for background extraction into long-term facts, preferences, and a summary, so agents can retain useful context without manual note-taking.

Instructions

Send a conversation to be turned into facts, preferences and a summary.

turns is a list of {"role": "user" or "assistant", "content": "..."}. Extraction runs in the background and takes about a minute. Tags and metadata are ignored: extracted memories cannot carry them.

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": {
      "turns": "<turns>",
      "session_id": "<session_id>"
    },
    "name": "memory_store_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
turnsYes
metadataNo
session_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that extraction runs in the background, takes about a minute, and ignores tags and metadata, but it does not clarify persistence, overwrite/duplicate behavior, permissions, or error handling for this write-like operation.

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 front-loaded, compact, and free of filler. Each sentence contributes useful information about purpose, input shape, timing, and ignored parameters.

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?

The description is adequate for a four-parameter tool with no annotations and an output schema, especially because return values need not be explained. However, it omits session_id semantics and important mutation behavior such as duplicate handling and persistence.

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 0%, so the description must compensate. It explains the turns format and that tags and metadata are ignored, which adds real meaning, but it leaves the required session_id parameter undocumented.

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?

The description states a clear verb and resource: send a conversation to be turned into facts, preferences, and a summary. It is more specific than the tool name alone, but it does not explicitly differentiate this from sibling tools such as memory_store.

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 explains what happens after calling it, including background extraction and roughly one minute of latency, but it gives no explicit guidance on when to use this tool versus memory_store or other memory tools.

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