agentic-diff
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| snapshot_baselineA | Captures a lightweight snapshot of target files (or all currently dirty files) before editing so present_diff can isolate only this turn/task edits on an already-dirty git working tree. |
| present_diffB | Analyzes actual git/snapshot code changes with Tree-sitter AST alignment, overlays your logical decisions and rename/move/split/merge hints, verifies 100% changed-line coverage, and opens the interactive Semantic Diff viewer. |
| open_diff_viewerA | Opens the Semantic Diff viewer. Shows the latest agent-annotated diff session if available, or analyzes the current git working tree against HEAD using pure AST semantic matching. |
| app_get_sessionC | App-only tool to fetch the complete DiffSession payload. |
| app_get_raw_diffC | App-only tool to fetch raw unified & line diff for one file. |
| app_save_review_stateC | App-only tool to persist approvals, flags, and comments to disk. |
| app_reanalyzeC | App-only tool to switch baseline ref/snapshot or refresh from disk. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Semantic Diff Viewer | Interactive AST-aware, agent-decision semantic diff viewer |
TDQS
Scored across 7 tools
Most tools have clearly distinct purposes, and the app-only prefix cleanly separates UI/session helpers from agent-facing actions. There is some overlap between present_diff and open_diff_viewer, since both can analyze changes and open the Semantic Diff viewer, but the descriptions clarify that present_diff is the annotated analysis workflow while open_diff_viewer is the niche viewer command.
Core tools follow a readable verb_noun snake_case pattern, and app-only tools are consistently prefixed with app_. The only minor deviation is app_reanalyze, which is a prefixed verb without a noun object, but the overall convention remains predictable.
Seven tools are well-scoped for an agentic diff review server. The set is compact but covers baseline capture, annotated diff presentation, viewer access, session retrieval, raw diff retrieval, review persistence, and reanalysis without obvious bloat.
The surface covers the full diff-review lifecycle: snapshotting a baseline, presenting annotated changes, opening the viewer, fetching session and raw diff data, saving review state, and reanalyzing against a different baseline. No obvious lifecycle gaps remain for the stated purpose.