Skip to main content
Glama

Checkout-Free Git Object Verification

bridge_verify_git

Fetches a candidate Git ref into an isolated bare mirror without checkout or hooks, then verifies pinned base ancestry, expected tree SHA, and locked paths before publication.

Instructions

Fetches a candidate Git ref into an isolated bare mirror without checkout or hooks, verifying pinnedBaseCommitSha ancestry, expectedTreeSha, and lockedPaths since the pinned source commit (or base when no source is supplied).

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": {
      "handoffId": "<handoffId>",
      "candidateRef": "<candidateRef>"
    },
    "name": "bridge_verify_git"
  }
}

Input Schema

NameRequiredDescriptionDefault
handoffIdYes
candidateRefYes
remoteUrlOrPathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/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 burden and does disclose meaningful safety traits: no checkout, no hooks, isolated bare mirror. It omits what happens on verification failure (error vs. result payload), whether handoff state is mutated, and any auth or remote-access requirements. Solid on isolation semantics, thin on failure and side-effect behavior.

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?

A single dense sentence with no filler; the core operation (fetch into isolated mirror) is front-loaded. The trailing verification clause is long but each element carries information. Slightly overloaded for one sentence but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema, no annotations, and 0% parameter coverage leave the description as the only source of truth, yet it neither documents the three inputs nor describes the return or failure signal. The mismatch between named verification fields and actual parameters makes it insufficient for a tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 3 parameters, and the description never mentions handoffId, candidateRef, or remoteUrlOrPath by name. It instead references verification fields that are not in the schema, so the reader cannot map description text to actual inputs. 'candidate Git ref' only loosely hints at candidateRef.

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 specific verb and resource: fetching a candidate Git ref into an isolated bare mirror and verifying ancestry, tree SHA, and locked paths. It is clearly distinguishable from the handoff lifecycle siblings. However, the named verification targets (pinnedBaseCommitSha, expectedTreeSha, lockedPaths) do not exist in the schema, which muddies what the tool actually consumes.

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?

No explicit when-to-use or when-not guidance, and no alternative tool is named. The parenthetical '(or base when no source is supplied)' gives a fallback condition but not a usage decision. An agent must infer that this belongs to the handoff verification workflow from context alone.

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