Skip to main content
Glama

Related Memories

memory_related

Retrieves memories linked to a specific memory through the relationship graph, so you can trace connected context and related knowledge for a given ID.

Instructions

Returns memories connected to a given memory via the relationship graph.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "memory_related"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it only implies a read operation via 'Returns.' It does not say whether relationships are directional, how deep the traversal goes, whether results are paginated or typed, or what the response looks like — all material for a graph query.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler, and the core concept (relationship graph) comes first. It is efficient, though the terseness leaves no room for the operational detail the tool needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and two undocumented parameters, the definition is thin for a graph-traversal tool. An agent cannot tell what a returned 'connected memory' contains, how many to expect, or what user_id scopes, so it may call this incorrectly or with an unintended scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across two parameters. The description maps loosely onto 'id' ('a given memory'), but adds no format, source-of-id, or meaning for 'user_id' — which could be a scope filter, an authorization subject, or a namespace. The gap is not compensated.

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 gives a specific verb and resource: 'Returns memories connected to a given memory via the relationship graph.' The graph-traversal framing implicitly separates it from keyword-oriented siblings like memory_search, but it never names or contrasts with any sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no statement of prerequisites, and no routing to alternatives such as memory_search or memory_list. The agent must infer from the phrase 'relationship graph' alone that this is the traversal path rather than the search path.

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