smart_score
Recalculate, sync, diagnose, optimize, and reset project health scores across multiple scoring components to maintain accurate and actionable project insights.
Instructions
Central coordination for project health scoring system - recalculate, sync, diagnose, optimize, and reset scores across all MCP tools
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": {
"operation": "<operation>",
"projectPath": "<projectPath>"
},
"name": "smart_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intentId | No | Intent ID to get score trends for (for get_intent_scores operation) | |
| todoPath | No | Path to TODO.md file (for sync_scores operation) | TODO.md |
| component | No | Score component to reset (for reset_scores operation) | all |
| operation | Yes | Smart scoring operation to perform | |
| components | No | Score components to recalculate (for recalculate_scores operation) | |
| forceUpdate | No | Force update even if data is fresh | |
| previewOnly | No | Preview changes without applying (for optimize_weights operation) | |
| projectPath | Yes | Path to project directory | |
| analysisMode | No | Method for weight optimization (for optimize_weights operation) | current_state |
| triggerTools | No | Tools to trigger for fresh data (for sync_scores operation) | |
| customWeights | No | Custom weight overrides (for optimize_weights operation) | |
| updateSources | No | Trigger source tool updates before recalculating | |
| includeHistory | No | Include score history analysis (for diagnose_scores operation) | |
| preserveHistory | No | Preserve score history in backup (for reset_scores operation) | |
| rebalanceWeights | No | Recalculate optimal scoring weights (for sync_scores operation) | |
| checkDataFreshness | No | Validate data freshness across tools (for diagnose_scores operation) | |
| suggestImprovements | No | Provide score improvement suggestions (for diagnose_scores operation) | |
| recalculateAfterReset | No | Immediately recalculate after reset (for reset_scores operation) |