Skip to main content
Glama

memory_related

Retrieve cross-referenced memories for a given memory ID. Optionally refresh to recompute up-to-date related links.

Instructions

Return cross-referenced memories for a given entry.

Consistency: the related graph is eventually consistent. When a new memory A is created or updated with references to an existing B, A.related is computed fresh but B.related is not re-cascaded — it stays valid until either a full rebuild or an explicit refresh. Pass refresh=True to recompute this memory's crossrefs on the fly (the strong-consistency path). For a full rebuild across the store, call memory_rebuild_crossrefs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYes
refreshNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Discloses eventual consistency behavior and the effect of refresh parameter, which goes beyond minimal requirements given no annotations. Doesn't cover error handling or detailed side effects, but sufficient for a read tool.

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 plus a paragraph, each sentence adds value. Front-loads purpose and efficiently explains consistency model and refresh option.

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?

Covers consistency, refresh path, and relationship to rebuild tool. Output schema exists, so return formatting is handled. Could mention validation of memory_id, but overall complete for a read tool.

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?

With 0% schema coverage, description adds valuable meaning for 'refresh' as a strong-consistency path. 'memory_id' is minimally explained as 'given entry', but overall compensates well.

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?

Clearly states it returns cross-referenced memories for a given entry. Differentiates from siblings like memory_get (single memory) and memory_rebuild_crossrefs (full rebuild).

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?

Explicitly explains when to use refresh=True for strong consistency and when to use memory_rebuild_crossrefs for full rebuild. Provides context on eventual consistency.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentic-box/memora'

If you have feedback or need assistance with the MCP directory API, please join our Discord server