Skip to main content
Glama

mcp-adr-analysis-server

by tosin2013

smart_score

Recalculate, sync, diagnose, and optimize project health scores across task completion, deployment readiness, architecture compliance, security posture, and code quality components.

Instructions

Central coordination for project health scoring system - recalculate, sync, diagnose, optimize, and reset scores across all MCP tools

Input Schema

NameRequiredDescriptionDefault
analysisModeNoMethod for weight optimization (for optimize_weights operation)current_state
checkDataFreshnessNoValidate data freshness across tools (for diagnose_scores operation)
componentNoScore component to reset (for reset_scores operation)all
componentsNoScore components to recalculate (for recalculate_scores operation)
customWeightsNoCustom weight overrides (for optimize_weights operation)
forceUpdateNoForce update even if data is fresh
includeHistoryNoInclude score history analysis (for diagnose_scores operation)
intentIdNoIntent ID to get score trends for (for get_intent_scores operation)
operationYesSmart scoring operation to perform
preserveHistoryNoPreserve score history in backup (for reset_scores operation)
previewOnlyNoPreview changes without applying (for optimize_weights operation)
projectPathYesPath to project directory
rebalanceWeightsNoRecalculate optimal scoring weights (for sync_scores operation)
recalculateAfterResetNoImmediately recalculate after reset (for reset_scores operation)
suggestImprovementsNoProvide score improvement suggestions (for diagnose_scores operation)
todoPathNoPath to TODO.md file (for sync_scores operation)TODO.md
triggerToolsNoTools to trigger for fresh data (for sync_scores operation)
updateSourcesNoTrigger source tool updates before recalculating

Input Schema (JSON Schema)

{ "properties": { "analysisMode": { "default": "current_state", "description": "Method for weight optimization (for optimize_weights operation)", "enum": [ "current_state", "historical_data", "project_type" ], "type": "string" }, "checkDataFreshness": { "default": true, "description": "Validate data freshness across tools (for diagnose_scores operation)", "type": "boolean" }, "component": { "default": "all", "description": "Score component to reset (for reset_scores operation)", "enum": [ "task_completion", "deployment_readiness", "architecture_compliance", "security_posture", "code_quality", "all" ], "type": "string" }, "components": { "default": [ "all" ], "description": "Score components to recalculate (for recalculate_scores operation)", "items": { "enum": [ "task_completion", "deployment_readiness", "architecture_compliance", "security_posture", "code_quality", "all" ], "type": "string" }, "type": "array" }, "customWeights": { "description": "Custom weight overrides (for optimize_weights operation)", "properties": { "architectureCompliance": { "maximum": 1, "minimum": 0, "type": "number" }, "codeQuality": { "maximum": 1, "minimum": 0, "type": "number" }, "deploymentReadiness": { "maximum": 1, "minimum": 0, "type": "number" }, "securityPosture": { "maximum": 1, "minimum": 0, "type": "number" }, "taskCompletion": { "maximum": 1, "minimum": 0, "type": "number" } }, "type": "object" }, "forceUpdate": { "default": false, "description": "Force update even if data is fresh", "type": "boolean" }, "includeHistory": { "default": true, "description": "Include score history analysis (for diagnose_scores operation)", "type": "boolean" }, "intentId": { "description": "Intent ID to get score trends for (for get_intent_scores operation)", "type": "string" }, "operation": { "description": "Smart scoring operation to perform", "enum": [ "recalculate_scores", "sync_scores", "diagnose_scores", "optimize_weights", "reset_scores", "get_score_trends", "get_intent_scores" ], "type": "string" }, "preserveHistory": { "default": true, "description": "Preserve score history in backup (for reset_scores operation)", "type": "boolean" }, "previewOnly": { "default": false, "description": "Preview changes without applying (for optimize_weights operation)", "type": "boolean" }, "projectPath": { "description": "Path to project directory", "type": "string" }, "rebalanceWeights": { "default": false, "description": "Recalculate optimal scoring weights (for sync_scores operation)", "type": "boolean" }, "recalculateAfterReset": { "default": true, "description": "Immediately recalculate after reset (for reset_scores operation)", "type": "boolean" }, "suggestImprovements": { "default": true, "description": "Provide score improvement suggestions (for diagnose_scores operation)", "type": "boolean" }, "todoPath": { "default": "TODO.md", "description": "Path to TODO.md file (for sync_scores operation)", "type": "string" }, "triggerTools": { "description": "Tools to trigger for fresh data (for sync_scores operation)", "items": { "enum": [ "manage_todo_json", "smart_git_push", "compare_adr_progress", "analyze_content_security", "validate_rules" ], "type": "string" }, "type": "array" }, "updateSources": { "default": true, "description": "Trigger source tool updates before recalculating", "type": "boolean" } }, "required": [ "operation", "projectPath" ], "type": "object" }

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/tosin2013/mcp-adr-analysis-server'

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