Skip to main content
Glama

memory_get

Retrieve a memory by ID with options to filter fields, exclude images, or follow version history.

Instructions

Retrieve a single memory by id (full content by default).

Args: memory_id: ID of the memory to retrieve include_images: If False, strip image data from metadata to reduce response size fields: Optional list of fields to return (e.g. ["id","content","tags"]). None returns all fields. follow: Lineage mode — "latest" resolves to the current version (walks supersedes chains), "full_history" adds a "history" key with all versions from root to leaf.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYes
include_imagesNo
fieldsNo
followNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations exist, so the description must disclose behavior. It explains that include_images strips image data, fields limits output, and follow handles versioning. It does not mention side effects (none expected for a read) or error conditions, but covers key traits.

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 structured with a brief top line and an Args list. It is fairly concise given the number of parameters, though it could be slightly tighter. The main purpose is front-loaded.

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?

Given that an output schema exists (though not shown), the description need not detail return values. It handles four parameters, including versioning logic, which is complex. The description is sufficient for an AI to use the tool correctly.

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

Parameters5/5

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

With 0% schema description coverage, the description provides full parameter semantics: memory_id is required, include_images reduces response size, fields allows projection, follow enables lineage modes. This adds significant meaning beyond the schema's property names.

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?

The description clearly states the verb 'Retrieve' and resource 'a single memory by id', with options like full content or specific fields. It distinguishes from siblings (e.g., memory_list lists multiple memories, memory_get_document retrieves a different resource).

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 description explains parameter usage (e.g., 'follow' modes, 'fields' for projection) but does not explicitly guide when to choose this tool over alternatives like memory_list or memory_semantic_search. Usage context is implied but exclusions are missing.

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/agentic-box/memora'

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