Skip to main content
Glama

Read a search index

search_get_index
Read-onlyIdempotent

Read an index: schema and document count. Use when checking which fields can be searched, filtered, sorted or faceted. Before: an index name from search_list_indexes. Returns the index and its fields. 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": "products"
    },
    "name": "search_get_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesIndex name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/closed-world annotations, it discloses the required scope (search:query), the cost model (priced at get_pricing), the fact that a price is reserved on the prepaid balance before the call, and the refusal/next_action recovery path. These are operational traits the agent could not infer from annotations or 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?

Front-loaded with the verb and result, then segmented by labeled clauses (Before, Scope, Cost, refusal handling). Every sentence carries distinct information; there is no restatement of the title or padding.

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?

Even without an output schema, the description summarizes the return (index plus fields, document count), and it covers auth scope, pricing/prepaid reservation, and the failure path. For a single-parameter read tool this leaves no meaningful gap before invocation.

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?

With one parameter at 100% schema coverage the schema already does the heavy lifting (pattern, example, description). The description still adds provenance value by telling the agent to obtain that name from search_list_indexes, which shapes the call sequence rather than just the value format.

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 ("Read an index") plus what it yields ("schema and document count") and what the result contains ("the index and its fields"). That is enough for an agent to separate it from search_list_indexes, search_query, or search_get_document without opening any schema.

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?

Names the triggering situation explicitly ("checking which fields can be searched, filtered, sorted or faceted") and gives an ordering prerequisite ("Before: an index name from search_list_indexes"). It stops short of naming the alternative to use when you want actual documents or query results, so the routing guidance is clear but not exhaustive.

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.