Skip to main content
Glama

memory_related

Read-only

Find memories related to a given reference, ranked by connection strength across explicit links, shared tasks, epics, projects, or files to surface relevant context.

Instructions

Memories related to a memory, strongest relation first: explicit link, same task, same epic, same project, shared files.

Input Schema

NameRequiredDescriptionDefault
refYesThe memory: the path memory_add returned, or the id (project/YYYY-MM-DD-slug), name or title.
limitNoMaximum number of results.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish that this is a safe read-only, non-destructive, closed-world operation. Beyond that, the description adds useful behavioral detail by disclosing the relation ranking order and the relationship categories used for matching.

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?

The description is a single compact sentence that front-loads the core purpose and then lists the relation ordering. Every element earns its place, with no repetition or 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?

For a simple two-parameter read-only traversal tool with full schema documentation and no output schema, the description provides enough context to invoke it correctly. A minor gap is that it does not describe the returned memory fields, though the core behavior is clear.

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 the schema already fully documents both the ref and limit parameters. The description adds no parameter-specific syntax or constraints beyond what the schema provides, making the baseline score appropriate.

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?

The description clearly states that this tool returns memories related to a given memory, and it specifies the relation ordering and categories. It does not explicitly distinguish itself from memory_search, but the resource and scope are clear enough for selection.

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: call this when you need memories related to a known memory reference, ordered by relation strength. However, it gives no explicit when-to-use guidance versus memory_search or when-not-to-use conditions.

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

Deploy Server

Other Tools