Skip to main content
Glama

get_memory

Retrieve full memory bodies by ID—or several IDs at once—to turn search excerpts into complete answers with dates and topic keys.

Instructions

Returns the full body of a memory by its id, with the date it carries and its topic key. Pass ids to read several at once: opening the bodies a question needs is what turns a list of excerpts into an answer, and one call is cheaper than three.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
idsNoSeveral ids; at most 10 per call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does useful work by disclosing the return payload (full body, carried date, topic key) and the batch economics, but says nothing about what happens with unknown ids, ordering of results, or whether reads have side effects — 'Returns' only implies read-only.

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 sentences, front-loaded with the return shape and followed by the batching advice. The 'list of excerpts into an answer' phrasing is slightly rhetorical but functions as the justification for batching rather than filler.

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?

For a two-parameter read tool with no annotations and no output schema, the description usefully substitutes for the missing return documentation by naming the fields returned. The remaining gap is the unspecified relationship between `id` and `ids` when neither is required.

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 50%: `ids` is documented in-schema with the 10-per-call cap, while `id` is bare. The description adds real meaning for `ids` (batch read) and identifies what `id` selects, but never addresses the interaction between the two or what happens when neither is supplied — notable given required parameters = 0.

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 ('Returns the full body of a memory by its id') and even names what comes back (date, topic key). The closing clause about turning 'a list of excerpts into an answer' implicitly contrasts it with the excerpt-returning search_memory sibling, though it never names that alternative outright.

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?

Gives concrete guidance for the batch path: 'Pass `ids` to read several at once' plus the cost rationale that one call beats three. What is missing is any guidance on when to use the single `id` form versus `ids`, and no exclusion or prerequisite is stated.

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