Skip to main content
Glama
agentcore-memory-mcp

agentcore-memory-mcp

by htuann

memory_update

Updates a stored long-term memory by changing its text content or replacing its tag list, enabling AI agents to revise memories in Amazon Bedrock AgentCore Memory.

Instructions

Change a memory. updates may hold content (new text) and tags (new tag list).

Tags may also be given as {"metadata": {"tags": [...]}}. Passing tags replaces the existing ones.

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_hash": "<content_hash>",
      "updates": "<updates>"
    },
    "name": "memory_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
updatesYes
content_hashYes
preserve_timestampsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully states that passing tags replaces existing tags and that tags may be supplied via metadata.tags, but it does not describe permissions, failure behavior, whether content is overwritten, or what preserve_timestamps controls.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the core action, then adds relevant tag-related details. The line breaks are a little awkward, but there is no substantive wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and 0% schema description coverage, the description is incomplete: it omits what content_hash identifies, what preserve_timestamps does, and broader update semantics. The presence of an output schema means return values need not be explained, but input-side completeness is still insufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three parameters, so the description must compensate. It explains part of updates, namely content and tags, and gives tag replacement semantics, but it never explains the required content_hash selector or the preserve_timestamps parameter, leaving critical parameter meaning 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 opens with 'Change a memory,' which is a clear update verb applied to a memory resource. It also names the updatable concepts of content and tags, but does not explicitly contrast with siblings like memory_store or memory_delete, so sibling differentiation is only implicit through the verb.

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 provides no explicit when-to-use guidance, prerequisites, or alternatives. The only implied usage is that this tool changes an existing memory, with no conditions or exclusions stated.

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