Skip to main content
Glama

memory_retrieve

Read-only

Get full content by ID. Use when search returned complete=false. Batch: memory_retrieve(["id1","id2"]). Skip if complete=true (preview is already full).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ids": "<ids>"
    },
    "name": "memory_retrieve"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesMemory IDs to fetch. e.g. ["abc-123","def-456"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), so the description's job is to add context, which it does by stating that this returns full content rather than a preview and by showing the batch invocation. It does not address what happens with unknown or expired IDs, which is the main remaining behavioral gap.

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?

Three short sentences, no waste, with the key decision rule (complete=false) front-loaded before the batching mechanics. Every sentence carries information an agent needs to act.

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 single-parameter read-only fetch with 100% schema coverage, the description is essentially complete: it explains when to escalate from search and how to batch. Slightly short of full marks because, with no output schema, it never characterizes what 'full content' contains or its format.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3, but the description adds value beyond it by showing the concrete batch invocation syntax memory_retrieve(["id1","id2"]), making clear the array is for multi-ID retrieval rather than a single-element list.

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 names a specific verb and resource ('Get full content by ID') and, crucially, explains how it differs from the search path: it is the escalation step when 'search returned complete=false'. An agent can distinguish it from memory_search without opening either schema.

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?

It gives explicit when-to ('when search returned complete=false'), explicit when-not-to ('Skip if complete=true'), the reason ('preview is already full'), and the mechanics of the alternative call form. There is no inference required.

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