Skip to main content
Glama
schwarztim

Elastic MCP Server

by schwarztim

create_index

Create a new Elasticsearch index with custom settings, field mappings, and aliases to organize and structure data for efficient search and analysis operations.

Instructions

Create a new index with optional settings, mappings, and aliases.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesIndex name
settingsNoIndex settings
mappingsNoField mappings
aliasesNoIndex aliases
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. While 'create' implies a write operation, the description doesn't address critical aspects like permissions required, whether the operation is idempotent, what happens if the index already exists, or any rate limits. This leaves significant gaps for an agent to understand the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose and lists optional components without unnecessary elaboration. Every word contributes directly to understanding the tool's function, making it highly concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of creating an index (a write operation with multiple parameters) and the absence of both annotations and an output schema, the description is inadequate. It fails to explain what the tool returns, error conditions, or behavioral nuances, leaving the agent with incomplete information for reliable invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds minimal value by mentioning that settings, mappings, and aliases are optional, but this is already implied by the schema's lack of 'required' designation for those fields. No additional semantic context is provided beyond what the schema offers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('create') and resource ('new index'), making the purpose immediately understandable. It also mentions optional components (settings, mappings, aliases) which adds specificity. However, it doesn't explicitly differentiate from sibling tools like 'list_indices' or 'get_index', which would be needed for a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, when to choose this over other index-related tools, or any context for its application. The agent must infer usage from the purpose alone, which is insufficient for effective tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/schwarztim/elastic-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server