MCP Server for interacting with Elasticsearch and OpenSearch
Server has 15 tools with consistent verb-noun naming (list_, get_, create_, delete_, search_, index_, put_). All tools have descriptions (10-100 chars, mostly 50-80 chars). Input schemas are present with type declarations and parameter descriptions. However, descriptions are minimal (many under 100 chars) and lack context about when to use each tool, prerequisites, or recovery guidance. Output schemas are not documented. Error handling is not visible in the provided code. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. Parameter descriptions are terse. No pagination guidance for list_indices or search_documents despite potential for large result sets.
Create a new index.
Delete an alias for the specified index.
Deletes documents matching the provided query.
Removes a document from the index.
Delete an index.
Get aliases for the specified index.
Get cluster health information from OpenSearch.
Tool descriptions are minimal (50-60 chars) and lack context. Missing: when to use each tool, prerequisites, what the tool returns, and recovery guidance. E.g., 'List all indices' does not explain when an LLM should call this vs. get_index, or what structure is returned.
No output schemas documented. LLMs cannot plan downstream calls or extract required fields. E.g., search_documents returns results but structure is not specified, does it include hit count, aggregations, or just documents?
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. Risk metadata is provided in the evaluation but not exposed in tool definitions. LLMs cannot distinguish safe reads from destructive writes without annotations.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | <=2025-11-25 | v2 |
Get cluster statistics from OpenSearch.
Get a document by ID.
Returns information (mappings, settings, aliases) about one or more indices.
Creates a new document in the index.
Get all aliases.
List all indices.
Creates or updates an alias.
Search for documents in the index.
No pagination guidance for list_indices or search_documents. If an Elasticsearch cluster has thousands of indices or documents, results could blow the context window. Missing: limit, offset/cursor, and total count in response.
Parameter 'body' in create_index, search_documents, delete_by_query, and put_alias is typed as 'object' with generic description 'Optional index configuration' or 'Search query body'. LLMs cannot infer valid structure. Should document expected fields, required vs. optional, and provide examples or schema references.