Skip to main content
Glama

memory_get

Read-only

Fetch a complete memory entry by ID, including full text and metadata such as confidence, tags, origin, and read count. Resolves short ID prefixes when unambiguous.

Instructions

Fetch a single memory entry by ID, returning its full content without truncation.

Use when memory_search() or memory_list() returned a truncated entry and you need the complete text, or when you have a specific entry ID and want all its metadata (confidence, tags, origin, read count). Read-only, no side effects.

Args: entry_id: The UUID of the entry. Short prefixes (min 4 chars) are resolved if unambiguous.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entry_idYesThe UUID of the entry. Short prefixes (min 4 chars) are resolved if unambiguous.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.17.0
  2. Removedv0.16.1
  3. Addedv0.9.0
  4. Removedv0.7.0
  5. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive behavior; the description adds meaningful behavioral context beyond that: no truncation, full metadata return, and short-prefix resolution for entry IDs. It does not contradict the annotations.

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 well-structured and front-loaded with the core action and key differentiator. The Args block is redundant with the input schema, but the overall size and organization are efficient.

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?

The tool is simple, has one parameter, is annotated as read-only, and has an output schema that covers return values. The description provides the essential usage context, return behavior, and ID-prefix behavior, making it complete for correct invocation.

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 coverage is 100%, and the description repeats the schema's entry_id explanation almost verbatim. It adds no new parameter meaning beyond the schema, so the baseline score of 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?

The description specifies a clear verb and resource: fetch a single memory entry by ID. It also distinguishes itself from sibling tools by emphasizing 'full content without truncation' and listing the metadata returned.

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

Usage Guidelines5/5

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

The description explicitly states when to use the tool: after memory_search() or memory_list() returns a truncated entry, or when a specific entry ID is known and full metadata is needed. It names the relevant sibling alternatives and gives the decision condition, leaving little to inference.

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