Skip to main content
Glama

signals_neighbors

BFS neighbors from a node up to N hops. Returns every reachable node with shortest distance, cumulative edge weight, the path taken, and the relation type on the final hop. direction=out (default), in, or both. Deterministic.

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": {
      "node": "<node>"
    },
    "name": "signals_neighbors"
  }
}

Input Schema

NameRequiredDescriptionDefault
hopsNo
nodeYes
directionNoout

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does well on output semantics — reachable nodes, shortest distance, cumulative edge weight, path, and final-hop relation type — plus determinism. It says nothing about behavior when the node is missing, cycles/unreachable nodes, cost of high hop counts, or result size, which are the real risks for a graph traversal.

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?

Four short sentences, each carrying distinct information: algorithm, return payload, direction parameter, determinism. Front-loaded with the operation and free of filler.

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

Completeness4/5

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

There is no output schema and no annotations, yet the description sufficiently specifies the return payload and determinism, which is the main thing an agent needs. The remaining gap is failure/edge-case behavior for an unknown node or large hop values, a minor omission for a read-only traversal.

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?

Schema coverage is 0%, and the description compensates by explaining all three: the traversal start ('from a node'), the depth bound ('up to N hops'), and the direction values ('out (default), in, or both'). Defaults for hops and traversal cost per hop are not addressed, keeping it below a 5.

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 algorithm and resource: 'BFS neighbors from a node up to N hops', which is far more precise than a generic graph-query name. It does not explicitly contrast itself with plausible siblings like signals_multihop or signals_trace, so the agent must infer the boundary, but the verb+resource are unambiguous.

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?

No explicit when-to-use/when-not or named alternative is given. Usage is implied by the BFS framing and the 'direction' options, and 'Deterministic' hints at when reproducibility matters, but an agent choosing among ~30 signals_* tools gets no routing guidance.

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.