inspect_mcdev_git_range
Compares Git metadata between two explicit refs and optionally checks if the source commit is contained in the target to assess promotion or back-promotion direction. Read-only, local snapshot.
Instructions
Read-only Git metadata comparison of two explicit refs, not promotion policy or execution readiness. Optional declaredEdge assesses only exact-source-commit containment in the target, with the same source-to-target direction for promotion and back-promotion. Local snapshot only; remote freshness and remote BU synchronization are unknown. No inferred branch roles or backpromotions, auth/log/artifact/commit-content reads, branch changes or native mcdev/live execution. Prevent concurrent project/Git mutation; not an atomic snapshot. Separate from inspect_mcdev_project auth protection checks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceRoot": "<workspaceRoot>",
"sourceRef": "<sourceRef>",
"targetRef": "<targetRef>"
},
"name": "inspect_mcdev_git_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceRef | Yes | Explicit source branch or full ref, never a revision expression. | |
| targetRef | Yes | Explicit target branch or full ref, never a revision expression. | |
| declaredEdge | No | Optional caller-declared intent; never reverses source and target. | |
| workspaceRoot | Yes | Canonical absolute mcdev project root. |