MCP server providing access to DeepMyst optimization and routing capabilities. Supports both STDIO transport (for Claude Desktop) and SSE transport (for HTTP clients). API keys are provided by clients during tool calls.
The server provides 2 tools with reasonable naming (verb_noun convention), but descriptions lack optimization for LLM selection. Parameter schemas are present and typed, but descriptions are sparse and several parameters lack clear guidance on constraints. Output schemas are not explicitly documented. Error handling exists but is minimal. The tools follow basic structure but fall short of production-grade quality standards.
Determine the best LLM model for a specific query using DeepMyst's router.
Generate an LLM response using DeepMyst's token optimization given a specific model name. Use this to talk to other LLMs and agents.
Output schemas not documented. Neither tool explicitly defines what fields and types the LLM should expect in the response. For get_best_model_for_query, the description mentions 'JSON object with the recommended model and details' but does not specify the structure. For optimized_completion, there is no output documentation at all.
Parameter constraints and formats not specified in descriptions. Temperature is stated as '0-1' but no format constraint (float vs int). max_tokens defaults to 1000 but no documented bounds (min/max). Model parameter lists gpt-4o-mini as default but does not enumerate valid model names or explain the '-optimize' flag behavior.
Descriptions lack LLM-selection context. Neither description explains when the LLM should choose this tool over alternatives, what problems it solves, or what the typical use case is. The 'optimized_completion' description mentions 'token optimization' but does not explain what that means or why an LLM would prefer it.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 56 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 25 | - | v1 |
API key exposed as required tool parameter. Both tools accept api_key as a parameter. This is a security anti-pattern, credentials in tool parameters are logged in traces, agent histories, and prompt logs. Secrets should be injected server-side via environment variables or a secure vault.
Error handling lacks recovery guidance. When api_key is missing, get_best_model_for_query returns {'error': 'No DeepMyst API key provided...'} as a string, not actionable JSON. Errors do not tell the LLM what to do next (e.g., 'Ask the user for their API key' or 'Check if DEEPMYST_API_KEY env var is set'). No categorization of errors as retryable vs fatal.