Skip to main content
Glama

Elasticsearch MCP Server

Apache 2.0
192
  • Apple

delete_by_query

Remove documents from an Elasticsearch index by specifying a query. Specify the index and query conditions to precisely target and delete matching records.

Instructions

Deletes documents matching the provided query. Args: index: Name of the index body: Query to match documents for deletion

Input Schema

NameRequiredDescriptionDefault
bodyYes
indexYes

Input Schema (JSON Schema)

{ "properties": { "body": { "additionalProperties": true, "title": "Body", "type": "object" }, "index": { "title": "Index", "type": "string" } }, "required": [ "index", "body" ], "type": "object" }

Other Tools from Elasticsearch MCP Server

Related Tools

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/cr7258/elasticsearch-mcp-server'

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