Skip to main content
Glama

memory_traverse

Traverse the memory graph from a starting node to discover reachable memories and the connections between them, enabling path reconstruction.

Instructions

Traverse the memory graph from a starting node. Returns reachable nodes AND the edges of the induced subgraph among them (source/target/type/weight/created_by) — a superset of the BFS tree, so paths can be reconstructed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
depthNo
node_idYes
edge_typesNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

The description does add behavioral context: it states the return contains both reachable nodes and the edges of the induced subgraph, and explains it is a superset of the BFS tree. However, with no annotations present, it doesn't disclose whether traversal is read-only, whether there are cycle risks, or any side effects, so the full burden is not met.

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 uses two sentences with no wasted words. It front-loads the main action, then immediately explains the output's structure and why the superset property matters. Very effective.

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?

For a tool with three parameters and no output schema or annotations, the description is incomplete. It leaves depth and edge_types undefined, and it doesn't explain what happens with empty reachability or missing node_id. This is not enough for a confident call.

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?

The schema coverage is 0%, so the description must compensate for node_id, depth, and edge_types. It only mentions a starting node, which maps to node_id; it doesn't explain what depth controls or how edge_types filters traversal. This is a clear gap.

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?

This sentence is a precise action: the verb 'Traverse' with resource 'memory graph' and the starting node. It also clarifies the output is a superset of the BFS tree, which sets it apart from sibling tools like memory_recall or memory_search.

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 does not say when to use this tool instead of alternatives, and it never names a sibling or a use case that would select this over memory_recall or memory_search. There is only an implicit purpose, no explicit when/when-not.

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

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/Astrix-Labs/papez'

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