Skip to main content
Glama
Project Scope MCP Server

Project Scope MCP Server

analyze_impact

Predicts the blast radius of renaming a symbol with AST analysis, finding legitimate references across the codebase so you can assess dependencies and prevent breaking changes before refactoring.

Instructions

Predict the blast radius of renaming a symbol. Uses AST analysis (not text search) to find all legitimate references across the codebase. Use before refactoring to understand dependencies and prevent breaking changes.

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": {
      "path": "<path>",
      "filePath": "<filePath>",
      "symbolName": "<symbolName>"
    },
    "name": "analyze_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
lineNoLine number where the symbol is defined (optional)
pathYesRoot path of the repository
filePathYesPath to the file containing the symbol to analyze
symbolNameYesName of the variable/function to analyze

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the method (AST-based, not text search) and the scope (across the codebase) and implies read-only analysis, but never states that it makes no changes, gives no cost or timeout expectations for large repos, and does not describe the shape of the result.

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 core purpose, followed by the differentiating mechanism and the usage trigger. Every sentence earns its place with no filler.

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

Completeness3/5

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

There is no output schema and no annotations, so the description should say what comes back (list of references, counts, file:line pairs) and whether it is purely read-only. It is otherwise adequate for a four-parameter analysis tool, but that return-value gap matters given the absent output schema.

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%, so all four parameters are already documented in the schema. The description adds no meaning about how path, filePath, symbolName, and the optional line interact, so the baseline 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?

States a specific verb and resource: predicting the blast radius of renaming a symbol, and adds a concrete mechanism (AST analysis, not text search). It is clearly an analysis tool, not the rename itself, though it never names the sibling refactor_rename, which an agent could plausibly confuse it with.

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?

"Use before refactoring to understand dependencies and prevent breaking changes" gives a clear trigger condition and a stated goal. There are no explicit exclusions or named alternatives (e.g., 'use refactor_rename to actually perform the change'), so it stops short of full routing guidance.

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