Skip to main content
Glama
zilliztech

Zilliz MCP Server

Official
by zilliztech

insert_entities

Adds data objects to a Milvus vector database collection, matching schema fields for storage and retrieval.

Instructions

Insert data into a specific collection.

Args:
    cluster_id: ID of the cluster
    region_id: ID of the cloud region hosting the cluster
    endpoint: The cluster endpoint URL. Can be obtained by calling describe_cluster and using the connect_address field
    collection_name: The name of an existing collection
    data: An entity object or an array of entity objects. Note that the keys in an entity object should match the collection schema
    db_name: The name of the target database. Pass explicit dbName or leave empty when cluster is free or serverless
Returns:
    Dict containing the response with insert count and insert IDs
    Example:
    {
        "code": 0,
        "data": {
            "insertCount": 10,
            "insertIds": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
        }
    }
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_idYes
region_idYes
endpointYes
collection_nameYes
dataYes
db_nameNo
Behavior2/5

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

With no annotations provided, the description carries full burden. It mentions that data keys should match collection schema, which is useful behavioral context. However, it doesn't disclose critical traits like whether this is a write operation (implied but not stated), authentication requirements, error handling, rate limits, or what happens on duplicate keys. For a mutation tool with zero annotation coverage, this leaves significant 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 appropriately sized and well-structured with clear sections for Args and Returns. Every sentence adds value, though the example in Returns could be more concise. It's front-loaded with the core purpose, then details parameters and response.

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 6-parameter mutation tool with no annotations and no output schema, the description provides good parameter documentation and a response example. However, it lacks information about behavioral traits (permissions, side effects, error cases) and doesn't fully explain the relationship with sibling tools. The response example helps but doesn't replace a proper output schema.

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?

With 0% schema description coverage, the description provides excellent parameter semantics beyond the schema. It explains each parameter's purpose: cluster_id and region_id identify infrastructure, endpoint can be obtained from describe_cluster, collection_name must be existing, data format requirements, and db_name usage conditions. This fully compensates for the schema coverage gap.

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 inserts data into a specific collection, providing a specific verb (insert) and resource (collection). It distinguishes from siblings like delete_entities (deletion) and create_collection (creation), though it doesn't explicitly contrast with query/search tools that might also interact with collections.

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 by mentioning prerequisites like existing collections and obtaining endpoint from describe_cluster, but doesn't explicitly state when to use this vs alternatives like create_collection (for new collections) or query (for reading). It provides some context but lacks 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/zilliztech/zilliz-mcp-server'

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