Skip to main content
Glama

get_memory

Retrieve a specific memory by its ID to access full details, including metadata and timestamps, after a search or to verify stored content.

Instructions

Retrieve a specific memory by its ID.

When to Use

  • You have a memory ID from a previous search result

  • After adding a memory and need to verify or get full details

  • User asks for details about a specific memory they referenced

  • After update/delete operations to confirm results

Pre-Execution Recall

Usually you'll use search_memories first to find relevant memories. Use get_memory when you already have an ID and need full details.

Returns full memory details including metadata, timestamps, and the stored content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe memory ID to retrieve.
Behavior3/5

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

No annotations provided, so description carries full burden. It states the return includes 'full memory details including metadata, timestamps, and the stored content' but does not mention error handling (e.g., if ID not found) or other behavioral traits like idempotency.

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?

Description is well-structured with clear sections, concise (about 5 sentences), and every sentence adds value with no redundancy.

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

Completeness5/5

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

For a simple retrieval tool with 1 parameter and no output schema, the description provides enough context: when to use, what it returns, and relationship to siblings. Complete for the complexity level.

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?

Input schema has 1 parameter 'id' with description 'The memory ID to retrieve.' Schema coverage is 100%. Description does not add new parameter info beyond schema; 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?

Description clearly states 'Retrieve a specific memory by its ID.' It specifies the verb (retrieve) and resource (memory by ID), and distinguishes from sibling tools like search_memories.

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?

Provides explicit 'When to Use' and 'Pre-Execution Recall' sections, explaining when to use this tool (e.g., have memory ID) and recommending search_memories when lacking an ID. Lacks explicit when-not-to-use but context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JoeXie/remember-me'

If you have feedback or need assistance with the MCP directory API, please join our Discord server