Skip to main content
Glama
dorkian

code-graph-mcp

by dorkian

Impact of change (blast radius)

impact_of_change

Identify all code dependencies affected by a change to a component or file, up to a specified depth, to prevent unintended breakages during refactors.

Instructions

Given a component, handler, endpoint, or file path, list everything that depends on it (directly and transitively, up to depth N). Use before refactors and when debugging 'what breaks if I change this?'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesnode name or repo-relative file path
depthNo
max_tokensNoresponse token budget (default 2000)
Behavior3/5

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

No annotations provided, so description carries full burden. It discloses transitive behavior up to depth N, but omits performance implications, auth needs, or whether results are real-time. Adequate but not thorough.

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?

Two sentences, front-loaded with key action, no wasted words. Efficiently conveys purpose and usage.

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?

No output schema, so description should explain return format. It says 'list everything', but doesn't specify structure (e.g., list of nodes, paths, depth levels). Missing details on max_tokens truncation behavior. Adequate but incomplete for agent invocation.

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 67%, so baseline 3. Description adds context to 'depth' parameter via 'up to depth N', but doesn't add significant meaning beyond schema descriptions for 'name' and 'max_tokens'.

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?

Description clearly states verb 'list' and resource 'dependencies', specifies input types (component, handler, endpoint, file path), and distinguishes from siblings like find_component_relations and map_frontend_to_backend.

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?

Explicitly says 'Use before refactors and when debugging what breaks if I change this?', providing clear context for when to use, though no exclusions or alternatives mentioned.

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/dorkian/code-graph-mcp'

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