An MCP server that optimizes AI model routing based on prompt characteristics and budget constraints to minimize inference costs
This server has a single tool, execute_skill_action, that is advertised in mcp_server.py but has NO actual implementation visible in the provided source code. The tool name is vague (lacks clear verb-noun structure), there is no schema definition, no parameter documentation, and no error handling. The client.py and example_usage.py files show a separate AgentCostOptimizationOrchestratorClient class with an optimize_route method, but this is NOT registered as an MCP tool and does NOT match the advertised execute_skill_action interface. The mcp_server.py merely prints a JSON announcement that the tool exists but provides zero tool registration, schema, or implementation details. Per the hard scoring rules: if a tool has no input schema and no description visible in the source, both schema and description scores are 0. Since the tool is only inferred (advertised in output but not explicitly registered with a handler), the overall tool score is capped at 50. The average of one tool at 5-10 puts the definition quality score near the floor.
Execute a cost optimization skill action. The server advertises this tool but does not expose a concrete implementation in the provided source code.
Tool advertised but not implemented. The mcp_server.py claims to support execute_skill_action in its JSON output, but provides no actual tool handler, schema, or parameter definitions. The tool is inferred only from the output string, not explicitly registered.
No input schema. The execute_skill_action tool has zero schema definition.
No tool description. The tool is listed in the advertised supported_tools array but has no description explaining what it does, when to use it, or what it returns.
Vague tool name. 'execute_skill_action' is generic and does not follow verb_noun conventions clearly (execute is weak; skill_action is compound and unclear). The name does not convey what specific action is taken or what domain (cost optimization, routing, etc.) is affected.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 14 | 2026-07-28+ | v2 |
Mismatch between advertised tool and actual code. The mcp_server.py advertises execute_skill_action, but the client.py defines AgentCostOptimizationOrchestratorClient.optimize_route() with its own logic (word_count-based model routing). No bridge exists between the MCP interface and the actual optimization logic.
No error handling. The mcp_server.py has no error recovery guidance, retryability classification, or actionable error messages. If execute_skill_action fails, the LLM has no direction on what to do next.
No parameter descriptions. Even if parameters exist for execute_skill_action, there is no documentation of what they mean, what values they accept, or what constraints apply.