Skip to main content
Glama

search_generate_index

Generate search index configurations with field mappings, analyzers, and tokenizers. Specify index name, fields, and language to build a ready-to-use search index.

Instructions

Generate index configurations with field mappings, analyzers, and tokenizers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsYesFields to index (e.g. 'title:text', 'price:number', 'tags:keyword')
api_keyNoAPI key for authentication
languageNoPrimary language for text analysisenglish
index_nameYesName of the search index
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, but it is minimal. It does not state whether this tool performs a remote mutation (the api_key parameter suggests it may), whether it writes files, whether it is idempotent, what happens to existing index configurations, or what the tool returns. For an unannotated tool, this is a significant transparency gap.

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 description is a single efficient sentence with a front-loaded verb and no wasted words. Every phrase ('field mappings', 'analyzers', 'tokenizers') carries meaningful content, making it appropriate in size.

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?

The tool has no output schema and no annotations, so the description must explain what is produced, whether anything is mutated, and how it relates to overlapping siblings. A single sentence covering neither the return value nor the side effects leaves an agent under-informed for a 4-parameter tool that takes an api_key.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description's mention of analyzers indirectly hints that the 'language' parameter controls text analysis, adding marginal semantic value, but it does not clarify individual parameters beyond what the schema already provides, such as the field format examples in 'fields'.

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 ('Generate') and resource ('index configurations') and adds concrete output components: field mappings, analyzers, and tokenizers. This is specific enough to be distinguished from most of the sibling tools like search_setup_engine or searchidx_optimize, though it does not explicitly differentiate from similar generation tools such as vectordb_generate_index.

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 tool versus alternatives. The massive sibling list includes overlapping candidates (searchidx_setup, searchidx_add_autocomplete, search_setup_engine, vectordb_generate_index), but the description provides no conditions, exclusions, or mention of any alternative tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/barnburner121/claude-plugin-marketplace'

If you have feedback or need assistance with the MCP directory API, please join our Discord server