Skip to main content
Glama
codedev-mcp

codedev-mcp

by Kranthithota

change_impact

Read-onlyIdempotent

Analyze code changes or git diffs to identify affected dependents, tests to re-run, and breaking changes, then assess risk level before merging.

Instructions

Analyze the impact of code changes. Given changed files or a git diff, finds affected dependents, tests to re-run, and breaking changes. Assesses risk level.

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": {
      "action": "<action>"
    },
    "name": "change_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNoGit ref to diff against (default: HEAD)
filesNoChanged file paths for impact analysis
actionYesanalyze: full impact analysis, categorize: classify change type
use_git_diffNoUse current unstaged git diff (default: false)

Output Schema

NameRequiredDescriptionDefault
riskYes
summaryYes
affectedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.5

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered and the bar is lower. The description adds real behavioral content by enumerating the four analysis outputs and noting a risk-level assessment. It does not disclose cost, depth limits, or that nothing is modified on disk beyond what annotations imply.

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?

Three short sentences, front-loaded with the core verb and resource, then the outputs, then the risk assessment. No filler, though the trailing "Assesses risk level" is partly redundant with the earlier list of findings.

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 an output schema present and full parameter coverage, the description only needs to establish purpose and scope, which it does. The main residual gap is that it never clarifies the analyze-versus-categorize mode choice in prose, leaving that entirely to the 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, including the action enum with its analyze/categorize meanings, are already documented in the schema. The description's phrase "changed files or a git diff" loosely maps to files/use_git_diff/ref but adds no syntax or precedence detail beyond the schema, so 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?

The description pairs a specific verb ("Analyze the impact of code changes") with concrete outputs ("affected dependents, tests to re-run, and breaking changes"), which tells an agent exactly what it gets back. It is clearly distinct from sibling reads like git_diff or dependency_graph, though it never names an alternative to sharpen 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the two valid input modes ("Given changed files or a git diff"), which implies when the tool applies. However, it gives no when-not guidance and never points to a sibling such as git_diff for raw diff output or find_references for a single symbol lookup.

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