Skip to main content
Glama

get_related_memories

Read-only

Retrieve memories related to a specific memory ID, optionally filtered by relation, to trace connections and context in aiZee's hybrid memory.

Instructions

Get memories related to the given memory ID.

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": {
      "mem_id": "<mem_id>"
    },
    "name": "get_related_memories"
  }
}

Input Schema

NameRequiredDescriptionDefault
mem_idYes
relationNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered, but the description adds nothing beyond that. The key behavioral question — what counts as 'related', how many results come back, whether traversal is one hop or recursive, whether an empty result is possible — is left entirely unaddressed.

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 or redundancy. It is efficient, though the brevity is closer to under-specification than to disciplined conciseness given the 0% schema coverage.

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?

An output schema exists, so return values need not be explained, but for a graph-relation lookup with an undocumented optional filter the definition is too thin. Nothing tells an agent what relation values are valid or what happens when relation is left at its null default.

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% for both parameters, so the description must carry the burden and does not. It restates mem_id as "memory ID" without format, source, or example, and never mentions the optional 'relation' filter at all, leaving an agent unaware that results can be narrowed by relation type.

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 ("Get memories related to the given memory ID"), so an agent can tell it is a relation-traversal read keyed on an existing memory. It stops short of differentiating itself from plausible siblings like query_context or query_graphify, and never defines what 'related' means (graph edges, tags, shared bank).

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?

The description contains no when-to-use or when-not-to-use guidance, no prerequisites, and names no alternative. An agent holding a memory ID cannot tell from this text whether to call this tool or one of the many other retrieval siblings.

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