MCP server that provides tools for querying OpenSearch indexes, executing Python code, performing web searches, and retrieving timezone information
Server has 6 tools with basic schemas and descriptions, but significant quality gaps. Tool naming is mostly verb-noun compliant (list_, get_, execute_), but descriptions are minimal (10-50 chars, well below the 194-char baseline). Parameters lack descriptions entirely in most tools. The execute_python_code tool is a critical security risk with no input validation or error guidance. Output schemas are not documented. Error handling returns raw exception strings instead of actionable recovery guidance. No pagination support despite tools that could return large result sets.
Performs a web search using DuckDuckGo and returns up to 5 results
Executes arbitrary Python code and returns the local variables
Executes a query against an OpenSearch index
Returns the current local time in a specified timezone
Fetches the mapping and sample data for a given OpenSearch index
Lists OpenSearch indexes matching a given index pattern
execute_python_code allows arbitrary code execution with no input validation, sandboxing, or permission checks. This is a critical security vulnerability. The tool accepts any Python code string and executes it directly via exec().
Parameter descriptions are missing or minimal across all tools. The 'query' parameter in execute_query is described only as 'OpenSearch query DSL as a dictionary' with no guidance on format, constraints, or examples. LLMs cannot infer valid query structure.
Error responses return raw exception strings (e.g., 'Error: Unable to list indexes - {str(e)}') instead of actionable recovery guidance. LLMs cannot determine if errors are retryable, user-fixable, or fatal.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | <=2025-11-25 | v2 |
Output schemas are not documented. Tools return raw JSON or dict objects without specifying field names, types, or structure. LLMs cannot plan downstream tool calls or extract required data reliably.
No pagination support. execute_query and get_index_mapping could return large result sets that blow the context window. No limit, offset, or cursor parameters documented.