Skip to main content
Glama

cochange_context

Analyze git history to identify files that frequently change together, revealing hidden dependencies for code review and maintenance.

Instructions

Files that historically co-change with a given file (logical coupling).

Uses git history to find files frequently changed in the same commits.
Useful for discovering hidden dependencies: if A and B co-change 80% of
the time, a change to A likely requires reviewing B.

file_path: path relative to repo root (e.g., "tempograph/render.py")
n_commits: how many recent commits to analyze (default 200)
output_format: "text" (default) or "json"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes
file_pathYes
n_commitsNo
output_formatNotext

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Elmoaid/TempoGraph'

If you have feedback or need assistance with the MCP directory API, please join our Discord server