Skip to main content
Glama

memory_graph_related

Return entities related to name via the graph store, up to depth hops.

Input Schema

NameRequiredDescriptionDefault
nameYesEntity to expand neighbors of
depthNo
limitNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

C2.8/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 behavioral burden. 'Return' implies read-only, but nothing confirms safety, states whether results are deduplicated, how limit interacts with depth, or what traversal cost/performance looks like. The only disclosed trait (depth hops) is already restated as a parameter.

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; the constraint (depth hops) comes last where it belongs. The only minor noise is the odd double-backtick markup around parameter names.

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?

An output schema exists, so return values need not be explained, and the traversal idea is conveyed. However, for a 3-parameter tool with 33% schema coverage and no annotations, the missing limit semantics and absent when-to-use guidance leave the definition only minimally adequate.

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 33%: only 'name' is described, and both 'depth' and 'limit' are bare integer constraints in the schema. The description clarifies that depth means hop count, partially compensating for that gap, but says nothing about what 'limit' bounds (entities vs. edges) or what happens at max depth 4.

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 ('Return') and resource ('entities related to name via the graph store'), plus a scope qualifier ('up to depth hops'). It distinguishes functionally from memory_graph_relate (which presumably writes relations), but never names or contrasts with any sibling, so an agent must infer the split from the name alone.

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 guidance on when to expand the graph versus using alternatives such as memory_entity_view, memory_recall, or memory_for_paths. No prerequisites, no exclusions, no stated context for choosing this traversal over another retrieval tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.