Skip to main content
Glama

List search indexes

search_list_indexes
Read-onlyIdempotent

List the search indexes of this project. Use when choosing an index to search or fill. Before: nothing. Returns data: the indexes with name, language, fields and document count. Scope: search:query. Cost: priced at get_pricing; any price is reserved on the prepaid balance before the call. Refused for balance or a limit: follow next_action.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_list_indexes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, and the description adds substantially more: the exact returned fields (name, language, fields, document count), the required auth scope (search:query), the pricing/balance-reservation behavior with a pointer to get_pricing, and the refusal path pointing to next_action. That is real operational context an agent cannot get from the annotations or the empty schema.

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?

The whole definition is a handful of short labeled clauses (Before / Returns data / Scope / Cost / Refused) with the primary purpose front-loaded first. No sentence is filler — even the cost and error sentences carry actionable information.

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

Completeness5/5

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

For a zero-parameter read with no output schema, the description covers everything an agent needs: what comes back, what permission is exercised, what it costs and when the charge is reserved, and what to do on refusal. The only unaddressed minor detail is pagination or index volume, which is unlikely to matter for a project-scoped index list.

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

Parameters4/5

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

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. It correctly makes no attempt to describe inputs and instead spends its budget on output shape and cost behavior.

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?

The description names a specific verb and resource ('List the search indexes of this project') and scopes it to the current project, so the agent knows exactly what is returned. It never names a sibling such as search_get_index or search_create_index, so the distinction between listing and fetching/creating is left implicit rather than stated.

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?

'Use when choosing an index to search or fill' gives a concrete decision context, and 'Before: nothing' explicitly clears the prerequisite question. It stops short of exclusions (it doesn't say to prefer search_get_index when detailed settings for one index are needed), so it is strong context without full when-not guidance.

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.