analyze_cycles
Detects circular dependencies in C# codebases to identify architectural violations, especially in Domain layers, using Modularity Maturity Index analysis.
Instructions
Analyzes circular dependencies (cycles) in the codebase. Detects files that depend on each other in a circular way, which violates good architecture principles. Critical when Domain layer is involved.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>"
},
"name": "analyze_cycles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the C# project directory | |
| mode | No | Report mode: 'compact' (default, token-optimized) or 'detailed' (full info) | compact |