Skip to main content
Glama

Metis · Memory Curator — Get Related Memories

get_related_memories

Traverse the knowledge graph to find all entries connected to a given memory, with options for incoming, outgoing, or both directions, and view relationship type and content preview.

Instructions

Find all memories related to a given entry via memory_relations.

Traverses the lightweight knowledge graph to find connected entries.
Use this after recall() to explore how a result connects to other
knowledge — e.g. which papers informed a decision, or which concepts
relate to a workflow.

Args:
    layer: The layer of the entry to look up ('episodic', 'semantic', etc.).
    entry_id: Row ID of the entry.
    direction: 'outgoing' (this entry → others), 'incoming' (others → this),
        or 'both' (default).

Returns:
    List of related entries with their relationship type and content preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layerYes
entry_idYes
directionNoboth

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are present, so the description carries the full transparency burden. It mentions graph traversal ('Traverses the lightweight knowledge graph') but does not specify error handling (e.g., missing entry_id), performance characteristics, or confirm it is read-only. Adequate but not rich.

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?

Overall concise: two introductory sentences followed by a bullet-style parameter list. The structure front-loads the core purpose and usage. The parameter descriptions repeat some schema info but add value through explanation.

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 tool with three parameters (two required, one optional) and an existing output schema, the description covers the core usage, parameter meanings, and a typical workflow link. It lacks details on error cases or edge conditions, but is sufficient for typical use.

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?

Input schema has 0% description coverage, so the description must compensate. The 'Args' section explains all three parameters: layer (memory type), entry_id (row ID), direction (outgoing/incoming/both with default). This adds meaningful context beyond the schema's bare type definitions.

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 clearly states it finds memories related to an entry via memory_relations using graph traversal. This distinguishes it from other memory tools like recall or search_memory, which focus on direct retrieval or text search, by highlighting the relational graph aspect.

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?

Explicitly advises using this after recall() and provides concrete examples (papers informed a decision, concepts relate to a workflow). Does not explicitly state when not to use, but the guidance is clear enough for typical scenarios.

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/SVerITG/Metis'

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