Skip to main content
Glama
io.github.adiarora06/reporipple

io.github.adiarora06/reporipple

by adiarora06

Analyze current Git changes

analyze_worktree
Read-only

Analyze Git worktree changes or compare HEAD with a base revision to identify affected code and dependencies before merging.

Instructions

Analyze worktree changes, or compare HEAD with an optional Git base revision.

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": "analyze_worktree"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoOptional Git revision to compare with HEAD.
max_depthNoMaximum reverse-dependency traversal depth.
repositoryNoRepository directory, relative to the server's allowed root. Absolute paths are accepted only when they remain inside that root..

Output Schema

NameRequiredDescriptionDefault
warningsYes
repositoryYes
risk_levelYes
graph_edgesYes
graph_filesYes
risk_reasonsYes
changed_filesYes
impacted_filesYes
suggested_testsYes
documentation_to_reviewYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds the useful detail that a second comparison mode against HEAD exists, but says nothing about traversal behavior, repository-root constraints, or cost of deeper analysis.

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?

One sentence, front-loaded with the primary mode and then the alternative mode. Nothing is wasted, though the opening phrase partly restates the title.

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?

With an output schema present and full parameter coverage, the description needn't explain return values. Still, for a tool whose headline action is vague ("analyze"), a hint about what kind of analysis is produced would round it out; the definition is adequate but thin.

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 three parameters are already documented in the schema, including the `base` revision semantics. The description's mention of an optional base revision adds no format or syntax detail beyond that, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Analyze worktree changes" gives a verb and resource, and the second clause reveals a second mode (compare HEAD with a base revision). However, "analyze" is opaque about what the analysis actually produces, and there is no differentiation from the sibling forecast_change.

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 description implies the default mode (worktree changes) versus the optional-base mode, which is a usable hint for when to pass `base`. It offers no explicit when-not guidance, prerequisites, or comparison to forecast_change, leaving the agent to infer selection.

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