Skip to main content
Glama

Get memory

mem_get
Read-only

Lee una memoria por id, con el contenido completo SIN truncar. Acotada al workspace por defecto, o al que digas en workspaceId. Devuelve null si no existe o es de otro tenant.

Input Schema

NameRequiredDescriptionDefault
idYes
workspaceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds valuable behavior beyond that: full untruncated content, workspace scoping, and null return for missing or cross-tenant records.

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, each carrying a distinct and useful point: retrieval mode, scoping, and null behavior. It is front-loaded and free of 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?

The tool has no output schema, so the description must explain returns. It does so by stating full untruncated content and null for missing/cross-tenant memories, which is sufficient for a simple read-by-id tool, though return shape is not detailed.

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 description coverage is 0%, so the description must carry parameter meaning. It documents that id selects the memory and workspaceId overrides the default workspace, though it does not describe the id format.

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 states a specific verb and resource: read a memory by id. It adds distinguishing scope details, full untruncated content and tenant/workspace boundaries, which separates it from siblings like mem_search and mem_save.

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?

It clearly explains the intended retrieval context: by id, scoped to the default workspace unless workspaceId is supplied. It does not explicitly name mem_search as the alternative for query-based lookup, so it falls short of full when-to-use guidance.

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