Skip to main content
Glama

neighbors

Read-only

Traverse citation and topic connections from a paper ID to a chosen depth, revealing related papers and graph structure for literature review.

Instructions

Traverse the paper graph from a paper ID up to the given depth.

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": {
      "paper_id": "<paper_id>"
    },
    "name": "neighbors"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo
paper_idYes
include_citesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

The annotations already establish that this is a read-only operation on a closed or internal dataset (openWorldHint=false), so the description does not need to repeat that. But it adds almost nothing beyond those annotations: it does not say whether the traversal is directed, whether it follows citations or references, how many nodes might come back, or whether there are limits on depth. 'Up to the given depth' is the only behavioral hint, and it is a thin one for a graph walk.

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?

The description is one front-loaded sentence with no filler. It is efficient. The only structural weakness is that its brevity comes at the cost of missing information, not from trimming redundant content.

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?

An output schema exists, so the description does not need to describe return values, and the single required parameter is self-evident once the purpose is known. But for a three-parameter graph tool with zero schema coverage and ambiguous 'include_cites' semantics, the definition is too thin to let an agent call it confidently or choose it over 'path'.

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 0%, so the description has to carry the load of explaining parameters, and it does not do so. It partially explains 'depth' as a bound on traversal, but 'include_cites' is completely unexplained, and neither parameter is given any format, range, or default information beyond what the raw schema type shows.

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 a concrete verb and resource: 'traverse the paper graph from a paper ID', plus the scoping parameter (depth). That is enough to distinguish this tool from a plain 'show' or 'search', but it makes no attempt whatsoever to differentiate it from the sibling 'path'. So this is a clear statement of purpose that does not help the agent route between the two graph-traversal tools.

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

Usage Guidelines2/5

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

The description contains no when-to-use or when-not-to-use guidance. It never says when to choose graph traversal over 'search' or 'show', nor what conditions call for a larger depth. The agent must infer all of these conditions from the tool name and its siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools