Skip to main content
Glama
scipq-mcp
by gdressino

changed

Read-onlyIdempotent

Maps a git diff to modified code definitions, their callers, and tests to run; lists deletions it cannot map and refuses stale files until recompiled.

Instructions

From git diff (read-only) to the definitions whose lines changed, their callers and the tests to run. Hunks that only delete code cannot be mapped and are listed; files edited after their last compilation are refused until recompiled.

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

Input Schema

NameRequiredDescriptionDefault
baseNogit revision to compare withHEAD
depthNoCaller levels
pathsNoLimit to these paths
stagedNoOnly staged changes
project_rootNoCheckout or worktree to query (any directory in it); default: where the server started

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world. The description adds genuinely new behavior: delete-only hunks cannot be mapped and are surfaced as a list, and files edited since last compilation are refused until recompiled. Those are material preconditions an agent needs before calling, though output shape/size is unaddressed.

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 dense sentences, front-loaded with the core diff-to-definitions mapping, followed by the two failure-mode caveats. Nothing is padded, though the opening fragment 'From `git diff` (read-only) to…' is slightly clipped and takes a second read.

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?

All five parameters are documented in the schema and the description covers purpose plus the two known failure modes, which is strong for a 5-param tool with no output schema. The one gap is that the result structure (definitions vs. callers vs. tests grouping, size) is only named, not characterized.

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 base, depth, paths, staged, and project_root are already documented in the schema. The description adds no syntax or interpretation guidance for any of them (e.g., how depth affects caller expansion), so the baseline of 3 is appropriate.

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 states a concrete transformation: from `git diff` hunks to the definitions whose lines changed, their callers, and the tests to run. That is a specific verb+resource framing an agent can act on, and it implicitly distinguishes this from pure callers/tests/impact lookups by anchoring the query in a diff. It stops short of naming a sibling, so not a 5.

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 'from git diff ... to ... the tests to run' framing implies the post-edit workflow where this tool applies, and the caveat about deletion-only hunks suggests when results will be incomplete. However, there is no explicit 'use X instead when…' routing against callers, tests, or impact, so the agent must infer the boundary.

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