Skip to main content
Glama

Get one memory

get_memory
Read-onlyIdempotent

Retrieve a single memory by its id, as returned by search or list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYesThe memory id, for example 'm_123'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
scoreNoRelevance score, only on search results.
sourceNo
summaryNo
metadataNo
memory_idYesStable id, for example 'm_123'.
created_atNo
importanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is fully covered. The description adds only the minor point that the id originates from search/list; it says nothing about behavior on an unknown id (e.g., error vs empty result) or access requirements.

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?

One short sentence, front-loaded with the core action and scope, with no redundant or filler content. Every clause earns its place.

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?

With a full output schema and annotations covering safety and idempotency, the description needs only to identify the operation and its input origin, which it does. Only the not-found/error behavior is unaddressed, a minor gap.

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 100% and the single parameter includes its own example ('m_123'), so the schema carries the parameter semantics. The description only adds where the id comes from, which is a marginal contribution beyond structured data.

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 ('Retrieve'), resource ('a single memory'), and lookup key ('by its id'), which distinguishes it from the bulk siblings list_memories and search_memory. It is clear but never names a sibling explicitly, so differentiation is implicit rather than explicit.

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?

'As returned by search or list' implies the usage context — fetch full detail for an id you already have — but there is no explicit when-to-use/when-not statement or named alternative. Usage is inferable but not spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources