Skip to main content
Glama
schwarztim

Elastic MCP Server

by schwarztim

delete_index

Permanently delete an Elasticsearch index and all its data. Use this tool to remove outdated or unnecessary indices from your cluster after confirming deletion.

Instructions

Delete an index. WARNING: This permanently deletes all data in the index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYesIndex name to delete
confirmYesMust be true to confirm deletion
Behavior5/5

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

With no annotations provided, the description carries full burden and excels by disclosing critical behavioral traits: it's a destructive operation ('permanently deletes all data in the index'), which is essential for safe tool selection. This goes beyond what the input schema provides.

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?

Two sentences with zero waste: the first states the action, the second provides crucial warning. It's appropriately sized and front-loaded with the most important information.

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

Completeness4/5

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

For a destructive tool with no annotations and no output schema, the description is strong but could mention prerequisites (e.g., permissions) or response format. However, it covers the core behavioral risk adequately given the context.

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 input schema already documents both parameters ('index' and 'confirm') well. The description doesn't add any parameter-specific details beyond the schema, meeting the baseline for high coverage.

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

Purpose5/5

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

The description clearly states the specific action ('Delete') and resource ('an index'), distinguishing it from siblings like 'get_index' or 'create_index'. It's not a tautology and provides explicit purpose.

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

Usage Guidelines4/5

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

The description includes a WARNING that indicates when to be cautious (permanent deletion), but doesn't explicitly state when to use this vs. alternatives like 'delete_role' or 'delete_user'. It provides clear context but lacks sibling differentiation.

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