Skip to main content
Glama

neighbourhood

Read-onlyIdempotent

The subgraph around a node: every node within depth edges (default 1) upstream, downstream or both, as declarations plus the edges between them (a title carrying {{references}} with shownTitle, what the reader sees, beside it). The way to read a large model around the thing in question.

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": {
      "model": "<model>",
      "name": "<name>"
    },
    "name": "neighbourhood"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
depthNoHow many edges out; default 1, at most 4.
modelYesModel uid (`model_…`), from model_list.
directionNoUpstream (what it reads), downstream (what reads it), or both. Default both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful return-shape context (declarations plus inter-node edges, with shownTitle beside a `{{references}}` title), but leaves domain terms like "declarations" unexplained and says nothing about missing nodes, errors, or truncation on large subgraphs.

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?

Two compact sentences with the resource definition front-loaded and the usage framing second. The parenthetical explaining shownTitle is dense but earns its place; no filler sentences.

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?

With no output schema, the description does the work of describing the return payload (declarations plus edges), which is the main gap it needs to cover for a read-only traversal tool. Remaining gaps about node identity and result size are real but secondary given the annotations carry safety.

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?

Schema coverage is 75%, so most parameters are already documented. The description restates `depth` (default 1) and the upstream/downstream/both split without adding format or semantics, and it never clarifies what `name` accepts or how a node name is resolved within `model`. Baseline 3 fits.

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 description names the specific resource (the subgraph around a node: nodes within `depth` edges plus the edges between them) and the traversal scope (upstream, downstream, or both). It tells an agent exactly what comes back, though it never contrasts itself with any sibling tool.

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 way to read a large model around the thing in question" implies the usage context: exploring a large model from a starting node. There is no explicit when-not guidance, no alternatives named, and no note on how this differs from breadth-first or search-style reads.

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.

Resources