Skip to main content
Glama

Temporal Coupling

coupling
Read-only

Detect files that frequently change together to uncover hidden dependencies not visible in imports or type signatures, helping prevent breaking changes during refactoring.

Instructions

Find files that always change together (temporal coupling). These represent hidden dependencies not visible in imports or type signatures. If auth.ts and middleware.ts change together in 90% of commits, refactoring one without the other will likely break things. NOTE: If the server was not started inside a git repo, you MUST provide repo_path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoDays to look back (default: 90)
limitNoMax pairs to return (default: 20)
repo_pathNoAbsolute path to the git repository to analyze. Required if Claude Code was not opened in a git repo.
min_commitsNoMinimum shared commits to report (default: 3)
path_filterNoFilter to files under this path
min_couplingNoMinimum coupling score 0-1 (default: 0.5)
Behavior4/5

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

Annotations already indicate readOnlyHint=true, so the description adds value by explaining the concept of temporal coupling and giving a concrete example (auth.ts and middleware.ts). This context helps the agent understand the tool's output and significance.

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 relatively concise with minimal waste. The example and note are useful, but the explanation of temporal coupling could be slightly tighter. Good front-loading of purpose.

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?

For a data analysis tool with no output schema, the description adequately conveys what to expect (file pairs with coupling score). Parameters are well-covered in schema. Could mention results format briefly, but overall complete.

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 all parameters are documented. The description only adds the note about repo_path, which is already in the schema. No additional meaning beyond what the schema provides.

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 finds files that always change together (temporal coupling), with a specific verb and resource. It distinguishes itself from sibling tools by focusing on hidden dependencies not visible in imports or type signatures.

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?

The description explains when to use the tool (to find hidden dependencies) and includes a critical note about providing repo_path if not in a git repo. However, it does not explicitly contrast with sibling tools or give when-not-to-use guidance.

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/hoangsonww/GitIntel-MCP-Server'

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