Skip to main content
Glama

get_co_changes

Read-onlyIdempotent

Analyze git history to find files that frequently change together, revealing hidden dependencies and temporal coupling.

Instructions

Find files that frequently change together in git history (temporal coupling). Requires git. Use to discover hidden dependencies between files. For cross-module co-change anomalies use detect_drift instead. Read-only. Returns JSON: { file, coChanges: [{ file, confidence, count }] }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesFile path to analyze
min_confidenceNoMinimum confidence threshold (default 0.3)
min_countNoMinimum co-change count (default 3)
window_daysNoGit history window in days (default 180)
limitNoMax results (default 20)
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds 'Read-only' (consistent) and specifies the output format ('Returns JSON: { file, coChanges: ... }'), which provides additional behavioral context beyond annotations. It also notes the git dependency. No contradictions.

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?

The description is only 4 sentences, each serving a distinct purpose: purpose, prerequisite, usage guidelines, and output format. No fluff or redundancy.

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

Completeness4/5

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

Given the moderate complexity (5 parameters, 1 required, no output schema), the description covers purpose, prerequisites, usage context, alternative, and return shape. Missing minor details like error conditions or examples, but overall sufficient for correct invocation.

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 baseline is 3. The description does not add any new meaning beyond what the schema provides; it only mentions 'min_confidence', 'min_count', etc. without elaboration.

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 verb 'Find' and resource 'files that frequently change together in git history', and explicitly distinguishes from the sibling 'detect_drift' by noting when to use it instead. The purpose is specific and unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use ('discover hidden dependencies between files'), when-not-to-use ('For cross-module co-change anomalies use detect_drift instead'), and an alternative tool. It also mentions a prerequisite ('Requires git').

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

Install Server

Other Tools

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/nikolai-vysotskyi/trace-mcp'

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