A budget governance tool that monitors LLM token spending and recommends model fallback strategies based on budget consumption thresholds
This server has a single tool (govern_budget) with severe quality gaps. The tool lacks proper MCP registration patterns, has minimal schema validation, and missing parameter descriptions. The implementation is a bare Python class with no explicit MCP server framework detected. Tool naming is compound ('govern_budget' conflates monitoring + recommendation), and schema constraints are absent. No error handling, no output schema documentation, and no transport mechanism visible.
Monitors monthly budget consumption and recommends LLM model fallback strategy based on spending percentage thresholds
No MCP server framework detected. Source shows a bare Python class (RealtimeStreamingLlmTokenCostBudgetGovernorClient) with no MCP server registration, tool definitions, or protocol implementation. Cannot verify this is an MCP server at all.
Input parameters lack descriptions. Both 'monthly_budget_usd' and 'current_spend_usd' have minimal descriptions that fail to explain expected format, constraints, or usage context.
No output schema documented. The tool returns a dict with fields 'budget_status', 'recommended_model', 'auto_fallback_triggered', but there is no formal schema definition, field types, or LLM-facing documentation of the response structure.
Tool name is compound/ambiguous. 'govern_budget' conflates two actions: monitoring spending AND recommending a fallback model. Should be 'check_budget_status' + 'get_model_recommendation' or clarify in description what the primary action is.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 30 | 2026-07-28+ | v2 |
No input validation or error handling. The method divides by max(monthly_budget_usd, 1.0) to handle zero, but provides no validation for negative values, non-numeric input, or out-of-range thresholds. No error messages guide LLM recovery.
Missing parameter constraints. 'monthly_budget_usd' and 'current_spend_usd' accept floats with no min/max bounds. 'budget_usd must be > 0'). Unbounded numbers invite invalid LLM inputs.
Hardcoded threshold (85%) is not configurable. The fallback trigger is hardcoded at 85% spending. Tools should expose thresholds as parameters so users/agents can customize behavior, or document the threshold prominently in the description.
No transport or protocol mechanism visible. The source code shows only a standalone Python class with an example_usage.py that calls it directly. No MCP server initialization, no transport binding (HTTP/STDIO/WebSocket), no protocol version negotiation. Cannot be deployed as an MCP server.