Skip to main content
Glama

Diff impact analysis

analyze_codebase_impact
Read-onlyIdempotent

Identify all files impacted by code changes using reverse import graph analysis. Supports manual paths, recent pushes, GitHub compares, or fix PR files.

Instructions

Find files that depend on changed paths (reverse import graph). Supports manual paths, last push, GitHub compare, or fix PR files.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idNoProject UUID (defaults to configured project)
pathsNoChanged file paths
sourceNoAuto-resolve changed paths
compareNoGitHub compare range base...head
fix_idNoFix attempt UUID for PR changed files
Behavior3/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description's addition of 'reverse import graph' provides some behavioral context. However, it does not disclose potential performance implications, output format, or any limitations beyond what annotations already convey.

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 consists of two short sentences with no unnecessary words. It front-loads the core purpose and efficiently lists the supported input methods.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no output schema, so the description should clarify the return format or behavior. It does not describe what kind of list or graph is returned. Additionally, with 5 optional parameters, guidance on combining them is missing, leaving the agent uncertain about valid configurations.

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?

With 100% schema description coverage, the baseline is 3. The description adds a little value by grouping the 'source' parameter's enum values, but does not elaborate on parameter interactions or formats beyond the schema descriptions.

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 tool finds files depending on changed paths using reverse import graph, which is a specific and unique capability. It distinguishes from siblings that focus on bug reports, pipelines, or general queries, though 'get_blast_radius' may be similar but is not directly mentioned.

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 description lists supported input methods (manual paths, last push, GitHub compare, fix PR files) but does not explicitly state when to use this tool versus the sibling 'get_blast_radius', which likely performs a similar impact analysis. No exclusions or preferred contexts are provided.

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/kensaurus/mushi-mushi'

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