Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read-only analytics over a git repository's HISTORY, for questions generic git tools cannot answer: where is the risk and who knows this code. repo_summary first for the lay of the land; hotspots (churn x recency x authors) for risky files; file_experts (blame + recent commits) for who to ask; bus_factor per directory; change_coupling for files that change together; churn_timeline for activity over time; release_notes between two refs; commit_search and file_history (follows renames) to dig in. Every tool takes repo= (a path inside an allowed directory; defaults to the first one). Paths are relative to the repo root with forward slashes. Nothing here modifies the repo.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
repo_summaryB

Overview of a repository: age, commit and merge counts, top authors (mailmap applied), languages by churn, branches, tags. Warns if the clone is shallow. Start here.

hotspotsA

Rank files by risk: recency-weighted churn (lines added+deleted, halving every half_life_days) multiplied by (1 + log2 of distinct authors). Only files that still exist are listed. Commits touching more than max_files_per_commit files (reformats, imports) and lock files are ignored; exclude takes extra globs like '*.min.js'. since/until accept git dates ('6 months ago', '2026-01-01'); path limits to a directory; as_of pins 'now'.

file_expertsA

Who knows this file or directory? Weights each author by surviving lines (git blame ignoring whitespace and moved lines) and by lines changed in the last recent_days (score = 0.6 blame share + 0.4 recent share). Reports the bus factor (fewest authors holding more than 50% of the code) and flags authors with no activity for inactive_days. For a directory, the max_files biggest text files are blamed.

change_couplingB

Which files change together with this file? For each other file: support (commits touching both), confidence (support / commits touching this file) and reverse confidence. Mass commits (more than max_files_per_commit files) are ignored and renames are followed. High confidence between files with no import relation is a hidden dependency.

bus_factorA

Bus factor per directory (first depth path components), from history: the fewest authors whose recency-weighted changed lines exceed 50%. Directories with factor 1 and at least min_commits commits are marked AT RISK. Use file_experts for blame-based detail.

churn_timelineB

Commits and changed lines per week or month (UTC), with ASCII sparklines ('_' = none, '@' = peak). Filter by path or author substring. Merges are excluded.

release_notesB

Markdown release notes for from_ref..to_ref (default: latest tag before to_ref up to HEAD). group_by='type' groups by conventional-commit type (feat, fix, ...) with breaking changes first; group_by='area' groups by the top-level directory each commit mostly touched. Merge commits and PR numbers ((#123), 'Merge pull request #123') are listed.

commit_searchA

Find commits. All filters are case-insensitive literals and combine with AND: query (in the message), author (name or email substring), path (file or directory), since/until (git dates), content (text added or removed by the commit, git's pickaxe -S). At least one filter is required. limit is capped at 200.

file_historyB

Commits that touched a file, newest first, following it across renames (reports the earlier names). Shows lines added/deleted per commit.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

Each tool targets a distinct analytical view (risk ranking, history, ownership, coupling, timeline, release notes, search), and descriptions actively cross-reference each other (bus_factor vs file_experts). The main soft overlaps are hotspots vs churn_timeline (both churn-based) and bus_factor vs file_experts (both ownership/bus-factor), but the stated granularity differences keep them separable.

Naming Consistency4/5

All names are snake_case and stable, with a dominant noun_noun/analysis-view convention (repo_summary, file_history, change_coupling, bus_factor, churn_timeline, release_notes). Minor deviations: 'hotspots' is a bare noun and 'commit_search' reverses the noun_verb order, but none of these impede readability.

Tool Count5/5

Nine tools for a git risk-analysis server is a well-scoped set; each covers a distinct analysis angle with no filler. Nothing appears redundant enough to drop.

Completeness4/5

The surface covers overview, risk ranking, file history, ownership, coupling, bus factor, churn timeline, release notes, and commit search — a strong lifecycle for repo risk analysis. Gaps are minor: no per-author aggregated risk view, no ref/commit diff or comparison tool, and no raw blame summary, but agents can work around these via file_experts and commit_search.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues