Skip to main content
Glama

security_elasticsearch_check

Read-only

Elasticsearch / OpenSearch config audit — Offline security audit of elasticsearch.yml or opensearch.yml (flat or nested YAML): authentication off (xpack.security.enabled false, or unset on 7.x; plugins.security.disabled), HTTP and transport TLS, verification_mode none, anonymous roles, network.host / http.host bound to 0.0.0.0 or public IPs, CORS allow-origin * (with credentials), legacy Groovy dynamic scripting (RCE), wildcard deletes, reindex remote allowlist *, plaintext passwords in the file (never echoed), OpenSearch demo certificates and demo security index, audit logging, duplicates. Returns PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK, score, grade, product, exposure, findings with fixes and a hardened config. Params: text= or url=; optional version= (e.g. 7.17 or 8) for exact defaults. Price: $0.006 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "security_elasticsearch_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesnetwork.host: 0.0.0.0 xpack.security.enabled: false http.cors.enabled: true http.cors.allow-origin: "*"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered; the description adds genuinely new behavior — plaintext passwords are 'never echoed', the call costs $0.006 USDC via x402 on Base, and the response is a graded verdict rather than raw data. The pricing and secret-handling notes are exactly the kind of context annotations cannot express.

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

Conciseness3/5

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

Purpose and artifact are front-loaded, which is good, but the middle is a long comma-run of check items in a single dense paragraph. Most checks earn their place as scoping evidence, yet the wall-of-text format makes the operative facts (inputs, verdict levels, price) harder to locate than they should be.

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?

With no output schema, the description does the work of describing returns — PASS / REVIEW / FIX BEFORE DEPLOY / BLOCK plus score, grade, product, exposure, findings with fixes and a hardened config — and discloses the payment requirement. The main gap is the phantom url/version parameters, which leave the agent with an inaccurate picture of how to call it.

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

Parameters2/5

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

Schema coverage is 100% for the single 'text' parameter, so the baseline would be 3, but the description advertises 'url=' and 'version= (e.g. 7.17 or 8)' which do not exist in the input schema. An agent following the description would attempt calls that fail validation, and the useful semantics (that version pins default expectations) cannot actually be supplied.

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?

States a specific verb and resource — an offline security audit of elasticsearch.yml/opensearch.yml — and enumerates exactly which misconfigurations are inspected (auth disabled, TLS, CORS *, Groovy scripting, demo certs). Against siblings like security_nginx_check or security_redis_check, the target artifact is unambiguous.

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 word 'Offline' plus 'of elasticsearch.yml or opensearch.yml (flat or nested YAML)' makes the triggering context clear: you call this when you have a config file to inspect rather than a live cluster. It does not name a when-not condition or an alternative tool, so it stops short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources