Skip to main content
Glama

what_breaks_if_i_change

Identify files and symbols affected by changing a symbol, separating confirmed references from potential import-based impact and following import chains up to three hops.

Instructions

Shows which files and symbols would be affected by changing a given symbol. Separates confirmed impact (name actually referenced) from potential impact (file imported but name not confirmed). Follows import chains up to 3 hops.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol_id": "<symbol_id>"
    },
    "name": "what_breaks_if_i_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoImport hops to follow (1-3)
symbol_idYesSymbol identifier (from search_symbols or get_file_outline results)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.10.2

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses that results are split into confirmed versus potential impact and that traversal is bounded at 3 hops, which tells the agent both the output shape and the limits of the analysis. It does not say whether the traversal can miss dynamic references or whether the operation is purely read-only, but this is well above baseline for an unannotated tool.

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 short sentences, front-loaded with the outcome, then the result categorization, then the traversal bound. No filler or redundant restatement of the tool name.

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?

For a two-parameter, read-only analysis tool with no output schema, the description covers the essentials: what is returned (confirmed vs potential) and the depth limit. The main remaining gap is guidance on choosing this tool over its batch sibling when multiple symbols are involved.

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 both parameters are already documented, and the description adds only marginal meaning: 'up to 3 hops' reinforces the depth maximum already stated in the schema. The distinction between confirmed and potential impact adds interpretive value to the results but not to the parameters themselves.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: shows which files and symbols are affected by changing a given symbol. The scope of the analysis is unambiguous. It does not, however, distinguish itself from near-siblings such as what_breaks_if_i_change_these or risky_to_change, leaving the agent to infer the difference from names alone.

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?

Usage is only implied: the description makes clear this is an impact-analysis tool, so an agent can infer it should be called before a refactor. There is no explicit when-to-use, when-not-to-use, or pointer to the batch variant for multiple symbols.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.