Skip to main content
Glama

diffci_check

Analyze repository changes, run inferred full or selected test commands, and report paired runtime so you can verify the working tree before push without uploading a report.

Instructions

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.

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

Input Schema

NameRequiredDescriptionDefault
baseNoOptional base commit SHA.
headNoOptional head commit SHA.
jsonNoPrint the full JSON observation report.
repoNoRepository path. Defaults to the MCP server working directory.
quietNoSuppress the human summary.
redactPathsNoReplace paths in the analysis result with stable digests. Workflow findings and some fallback details can still name files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.60
    • changedInput schema / properties / redactPaths / description
      Previous value: -"Replace paths with stable digests in the report."New value: +"Replace paths in the analysis result with stable digests. Workflow findings and some fallback details can still name files."
  2. First observedv0.3.35

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two non-obvious traits: no report is uploaded, and runs are counted against the repository name unless opted out via DO_NOT_TRACK=1. It says nothing about what happens when test commands are executed (working-tree effects, timeouts, failure handling) or what the report contains, which is the larger risk for a command-executing tool.

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 with the action front-loaded and side-effect notes following. Some jargon ('paired runtime', 'count-only') is used without definition, but there is no filler.

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?

For a six-parameter tool with no output schema and no annotations, the description covers the no-upload and telemetry behaviors but leaves the result shape and execution semantics implicit. An agent knows roughly what it does and what it will not upload, but not what it gets back or what qualifies as 'available' test commands.

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 the schema already documents all six parameters including base/head, json, quiet, repo, and redactPaths. The description adds no parameter-level meaning beyond what the schema states, and 'count-only' is referenced but is not actually one of the parameters. 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?

States a concrete flow: analyze the repository, run inferred full and selected test commands, and report paired runtime. That is more specific than a tautology, but the description never distinguishes this 'check' from near-identical siblings such as diffci_verify or diffci_run_affected_tests, so an agent cannot route on purpose alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance relative to the many sibling verification tools. The only conditional is 'when available', which describes internals rather than telling the agent when to pick this tool. The count-only/DO_NOT_TRACK sentences are operational notes, not selection guidance.

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