Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

index_create

Create search indexes with custom field mappings, shard/replica settings, and aliases for organizing data in Easysearch MCP Server.

Instructions

    创建索引
    
    参数:
        index: 索引名称
        mappings: 字段映射定义
        settings: 索引设置(分片数、副本数等)
        aliases: 别名定义
    
    示例:
        index_create("products", 
            mappings={"properties": {"name": {"type": "text"}, "price": {"type": "float"}}},
            settings={"number_of_shards": 3, "number_of_replicas": 1}
        )
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
mappingsNo
settingsNo
aliasesNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states '创建索引' (create index) which implies a write/mutation operation, but doesn't disclose behavioral traits like required permissions, whether this is idempotent, what happens on conflict, rate limits, or what the response looks like. The example shows usage but doesn't explain outcomes.

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?

Well-structured with purpose statement, parameter list, and example. The Chinese text is efficient, though the example is detailed. Every section adds value, but the purpose statement is minimal ('创建索引') and could be more descriptive.

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

Completeness3/5

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

For a 4-parameter mutation tool with no annotations and no output schema, the description provides good parameter semantics but lacks behavioral context. It doesn't explain what the tool returns, error conditions, or side effects. Given the complexity (nested objects, write operation), it's incomplete but not entirely inadequate.

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

Parameters5/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 provides a Chinese parameter list ('参数:') with clear explanations for all 4 parameters: index name, field mappings, settings (shards, replicas), and aliases. The example further illustrates usage with concrete values, adding significant meaning beyond the bare schema.

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 clearly states the tool creates an index (specific verb+resource), though it's in Chinese ('创建索引' means 'create index'). It doesn't explicitly differentiate from sibling tools like 'index_create_with_write_alias' or 'index_clone', but the purpose is unambiguous. The description goes beyond a tautology by listing parameters and providing an example.

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?

No guidance on when to use this tool versus alternatives like 'index_create_with_write_alias' or 'index_clone' is provided. The description only lists parameters and an example, with no context about prerequisites, when this operation is appropriate, or what happens if the index already exists.

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/cloudsmithy/easysearch-mcp-server'

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