Skip to main content
Glama
cloudsmithy

Easysearch MCP Server

by cloudsmithy

doc_mget

Retrieve multiple documents from Easysearch indexes in a single request using document IDs or index specifications to optimize data fetching.

Instructions

    批量获取文档
    
    参数:
        docs: 文档列表 [{"_index": "idx", "_id": "1"}, ...]
        index: 默认索引(与 ids 配合使用)
        ids: ID 列表(与 index 配合使用)
        source: 返回的字段列表
    
    示例:
        doc_mget(docs=[
            {"_index": "products", "_id": "1"},
            {"_index": "products", "_id": "2"}
        ])
        
        doc_mget(index="products", ids=["1", "2", "3"])
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docsNo
indexNo
idsNo
sourceNo
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. While it describes what the tool does (batch retrieval) and shows parameter usage, it doesn't disclose important behavioral traits like whether this is a read-only operation (implied but not stated), error handling for missing documents, response format, or performance considerations. The description provides basic functionality but lacks behavioral context needed for a tool with zero annotation coverage.

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 well-structured with clear sections for purpose, parameters, and examples. It's appropriately sized for a 4-parameter tool, with every sentence serving a purpose. The Chinese text is efficient, though the formatting could be slightly cleaner. It's front-loaded with the main purpose statement.

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?

Given the tool's complexity (batch operation with multiple parameter approaches), no annotations, and no output schema, the description provides adequate basic information but has significant gaps. It explains parameters well but doesn't describe the return format, error conditions, or performance characteristics. For a batch retrieval tool in what appears to be an Elasticsearch context, more context about response structure would be helpful.

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 explaining all 4 parameters in Chinese, clarifying their purposes and relationships (noting that index works with ids, and docs is an alternative approach). It provides concrete examples showing how parameters interact. While it doesn't specify data types or constraints, it 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's purpose as '批量获取文档' (batch get documents), which is a specific verb+resource combination. It distinguishes itself from sibling tools like doc_get (single document retrieval) and doc_bulk (batch indexing), though it doesn't explicitly mention these distinctions. The purpose is clear but lacks explicit sibling differentiation.

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 provides implied usage guidance through the parameter explanations and examples, showing two different ways to use the tool (with docs array or with index+ids combination). However, it doesn't explicitly state when to use this tool versus alternatives like doc_get for single documents or msearch for more complex queries. The examples help but don't provide explicit when/when-not guidance.

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