Skip to main content
Glama
AleBrito124356

mcp-git-historian

Bus factor and knowledge silos

bus_factor
Read-onlyIdempotent

Analyze commit ownership per directory to flag knowledge silos and calculate the minimum authors covering most commits, revealing where one author dominates.

Instructions

Analyze knowledge concentration by commits. Per top-level directory: dominant author and their share of commits; directories with >= 3 commits where one author made more than 80% of them are flagged as knowledge silos. Also returns the global bus factor: the minimum number of authors whose commits cover more than 50% of all commits (lower = riskier). For line-level ownership and inactive authors use knowledge_risk.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNoMaximum number of directories and authors to list.
repo_pathYesAbsolute path to a local git repository, or to any folder inside one (a sub-folder scopes the analysis to it).
include_mergesNoCount merge commits as authored work (default false: merging a pull request is not writing its code).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantive behavioral detail beyond them: the silo thresholds (>= 3 commits and > 80% single-author share) and the precise bus-factor definition (>50% of commits). These thresholds tell the agent exactly how results are computed, not just that the call is safe.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: purpose, then outputs, then the bus-factor definition, then the sibling pointer. Every clause carries information an agent needs to interpret the result, with no filler sentences.

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

Completeness5/5

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

An output schema exists, so return-shape explanation is unnecessary, and the description still supplies definitions of the terms it reports (silo, bus factor). Combined with full schema coverage and annotations, nothing an agent needs to call or interpret this tool correctly is missing.

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 repo_path, top, and include_merges in detail. The description adds algorithmic context but no additional meaning about the parameters themselves, so the baseline of 3 applies.

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?

States a specific verb and resource ('Analyze knowledge concentration by commits') and enumerates the concrete outputs: per-directory dominant author and share, silo flags, and the global bus factor. It clearly differentiates from the sibling knowledge_risk by naming it as the tool for line-level ownership.

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

Usage Guidelines4/5

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

Explicitly routes the agent to an alternative for a related need ('For line-level ownership and inactive authors use knowledge_risk'), giving a clear condition that selects the sibling. It stops short of a full when-to-use/when-not framing for this tool itself, but the routing is unusually concrete.

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