Skip to main content
Glama

check_impact

Determine which files a planned change will affect before editing, revealing the blast radius across the dependency graph. Use it to plan safer edits.

Instructions

Before modifying a file, check what other files will be affected. Shows the blast radius of a change.

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": {
      "file_path": "<file_path>"
    },
    "name": "check_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoHow many levels of dependencies to check. Default 2.
file_pathYesThe file you plan to change.
root_pathNoProject root path. Defaults to nearest package.json ancestor.
change_descriptionNoWhat kind of change you are planning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. It implicitly frames this as a non-destructive pre-change analysis, which is useful, but it says nothing about how deep the analysis goes, whether it is static or runtime, performance limits on large repos, or the shape of what comes back.

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?

Two short sentences with zero filler: the trigger condition is front-loaded, followed by what the tool produces. Nothing could be removed without losing information.

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?

With all four parameters documented and no output schema, the description's 'shows the blast radius' is just enough to signal a set of affected files. A note on return granularity or behavior on large codebases would make it fully complete.

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 description coverage is 100%, with depth, file_path, root_path, and change_description all documented inline, including defaults. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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?

The description gives a specific verb and resource — check what files will be affected by a change — and the phrase 'blast radius' crisply names the analysis output. It is distinguishable from siblings like explain_file or get_structure, though it never names an alternative explicitly.

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?

'Before modifying a file' establishes a clear triggering condition that an agent can act on. There are no exclusions or named alternatives, so it stops short of the top score, but the usage context is unambiguous.

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