MCP Server implementation that exposes Voitta tools via the Model Context Protocol, acting as a gateway between MCP clients and the Voitta router
This server exposes a single tool ('Dynamic Voitta Tools') with NO static schema definition. The tool name itself is generic and non-verb-based, violating core naming conventions. The description is vague about what 'dynamic discovery' entails and provides no guidance on when to use this tool. Most critically, the input schema is constructed ad-hoc from Voitta's runtime response in the list_tools handler, making it impossible to validate schema quality from static analysis. The code shows attempts to normalize parameters into JSON Schema objects, but there is no clear, documented schema visible in the source. Tool parameters are not described. Error handling returns plain text errors rather than structured guidance. No output schema is documented. The server treats tools as a black box flowing through from Voitta, with no definition quality assurance.
Tools are dynamically discovered from the Voitta router configuration and exposed through the list_tools handler. Tool names, descriptions, and parameters are extracted from the Voitta router's get_tools() method.
Tool name 'Dynamic Voitta Tools' is not a verb phrase and violates action-verb naming convention. Generic names like 'Dynamic Voitta Tools' do not signal what action the LLM performs. Should follow verb_noun pattern (e.g., 'call_voitta_tool', 'execute_voitta_function'). This makes it impossible for LLMs to infer intent from the name alone.
No visible input schema definition in source code. The schema is dynamically constructed from voitta_router.get_tools() at runtime in the list_tools handler. This means the tool definitions cannot be statically verified, validated, or audited. Parameters extracted from Voitta are transformed in an ad-hoc manner with conditional logic (if 'type' in tool_parameters, elif 'properties' in tool_parameters, else...), which is fragile and error-prone. No input schema is documented or visible in the server definition itself.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 22 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 18 | - | v1 |
Tool description is vague and provides no actionable guidance. Current description: 'Tools are dynamically discovered from the Voitta router configuration and exposed through the list_tools handler. Tool names, descriptions, and parameters are extracted from the Voitta router's get_tools() method.' This describes the implementation mechanism, not what the tool does or when to use it. It does not explain what parameters are accepted, what the tool returns, or what it accomplishes. This description is 185 characters but fails to answer those core questions.
No parameter descriptions. The tool name and description do not explain what 'name' and 'arguments' parameters mean, what types they accept, what values are valid, or what happens if they are missing. LLMs cannot infer parameter meaning from names alone, a 'name' param could mean function name, tool name, resource name, etc. All parameters must have explicit, complete descriptions.
No documented output schema. The call_tool handler returns either text or JSON-stringified content, but the tool definition provides no guidance on what fields will be present, what their types are, or what structure to expect. LLMs cannot plan downstream operations without knowing the response structure.
Error handling is not LLM-actionable. The call_tool handler returns plain text errors like 'Error: Voitta router not initialized' or 'Error: Tool {name} not found'. These do not tell the LLM what to do next, whether the error is retryable, or how to recover. Available tools: [list]' or 'Router not initialized. Call initialize() first.' Current errors offer no guidance.
Tool infers tool definitions from external Voitta service at runtime rather than declaring them statically. Per HARD SCORING RULE, 'If you cannot see the actual tool definition in the source (only inferred): cap that tool's overall at 50.' The tool definitions are discovered dynamically from voitta_router.get_tools(), making them opaque to static analysis, audit, and validation. This prevents schema verification and makes the tool a black box proxy rather than a well-defined tool.
Tool name contains no verb and does not follow verb_noun pattern. 'Dynamic Voitta Tools' is a noun phrase describing the implementation, not an action. This violates core naming convention and makes it harder for LLMs to recognize the tool's purpose.