Skip to main content
Glama

AgentBin

Node neighbors

node_neighbors
Read-onlyIdempotent

The nodes one link away from a node, with the type and direction of each link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "node_neighbors"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesId of a doc or node (or of an edge, a message or a share link, where the path says so).
dirNo`out`, `in` or `both`. Default both.
relNoOnly links of this relationship type.
limitNoHow many to list.
credentialNoThe bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is fully covered. The description adds only what the payload contains (link type and direction), and says nothing about ordering, default limit behaviour, or what happens for nodes with no edges.

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 compact sentence with no filler and the core scope front-loaded. It is arguably too thin rather than too long, but nothing in it is wasted.

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 five-parameter graph-traversal tool with no output schema, one sentence leaves too much unsaid: return ordering, truncation under limit, exclusion of the origin node, and behaviour with dir=both are all unaddressed even though the schema only covers parameter mechanics.

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 100% and the schema already documents id, dir, rel, limit and credential in more detail than the description. The description adds no meaning beyond the schema – at best 'direction of each link' loosely gestures at dir/rel without explaining them – so this falls slightly below the 3 baseline for fully-covered schemas.

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?

The fragment 'The nodes one link away from a node' names the resource (nodes) and the precise scope (one hop away), plus the payload ('type and direction of each link'). It is clear what the tool returns, but it never contrasts itself with siblings like read_subgraph or list_nodes, which also surface nodes.

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?

Usage is only implied: a reader infers 'use this to walk the graph one hop at a time', but there is no explicit when-to-use statement, no prerequisites, and no signposting to alternatives such as read_subgraph for multi-hop traversal.

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.