Skip to main content
Glama

roslyn:analyze_change_impact

Analyze how a symbol change (rename, type change, parameter adjustments) affects your codebase, revealing impacted locations and potential issues before applying the change.

Instructions

Analyze what would break if you change a symbol. Identifies breaking changes before you make them.

USAGE: analyze_change_impact(filePath, line, column, changeType="rename|changeType|addParameter|removeParameter") OUTPUT: List of impacted locations, whether change is safe, and specific issues at each location. IMPORTANT: Uses ZERO-BASED coordinates (editor line - 1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesAbsolute path to source file
lineYesZero-based line number of the symbol
columnYesZero-based column number
changeTypeYesType of change: rename, changeType, addParameter, removeParameter, changeAccessibility, delete
newValueNoOptional: new value for rename/changeType
Behavior4/5

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

No annotations provided, so the description carries full burden. It discloses zero-based coordinates, output structure (list of impacted locations, safety, issues), and the purpose. It does not explicitly state it is non-destructive, but 'analyze' implies read-only. Sufficient for agent understanding.

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?

Three sentences plus a usage line, front-loaded with purpose. Every sentence adds value, no fluff. The important note about zero-based coordinates is prominent.

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

Completeness4/5

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

Describes output adequately given no output schema. Could mention prerequisites like symbol existence or error handling. Otherwise, it provides sufficient context for a moderately complex analysis tool.

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 100%, so baseline is 3. The description adds emphasis on zero-based coordinates and enumerates changeType options, but these are already in the schema. Marginal added value.

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 it analyzes what would break if a symbol is changed, using a specific verb and resource. It distinguishes from sibling tools like rename_symbol or change_signature that actually perform changes, by emphasizing analysis before making changes.

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?

The description implies usage when considering a change to identify breaking changes, but does not explicitly state when not to use it or name alternative tools for performing the actual change. Provides a clear usage pattern with parameter examples.

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/pzalutski-pixel/sharplens-mcp'

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