Skip to main content
Glama

Change impact (blast radius)

impact
Read-only

Analyzes what breaks when code changes, returning risk levels, direct and indirect callers, importing files, touched modules, and tests to run.

Instructions

What breaks if this changes. Give target (symbol or file, or a list) or changed: true to analyse the current git diff. Returns a risk level, direct and indirect callers with call sites, importing files, modules touched, and the tests to run. Fixture files in deferred trees are not analysed unless targeted; the result says so.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoGit ref for `changed` (default HEAD).
rootNoRepository root. Defaults to the client's workspace root or the server's working directory.
depthNoCaller depth (default 3).
formatNotext (default, compact, file:line cited) or json.
targetNo
changedNoUse the working-tree git diff (against `base`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description does real work: it enumerates what comes back (risk level, direct/indirect callers with call sites, importing files, modules touched, tests to run) and discloses a real limitation – fixture files in deferred trees are skipped unless targeted, and the result reports that. This is meaningful behavioral context beyond what the structured fields provide; only cost/latency characteristics are unaddressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description opens with the punchiest possible framing ('What breaks if this changes') and packs invocation, output, and caveats into four tight sentences. The closing sentence about deferred-tree fixtures is slightly cryptic out of context but still earns its place by preventing surprise gaps in results.

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

Completeness5/5

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

With six optional parameters and no output schema, the description must carry the return-value burden, and it does – listing the components of the result and warning about untargeted fixture files. An agent has enough to invoke it correctly in either mode and to interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 83%, covering base, root, depth, format and changed, so the baseline is 3. The description adds value on the one under-documented parameter, clarifying that `target` accepts a symbol or file path and may be a list, and that `changed` ties analysis to the working-tree diff.

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?

"What breaks if this changes" plus the title 'Change impact (blast radius)' states a specific analytical action and its output concept, and the description names the two invocation modes (target or changed). It does not, however, distinguish itself from plausible siblings such as trace or map, so an agent must infer the boundary.

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?

It gives concrete trigger conditions: supply `target` (symbol, file, or list) for a specific change, or `changed: true` to analyse the current git diff. That is clear context for when to reach for the tool, but there is no explicit statement of when not to use it or which sibling to prefer for adjacent questions.

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

Deploy Server

Other Tools