Skip to main content
Glama

Search Api Index Create

search_api_index_create

Create a new Search API index in Drupal by specifying its ID, label, server, and datasource. Use this to define searchable content indexes for site search.

Instructions

Create a new Search API index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
labelYes
server_idYes
datasourceYes
processorsNo
datasource_settingsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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, and it discloses nothing beyond the tautological verb. It does not say whether the index id must be unique, whether the referenced server must already exist, what permissions are required, or whether the index must subsequently be reindexed before use.

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?

The single sentence is front-loaded and free of waste, which is structurally sound. However, it is terse to the point of under-specification rather than genuinely concise, since it omits information the agent needs.

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 described. But for a 6-parameter mutation tool with zero annotation coverage and 0% parameter documentation, the description is far too thin to let an agent invoke it correctly.

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

Parameters1/5

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

Schema description coverage is 0% across 6 parameters (4 required: id, label, server_id, datasource), and the description mentions none of them. It provides no format, constraint, or relationship hints, so it does not compensate for the complete absence of schema documentation.

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 states a specific verb and resource ('Create a new Search API index'), so an agent immediately knows this is a create operation on a Search API index. It does not differentiate from siblings like search_api_index_update or search_api_index_reindex, but the verb+resource pairing 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 Guidelines2/5

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

There is no guidance on when to use this versus alternatives, and no mention of prerequisites such as the server_id needing to reference an existing server or the datasource needing to be available. The only implied usage comes from the word 'create', which the tool name already conveys.

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