Skip to main content
Glama
vk0dev

Code Impact MCP

by vk0dev

refresh_graph

Read-only

Rebuild the dependency graph from scratch after adding or deleting files to ensure accurate impact analysis. Returns graph statistics and detects circular dependencies.

Instructions

Rebuild the dependency graph from scratch. Call this after significant file additions/deletions, or if analyze_impact results seem stale. Returns graph statistics including file count, edge count, build time, and any circular dependencies detected.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectRootYesAbsolute path to the project root directory
tsconfigPathNoOptional tsconfig path relative to projectRoot
Behavior1/5

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

The description says 'Rebuild from scratch', implying a mutation, but the annotations declare readOnlyHint=true, directly contradicting the description. This severely misleads the agent about side effects.

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 purpose, then usage guidance, then return values. No extraneous words.

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?

Covers purpose, when to use, and return statistics, but the annotation contradiction creates a major gap in understanding the tool's side effects. For a mutation tool, this omission is significant.

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 covers both parameters fully (100% coverage). The description adds no extra parameter meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 clearly states the verb 'Rebuild' and resource 'dependency graph from scratch', and it is distinct from siblings like 'get_dependencies' which reads, and 'analyze_impact' which analyzes.

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 mentions when to use: after significant file changes or when analyze_impact results seem stale. It does not explicitly state when not to use, but the provided context is clear and helpful.

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/vk0dev/code-impact-mcp'

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