Skip to main content
Glama

Search Api Index Reindex

search_api_index_reindex

Trigger reindexing of a Drupal Search API index by ID, processing items in batches to refresh search content.

Instructions

Trigger reindexing of a Search API index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
index_idYes
batch_sizeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Trigger reindexing' implies a mutation, but it says nothing about permissions required, whether the operation is synchronous or asynchronous, its impact on existing index data, or rate/pagination behavior tied to batch_size.

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?

A single front-loaded sentence with no wasted words. It is appropriately compact, though the extreme terseness means there is little structure beyond the bare purpose statement.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. But for a mutation tool with no annotations, two undocumented parameters, and no sibling differentiation, the description is incomplete regarding safety, timing, and parameter meaning.

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 description coverage is 0%, so the description must compensate. It hints at the target index but never explains index_id format or what batch_size controls, leaving both parameters semantically undocumented.

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 (reindex) and resource (Search API index), which is clear enough to distinguish from siblings like search_api_index_clear. However, it does not explicitly differentiate itself from the other search_api_index_* operations, so an agent must infer the boundary.

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

Usage Guidelines2/5

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

Contains no when-to-use guidance, no alternatives (e.g., search_api_index_clear vs. reindex), no prerequisites, and no indication of when reindexing is appropriate or costly. Usage must be inferred entirely from the name.

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

Deploy Server

Other Tools