Skip to main content
Glama

graph_neighbors

Read-only

Inspect a node in the memory knowledge graph to reveal its kind, typed edges, and viability. Viability is derived from fresh connections, indicating trustworthiness.

Instructions

Inspect a node in the memory knowledge graph: its kind, typed edges, and viability.

Edges are grounds / relies_on / applies_to / contradicts / corroborates. Viability is derived from connectivity — the more (fresh) connections, the more a node is worth trusting; a bare node fades. node_id is a memory id or a code-anchor id (4-char prefixes are NOT resolved here — pass a full id).

Args: node_id: The graph node id (memory or code anchor).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_idYesThe graph node id (memory or code anchor).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the readOnlyHint and destructiveHint annotations, the description explains how viability is derived from connectivity and that bare nodes fade. This adds significant behavioral context without contradiction.

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 concise, front-loaded with the main purpose, and structured into clear sections. Every sentence adds value without redundancy.

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

Completeness5/5

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

Given the presence of an output schema (which likely documents return values), the description fully covers input semantics, behavioral traits, and viability explanation. It is complete for a read-only inspection tool.

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?

The schema describes node_id as 'memory or code anchor', but the description adds crucial detail: 4-char prefixes are not resolved and a full id must be passed. This extra meaning elevates it above the baseline 3.

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 tool inspects a node in the memory knowledge graph, specifying the verb 'inspect' and the resource. It details the types of edges and viability, distinguishing it from sibling tools like graph_link.

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 specific guidance on the node_id parameter (full id required, no prefix resolution) and implies use for reading relationships. It lacks explicit when-not-to-use guidance but 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/NicolasPrimeau/artel'

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