Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

doc_bulk_simple

Perform bulk indexing operations to add multiple documents to an Elasticsearch/OpenSearch-compatible database using simplified parameters for efficient data insertion.

Instructions

    简化的批量写入(仅支持 index 操作)
    
    参数:
        index: 索引名称
        documents: 文档列表
        refresh: 刷新策略
    
    示例:
        doc_bulk_simple("products", [
            {"name": "A", "price": 100},
            {"name": "B", "price": 200}
        ])
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
documentsYes
refreshNo
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions this is a '写入' (write) operation and '仅支持 index 操作' (only supports index operations), but doesn't describe what 'index 操作' means, whether this is idempotent, what permissions are required, error handling, or response format. For a write operation with zero annotation coverage, this leaves significant behavioral gaps.

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?

The description is efficiently structured with purpose statement, parameter list, and example. Each section earns its place, though the formatting with extra whitespace could be cleaner. The information is front-loaded with the core purpose statement first.

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 write operation with 3 parameters, 0% schema coverage, no annotations, and no output schema, the description provides adequate basics (purpose, parameters, example) but lacks important context about what 'index 操作' means, error conditions, response format, and how this differs from the 'doc_bulk' sibling tool. The example helps but doesn't fully compensate for missing behavioral details.

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

Parameters4/5

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

With 0% schema description coverage, the description compensates well by listing all three parameters (index, documents, refresh) and providing a clear example showing how documents should be structured. The example demonstrates the array format for documents and suggests refresh is optional (not shown in example). This adds substantial 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 performs '简化的批量写入' (simplified bulk writing) with '仅支持 index 操作' (only supports index operations). This specifies both the verb ('批量写入' - bulk writing) and resource ('文档' - documents), though it doesn't explicitly distinguish from sibling tools like 'doc_bulk' which appears to be a more comprehensive bulk operation tool.

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

Usage Guidelines3/5

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

The description implies usage context through '简化的' (simplified) and '仅支持 index 操作' (only supports index operations), suggesting this is a limited version of bulk operations. However, it doesn't explicitly state when to use this versus the 'doc_bulk' sibling tool or other document operations, nor does it mention prerequisites or exclusions.

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