Skip to main content
Glama
hjamet

doc-version-mcp

by hjamet

Record Git Pull Event

record_git_pull_event

Pulls a Git repository with rebase and autostash, detects conflicts, and stores a timestamped content-addressed snapshot of the fetched state.

Instructions

Synchronise un dépôt Git via git pull --rebase (--autostash), détecte les conflits et enregistre un snapshot CAS horodaté de l'état récupéré.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
autostashNo
repo_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the core actions (pull, detect conflicts, record snapshot) and implies mutability via 'Synchronise', but does not detail side effects, permissions, conflict resolution behavior (only detection), or the nature of the CAS snapshot. It omits important context like what happens on conflict or whether local changes are preserved (though autostash is mentioned, it's not elaborated).

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?

The description is a single sentence that front-loads the primary action (sync via git pull) and then adds details (conflict detection and snapshot recording). It is concise and to the point, though the French wording is dense and could benefit from breaking into two sentences for clarity. It earns high marks for brevity and front-loading.

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?

This is a mutating operation (git pull) with potential side effects, and no annotations are present to cover safety or behavior. The description is brief and does not explain error handling, return values, or what happens when conflicts occur. An output schema exists, which could cover return values, but the description itself does not address completeness for an agent deciding to invoke it safely. Given the complexity and side effects, it is insufficiently complete.

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%, so the description must explain the parameters. It mentions '--autostash' in the command but does not clarify that this maps to the autostash boolean parameter. The repo_path parameter is not described at all. The description fails to compensate for the schema's lack of documentation, leaving agents without sufficient understanding of what each parameter does.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: it synchronizes a Git repository via git pull --rebase, detects conflicts, and records a timestamped CAS snapshot. This specific verb+resource combination distinguishes it from siblings like commit_document (commit), get_diff_artifact (diff), restore_commit (restore), list_commits (list), and prune_commits (prune). The action is unambiguous.

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

Usage Guidelines3/5

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

The description implies usage (when you need to pull and record a snapshot) but provides no explicit when-to-use or when-not-to-use guidance, nor does it mention alternatives or conditions under which another sibling might be preferred. It relies on the obvious distinction from siblings, but lacks explicit routing or exclusions.

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