Skip to main content
Glama

get_related_mementos

Find related memories by exploring connections between stored data items. Filter by relationship types and specify how many relationship levels to traverse to discover solutions, causes, or other linked information.

Instructions

Find mementos connected to a specific memory via relationships.

Filter by relationship_types (e.g., ["SOLVES"], ["CAUSES"]) and max_depth (default 1).

EXAMPLES:

  • get_related_mementos(memory_id="prob-1", relationship_types=["SOLVES"]) - find solutions

  • get_related_mementos(memory_id="err-1", relationship_types=["CAUSES"], max_depth=2) - find root causes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
memory_idYesID of the memory to find relations for
relationship_typesNoFilter by relationship types
max_depthNoMaximum relationship depth to traverse
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes the filtering and traversal behavior (relationship_types and max_depth), which is useful. However, it lacks details on permissions, rate limits, pagination, or what happens if no matches are found. The examples help but don't fully compensate for missing behavioral traits.

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 appropriately sized and front-loaded: the first sentence states the core purpose, followed by concise filtering details, and then practical examples. Every sentence adds value without redundancy, and the structure is clear and efficient.

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

Completeness3/5

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

Given no annotations and no output schema, the description is incomplete for a tool with 3 parameters and complex behavior (relationship traversal). It covers the basic purpose and parameters but lacks details on output format, error handling, or advanced usage scenarios. The examples help but don't fully address the complexity.

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 documents all parameters fully. The description adds minimal value by providing example values (e.g., ['SOLVES'], ['CAUSES']) and clarifying default behavior (max_depth default is 1), but doesn't explain parameter interactions or semantics beyond what the schema provides. Baseline 3 is appropriate given high schema coverage.

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 the specific action ('Find mementos connected to a specific memory via relationships') and distinguishes it from siblings like 'get_memento' (which retrieves a single memento) or 'search_memento_relationships_by_context' (which searches by context rather than from a specific memory). It specifies both the resource (mementos) and mechanism (relationships from a memory).

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?

The description provides clear context for when to use this tool (to find related mementos via relationships from a specific memory) and includes examples that illustrate use cases like finding solutions or root causes. However, it does not explicitly state when NOT to use it or name alternatives among sibling tools (e.g., 'search_memento_relationships_by_context' might be an alternative for broader searches).

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/Bogeymanlicitness496/mcp-memento'

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