DiffCI
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 | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| diffci_changed_filesA | List staged, unstaged and non-ignored untracked changed paths relative to HEAD, with a snapshot identity. Builds no dependency graph and runs no tests. |
| diffci_select_testsA | Inspect current staged, unstaged and non-ignored untracked changes and return a snapshot-bound affected-test plan and fallback reasons. Runs no tests; a plan is not a passing receipt. With scope "staged" or "paths", plans HEAD plus only the index or only the given files in a temporary worktree, and returns the one |
| diffci_explain_selectionA | Inspect current staged, unstaged and non-ignored untracked changes and return a snapshot-bound affected-test plan and fallback reasons. Runs no tests; a plan is not a passing receipt. With scope "staged" or "paths", plans HEAD plus only the index or only the given files in a temporary worktree, and returns the one |
| diffci_run_affected_testsC | Reanalyze and verify the current working-tree snapshot with affected tests or conservative full fallback. Required CI remains authoritative. |
| diffci_verifyA | Verify a clean commit range and return a receipt bound to the checked-out head commit. Resolves the CI event range automatically when base and head are omitted. |
| diffci_verify_changedB | Verify the current staged, unstaged, and non-ignored untracked changes. Fails closed unless the exact working-tree snapshot passes selected or full fallback verification. |
| diffci_checkB | Analyze the repository, run inferred full and selected test commands when available, and report paired runtime. No report is uploaded. The run is counted with the repository name unless the user chose count-only; DO_NOT_TRACK=1 stops counting. |
| diffci_initB | Seed a repository with DiffCI agent instruction files, MCP server configs, the diffci-verify skill and the pre-push hook. |
| diffci_verify_workflowC | Check that a DiffCI GitHub Actions job cannot affect the rest of CI. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
diffci_select_tests and diffci_explain_selection have identical descriptions and appear to provide the same plan-only operation. The boundaries among diffci_check, diffci_run_affected_tests, diffci_verify, and diffci_verify_changed also require careful reading to distinguish run-vs-verify semantics. diffci_changed_files, diffci_init, and diffci_verify_workflow are clear, but multiple tool pairs overlap.
All tools share the diffci_ prefix and use snake_case, giving a consistent surface. However, naming styles vary between noun phrases (changed_files), bare verbs (check, init), and verb_noun forms (select_tests, run_affected_tests).
Nine tools is a reasonable, well-scoped count for a diff-aware CI/test-selection server. One slot is effectively duplicated by explain_selection, so not every tool clearly earns a distinct place.
The surface covers initialization, changed-path discovery, test planning/explanation, affected-test execution, workflow validation, and commit/working-tree verification, which is strong lifecycle coverage. Minor gaps remain around inspecting DiffCI configuration/status or managing reports, but core workflows are covered.