Skip to main content
Glama

predict_change_impact

Predict change blast radius, downstream callers, subsystem boundary crossings, and recommended tests before modifying code.

Instructions

Pre-Change Architectural Impact Predictor: Predicts change blast radius, downstream callers, crossed subsystem boundaries, and test recommendations before modifying code.

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": {
      "target": "<target>"
    },
    "name": "predict_change_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesTarget file or symbol name to analyze (e.g. 'options.py' or 'Model')
root_dirNoPath to the repository root directory (default: '.').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read-only analysis by saying 'predicts' and listing predicted outputs, but never states whether anything is modified, what preconditions exist (repository state, indexing, working tree cleanliness), or how expensive the analysis is. For an unannotated tool, this leaves significant gaps.

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?

A single front-loaded sentence that names the tool's identity first and then enumerates outputs; no filler or redundancy. It could be slightly improved by separating the precondition ('before modifying code') from the output list, but it is efficient.

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 only two parameters, full schema coverage, and no output schema, the description's enumeration of predicted results (blast radius, callers, boundaries, test recommendations) effectively substitutes for a return-value contract. The main missing piece is behavioral preconditions, which matters more here because no annotations exist.

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% and both parameters (target, root_dir) carry their own descriptions including an example and a default, so the schema does the heavy lifting. The tool description adds nothing about how 'target' is resolved (file vs symbol) beyond what the schema already says.

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?

Specific verb+resource: 'Predicts change blast radius, downstream callers, crossed subsystem boundaries, and test recommendations' names concrete outputs, not just a restated name. It is not explicitly distinguished from the similarly named sibling get_git_change_impact, but the 'pre-change' framing signals a prediction rather than post-hoc git analysis.

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?

The phrase 'before modifying code' gives a clear temporal trigger for using this tool, which is real guidance. However, there is no statement of when not to use it, no prerequisites (e.g., whether the repo must be indexed or a baseline commit is needed), and no pointer to alternatives such as get_git_change_impact.

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