Skip to main content
Glama
Nightingale (n9e) Built-in MCP Server

Nightingale (n9e) Built-in MCP Server

Official

list_log_indices

Read-only

Retrieve available indices from an Elasticsearch or OpenSearch datasource so you can identify and query log data using the required datasource ID.

Instructions

List indices for an Elasticsearch (default) or OpenSearch datasource. Body must include datasource_id.

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": {
      "body": "<body>"
    },
    "name": "list_log_indices"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesBody (must include datasource_id)
engineNo'es' (default) or 'os' for OpenSearch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this as a safe read, so the burden is lower. The description adds useful context that 'es' is the default engine and that datasource_id is mandatory, but says nothing about result volume, pagination, or behavior when the datasource has no indices.

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

Conciseness4/5

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

Two short sentences, with the action front-loaded and the hard requirement second. The datasource_id statement duplicates the schema, which is a small but real waste of words.

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 read-only listing tool with full schema coverage and annotations, the description supplies the essentials. The only mild gap is the nested `body` object — aside from datasource_id, it never says whether other body fields are accepted or meaningful.

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 both `body` and `engine` are already documented in the input schema. The description merely restates the same requirement ('Body must include datasource_id') and the engine default, adding no meaning beyond the structured fields.

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 and resource ('List indices') and names the datasource kinds it works against (Elasticsearch default, OpenSearch). This is distinguishable from siblings like list_datasources and list_log_fields, though the description never explicitly contrasts with them.

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

Usage Guidelines3/5

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

Usage is only implied: you call it when you need the indices of a given datasource. There is no explicit when-to-use versus list_log_fields or list_datasources, and no stated prerequisites beyond the required datasource_id.

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