analyze_change_impact
[callgraph]
Summarizes impact of changing a symbol (references, callers, implementations, overrides). Requires a symbolKey.
Try it locally in the Glider playground
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| symbolKey | string | Yes | Opaque symbolKey from find_code, get_symbol_at_position, or any tool that returns symbolKey. Not a name. |
| scope | json | No | Optional scope. Omit scope to search the solution. When supplied, set mode to solution, project, document, or pathPrefix. project requires projectName. document requires filePath. pathPrefix requires pathPrefix. Paths can be absolute or relative to solutionRoot. Set includeExternal to true when the tool supports external symbols. |
| includeCallers | boolean | No | Include a caller summary (methods invoking the symbol). Default is true. Default: true |
| includeImplementations | boolean | No | Include an implementation summary (for interfaces/abstract members/types). Default is true. Default: true |
| includeOverrides | boolean | No | Include an override summary (for virtual/abstract members). Default is true. Default: true |
| callersSkip | number | No | Pagination offset for callers summary. Default is 0. Default: 0 |
| callersTake | number | No | Pagination size for callers summary. Default is 50. Default: 50 |
| implementationsSkip | number | No | Pagination offset for implementations summary. Default is 0. Default: 0 |
| implementationsTake | number | No | Pagination size for implementations summary. Default is 50. Default: 50 |
| pathStyle | string | No | Path style: 'absolute' (default) or 'relative' (to solution root). Default: "absolute" |
| responseDetail | string | No | compact returns results and actionable state. full adds diagnostic metadata under responseDiagnostics. Default: "compact" |
Examples
Replace sample paths and symbol keys with values from your workspace.
Summarize impact of changing a method/type
{
"symbolKey": "...",
"includeCallers": true
}Full MCP request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "analyze_change_impact",
"arguments": {
"symbolKey": "...",
"includeCallers": true
}
}
}{
"success": true,
"symbolKey": "...",
"summary": {
"referenceCount": 15,
"callerCount": 2,
"implementationCount": 0,
"overrideCount": 0
}
}Response Notes
Returns an impact summary (and optionally detailed lists) Results use top-level fields with success. Compact is the default; full adds responseDiagnostics. Both modes retain errors, coverage, partial state, and recovery advice.
For a failed symbol-key request, success=false includes errorCode, parameter, error, and suggestions in compact, full, and batch operation results. Batch keeps a bounded summary outside the requested detail budget. If the hard server limit omits details, failureDetailsOmitted or writeStateOmitted identifies the omission. errorCode is invalid_symbol_key, symbol_not_found, ambiguous_symbol_key, wrong_symbol_kind, source_unavailable, unsupported_symbol, or invalid_arguments. Follow the suggestions for the specific failure. Correct the named selector for invalid_arguments. For symbol_not_found, repeat discovery in the selected workspace and pass a returned key unchanged. An absent identity does not prove that a key is stale.