Skip to main content
Glama
cr7258

Elasticsearch MCP Server

put_alias

Create or update an Elasticsearch index alias to route queries without renaming indices. Define alias name, target index, and configuration in one operation.

Instructions

Create or update an alias for a specific index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesAlias configuration
nameYesName of the alias
indexYesName of the index
clusterNoOptional cluster name. Uses the default cluster if omitted.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.1.4
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / body / description
      Added value: +"Alias configuration"
    • addedInput schema / properties / cluster / description
      Added value: +"Optional cluster name. Uses the default cluster if omitted."
    • addedInput schema / properties / index / description
      Added value: +"Name of the index"
    • addedInput schema / properties / name / description
      Added value: +"Name of the alias"
  2. Addedv2.1.2
  3. Removedv2.1.1
  4. First observed

TDQS

C2.9/5.0
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. It doesn't mention whether this operation is idempotent, what permissions are required, whether it overwrites existing aliases, or any side effects. For a mutation tool with zero annotation coverage, this is a significant gap.

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?

Single sentence, front-loaded with the action and resource. Zero waste, appropriately sized.

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?

For a mutation tool with no annotations and an output schema that may cover returns, the description is incomplete. It lacks usage context, behavioral details like idempotency or side effects, and any prerequisites (e.g., index must exist). Given the complexity of a 4-parameter tool with a nested object, more context is needed.

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 all parameters are documented in the schema. The description adds no additional parameter meaning beyond what the schema provides. Baseline 3 is appropriate when schema does the heavy lifting.

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?

States a specific verb+resource: 'Create or update an alias' for 'a specific index'. This clearly distinguishes from list_aliases, get_alias, and delete_alias. However, it doesn't explicitly differentiate from other alias tools beyond the verb.

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?

No guidance on when to use this tool versus alternatives like list_aliases or get_alias. The description only states what it does, not when it should be invoked or what conditions apply.

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