MCP ServerTools
Impact Detection
Analyze git changes to understand code impact
Analyze your uncommitted changes to see which processes and symbols are affected before committing.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
repository | string | Yes | Repository name |
change_scope | string | No | What to analyze (default: "unstaged") |
base_ref | string | No | Base reference for comparison (default: "HEAD") |
include_content | boolean | No | Include symbol signatures (default: false) |
depth | string | No | Result detail level: "definitions" (default) or "full" |
Depth Parameter
| Value | Description |
|---|---|
"definitions" (default) | Returns affected symbol signatures and bodies only |
"full" | Returns affected symbols plus all relationship data (callers, callees, edges) |
Change Scopes
| Scope | Use Case |
|---|---|
unstaged | See impact before staging |
staged | Review before committing |
all | Full picture of uncommitted work |
compare | Compare against branch (use with base_ref) |
Usage
Ask your agent:
"What processes are affected by my current changes?"
"Check the impact of my staged changes before I commit"
"Compare my changes against main branch"
Response
{
"changed_files": [
{
"file_path": "src/auth/login.ts",
"change_type": "modified",
"affected_symbols": ["authenticateUser", "validateCredentials"]
}
],
"affected_processes": [
{
"process_label": "UserAuthentication",
"process_type": "cross_community",
"affected_symbols": [
{
"symbol_name": "authenticateUser",
"change_type": "modified"
},
{
"symbol_name": "checkPermissions",
"change_type": "potentially_affected"
}
]
}
]
}What to Look For
modified: Symbols you directly changedpotentially_affected: Symbols that call or are called by modified codecross_community: Changes spanning multiple areas have wider impact
Common Workflows
Before committing:
/noodlbox:detect_impact stagedBefore creating PR:
/noodlbox:detect_impact compare --base_ref mainRelated
- Change Analysis - Full refactoring workflow
- Process Trace - Understand affected flows