Skip to main content
Glama
Neko1313

graphlens-mcp

relations

Query a symbol's relationships for impact analysis: who calls it, what it calls, implementations, and non-call references.

Instructions

A symbol's neighbourhood in one call: who calls it, what it calls, what implements/subclasses it, and non-call references — each with its signature. Accepts a node id OR a name (default depth 2, limit 25). THE tool for impact analysis and 'what implements X'. If the name matches several definitions, pass file (a path or suffix) to pin the right one — e.g. one UserService per service in a monorepo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileNo
depthNoMax traversal hops (clamped to 10)
limitNoMax nodes to return (clamped to 200)
symbolYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nodeNo
errorNo
calleesNo
callersNo
indexingNo
truncatedNo
referencesNo
repeat_hintNo
implementorsNo
callees_totalNo
callers_totalNo
resolver_statusNook
references_totalNo
implementors_totalNo
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It discloses default depth and limit, and mentions clamping from the schema. It describes the nature of results (neighbourhood with signatures). But it doesn't mention side effects, permissions, or data handling. The output schema covers return structure, so the description adds moderate context.

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 three sentences, front-loaded with purpose, then parameter guidance, then usage hint. No wasted words; every sentence adds value.

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 output schema exists and the description covers input, defaults, and a disambiguation example, it is complete for a tool of moderate complexity. The description provides all necessary context for effective use.

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 50%, with depth and limit already documented. The description compensates by adding meaning for 'symbol' (accepts node id or name) and 'file' (disambiguation for matching names). This provides practical guidance beyond the schema.

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 explicitly states 'A symbol's neighbourhood in one call: who calls it, what it calls, what implements/subclasses it, and non-call references — each with its signature', which is a specific verb+resource. It distinguishes from siblings by claiming 'THE tool for impact analysis and 'what implements X'', clearly differentiating from info and search.

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 clear when-to-use guidance (impact analysis, 'what implements X') and explains when to use the file parameter for disambiguation when names match. However, it lacks explicit exclusions or comparisons to sibling tools like info or search.

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/Neko1313/graphlens-mcp'

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