Skip to main content
Glama

Knowledge graph traversal

get_knowledge_graph
Read-onlyIdempotent

Traverse the knowledge graph from a seed node to discover connected components and edges, with configurable depth up to 4 hops.

Instructions

Traverse the knowledge graph from a seed component or page. Returns nodes + edges within a depth budget (max 4 hops).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedYesStarting node id or label
depthNoTraversal depth (default 2, max 4)
Behavior4/5

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

Annotations already mark the tool as read-only, idempotent, and open-world. The description adds that it returns nodes and edges with a depth budget (max 4 hops), which is useful behavioral context. However, it does not disclose result format, pagination, or error handling. Given the annotations cover safety, a score of 4 is appropriate.

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 a single sentence that is direct and front-loaded. Every part is necessary; no redundant information. Score 5.

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?

The tool has two parameters, no output schema, and is read-only. The description states returns nodes + edges but does not specify the structure or format of the output. For a graph traversal tool, more detail on the return representation (e.g., IDs, labels, properties) would improve completeness. Score 3.

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?

Both parameters have schema descriptions covering 100% of the information. The tool description does not add extra meaning beyond what the schema provides (starting node, depth with default/max). Baseline 3 is correct.

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 that the tool traverses a knowledge graph from a seed, returning nodes and edges with a depth limit. This verb+resource combination distinguishes it from sibling tools like graph_neighborhood and graph_node_status, which likely have different scopes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for graph traversal, but it does not provide explicit when-to-use or when-not-to-use guidance, nor does it mention alternatives among siblings. This leaves the agent to infer context without clear decision boundaries.

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/kensaurus/mushi-mushi'

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