Skip to main content
Glama

Read Memory Node(s) with Staleness Detection & Global Routing

read_memory_node
Read-onlyIdempotent

Retrieve full Markdown content for one or more memory nodes by ID, slug, or global ID, and warn if referenced workspace files changed after the memory was saved.

Instructions

Read full markdown content of single or multiple memory nodes by id/slug (or global ID 'g-...'). Warns if referenced workspace files were modified on disk after memory was saved.

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": "read_memory_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoMemory ID, slug, or global ID (e.g., 'tech-stack', 'm-123', 'g-abc')
idsNoBatch array of IDs or slugs to retrieve in one call
full_contentNoBypass token budget truncation to return complete untruncated content
project_pathNoAbsolute path to the project workspace root (optional for global 'g-' IDs)
include_revisionsNoInclude historical previous revisions if available

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real value beyond them: it discloses the staleness warning when workspace files changed on disk, and the token-budget truncation behavior tied to full_content.

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?

A single dense sentence with the core action front-loaded and the two notable behaviors (global IDs, staleness warning) appended. No filler or redundant restatement of the title.

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 read-only tool with full schema coverage and no output schema, the description covers the essential behavior, identifier forms, truncation, and staleness. Minor gaps remain around return shape and id/ids interaction, but nothing that would cause a misinvocation.

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 five parameters are already documented, making 3 the baseline. The description reinforces the id/slug/global-ID forms and truncation semantics but adds no syntax or precedence rules (e.g., what happens if both id and ids are supplied).

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 ('Read full markdown content of ... memory nodes') plus the accepted identifier forms (id/slug/global 'g-...') and batch scope. It implicitly separates itself from search/update/delete siblings by emphasizing full content retrieval, but never names an alternative explicitly.

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?

Usage is implied by the identifier forms and the note about global IDs, and the staleness warning hints at when the result should be trusted. There is no explicit when-to-use vs when-to-use-a-sibling guidance (e.g., search_project_memory for discovery) and no stated preconditions.

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