Skip to main content
Glama

Open memory

memory_get
Read-onlyIdempotent

Returns one memory: body, its current dated update layers, links and source references. Retracted layers are left out unless retracted is set; lastLayers, section or bodyOnly return less.

Input Schema

NameRequiredDescriptionDefault
idYesMemory id.
brainNoBrain id or name. Defaults to the active brain.
sectionNoOnly layers whose section contains this text.
bodyOnlyNoReturn the memory and its body without layers.
retractedNoInclude retracted layers (the audit trail). Default false.
lastLayersNoOnly the newest N live layers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / bodyOnly
      Added value: +{
      +  "description": "Return the memory and its body without layers.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / lastLayers
      Added value: +{
      +  "description": "Only the newest N live layers.",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / retracted
      Added value: +{
      +  "description": "Include retracted layers (the audit trail). Default false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / section
      Added value: +{
      +  "description": "Only layers whose section contains this text.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower. The description adds real behavioral context: retracted layers are excluded by default and only surface as an audit trail when requested, plus a note that certain flags reduce the payload.

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 sentences, zero filler, with the primary return contract front-loaded and the filtering caveat second. Every clause carries information.

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?

For a read-only single-item getter with no output schema, the description supplies exactly the missing piece: what the response contains. Annotations handle safety and the schema handles parameters, so nothing an agent needs is absent.

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%, so all six parameters are already documented, including retracted's default and lastLayers' bounds. The description's synthesis that lastLayers/section/bodyOnly 'return less' adds a little framing but no syntax or semantics beyond the schema.

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?

States a specific verb and resource ('Returns one memory') and enumerates the returned content (body, dated update layers, links, source references). The singular scope distinguishes it cleanly from memory_list, memory_search and recall without needing their schemas.

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?

The description implies when the optional parameters apply (retracted off by default; lastLayers/section/bodyOnly narrow output), but it never says when to choose memory_get over memory_search, recall, or memory_list. Usage is inferable rather than stated.

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