Skip to main content
Glama

Read memory

get_memory
Read-only

Read a memory with evidence and versions. Set include_inactive=true for a review bundle; inactive content must not be used for generation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYes(must not be empty, at most 200 characters)
include_inactiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context: the return contents (evidence and versions) and the constraint that inactive content is not valid for generation, which is real behavioral guidance.

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?

Two tight sentences with no waste; the core action is front-loaded and the parameter guidance follows immediately.

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 simple 2-param read tool with no output schema, the description covers the action, the key param, and the inactive-content caveat. It runs slightly short on explicit sibling differentiation but nothing needed to call it correctly is missing.

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 only 50%: memory_id has only constraint text and include_inactive has no description at all. The description compensates by explaining what include_inactive does (review bundle) and its downstream generation constraint, filling the gap the schema leaves.

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 (read) and resource (memory) and adds that it returns evidence and versions, which distinguishes it from list_memories and create/update_memory. It doesn't explicitly contrast itself with the closest siblings like get_experience or review_memory.

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 clear conditional guidance: set include_inactive=true for a review bundle, and warns inactive content must not be used for generation. It doesn't state when to prefer this tool over siblings such as review_memory, but the parameter-level guidance is actionable.

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