Skip to main content
Glama
agentcore-memory-mcp

agentcore-memory-mcp

by htuann

memory_search

Search long-term memories semantically by query and return ranked matches with optional filters for date, memory type, and tags.

Instructions

Semantic search over memories, best match first.

after and before are ISO 8601 dates. memory_type is facts, prefs, summaries or manual; empty searches all of 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": {
      "query": "<query>"
    },
    "name": "memory_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
afterNo
limitNo
queryYes
beforeNo
memory_typeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 burden. It usefully discloses result ordering (best match first) and that an empty filter broadens rather than narrows, but says nothing about read-only semantics, permissions, or limits on result size.

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?

Two short sentences, front-loaded with the core purpose, and the parameter notes are packed into a compact clause. No filler, though a line break rather than run-on phrasing would improve scanability.

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?

An output schema exists, so return values need not be described. However, for a 6-parameter tool with zero schema coverage, three parameters remain wholly undocumented, leaving an agent guessing at limit and tags behavior.

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 carry parameter meaning. It does valuable work for three of six parameters — ISO 8601 format for after/before, the accepted memory_type values, and the empty-string default behavior — but leaves query, limit, and tags with no explanation at all.

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?

States a specific verb and resource ('Semantic search over memories') plus a result-ordering guarantee ('best match first'), which separates it from a plain enumeration tool like memory_list without naming it. It stops short of explicit sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The word 'semantic' implies this is the query-based retrieval path rather than a listing path, but the description never states when to use it versus memory_list or how to page/expand results. Usage must be inferred.

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