Skip to main content
Glama

Search Api Server Create

search_api_server_create

Create a new Search API server in Drupal by defining its ID and label, plus optional backend and backend configuration, to index and query site content.

Instructions

Create a new Search API server.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
labelYes
backendNodatabase
backend_configNo

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 supplied, so the description carries the full behavioral burden, and it discloses almost nothing: not the required permissions, not whether the new server is enabled/disabled by default, and nothing about how backend and backend_config interact or what valid backends exist. The only assertion, 'Create,' is already implied by the name.

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?

One short sentence, front-loaded and free of padding, so there is no waste. But the brevity is under-specification rather than discipline for a four-parameter creation tool, leaving no substance behind the opening verb.

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?

For a mutation tool with zero annotation coverage, 0% parameter documentation, and a free-form backend_config object, the description is not complete enough to call it confidently. An output schema does exist, so return values need not be explained, but the input side is essentially undocumented.

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?

Four parameters with 0% schema description coverage, and the description adds no meaning for any of them — not id, label, backend (which defaults to 'database'), or the opaque free-form backend_config object. This is the clearest gap in the definition.

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 ('Create a new Search API server'), which is enough to separate it from search_api_server_list/get/enable/disable by action. It does not, however, distinguish a server from an index (search_api_index_create) or note any scope details an agent would need to pick the right create tool.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. An agent gets no signal about, for example, whether a backend must already exist or whether the server is enabled after creation.

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