Skip to main content
Glama
Zilliz MCP Server

Zilliz MCP Server

Official
by zilliztech

describe_collection

Retrieves detailed metadata for a specified collection in a Zilliz cluster, including fields, indexes, load state, and partition count, to inspect schema and configuration.

Instructions

Describe the details of a collection.

Args:
    cluster_id: ID of the cluster
    region_id: ID of the cloud region hosting the cluster
    collection_name: The name of the collection to describe
    db_name: The name of the database. Pass explicit dbName or leave empty when cluster is free or serverless
Returns:
    Dict containing detailed information about the specified collection
    Example:
    {
        "code": 0,
        "data": {
            "aliases": [],
            "autoId": false,
            "collectionID": 448707763883002000,
            "collectionName": "test_collection",
            "consistencyLevel": "Bounded",
            "description": "",
            "enableDynamicField": true,
            "fields": [
                {
                    "autoId": false,
                    "description": "",
                    "id": 100,
                    "name": "id",
                    "partitionKey": false,
                    "primaryKey": true,
                    "type": "Int64"
                },
                {
                    "autoId": false,
                    "description": "",
                    "id": 101,
                    "name": "vector",
                    "params": [
                        {
                            "key": "dim",
                            "value": "5"
                        }
                    ],
                    "partitionKey": false,
                    "primaryKey": false,
                    "type": "FloatVector"
                }
            ],
            "indexes": [
                {
                    "fieldName": "vector",
                    "indexName": "vector",
                    "metricType": "COSINE"
                }
            ],
            "load": "LoadStateLoaded",
            "partitionsNum": 1,
            "properties": []
        }
    }

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "cluster_id": "<cluster_id>",
      "region_id": "<region_id>",
      "collection_name": "<collection_name>"
    },
    "name": "describe_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
db_nameNo
region_idYes
cluster_idYes
collection_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.1
    • removedInput schema / properties / endpoint
      Removed value: -{
      -  "title": "Endpoint",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "cluster_id",
      -  "region_id",
      -  "endpoint",
      -  "collection_name"
      -]New value: +[
      +  "cluster_id",
      +  "region_id",
      +  "collection_name"
      +]
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the operation is read-only by implication and gives a concrete response example showing the returned structure (fields, indexes, load state), which is genuinely useful behavior context. It says nothing about permissions, authentication, or behavior when the collection does not exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence is front-loaded and the Args block is scannable, but the multi-dozen-line JSON response example dominates the text and is far larger than needed to convey the return shape. Structure is conventional docstring style rather than optimized for an agent reader.

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?

With no output schema, including a response example is a reasonable substitute and the parameter behavior is covered, so the definition is workable. It is still incomplete on tool selection (vs list_collections) and on error/not-found behavior, which matter for a lookup tool.

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?

Schema description coverage is 0%, so the description must compensate, and it largely does: all four parameters are explained in the Args block, including the non-obvious conditional for db_name on free/serverless clusters. Cluster/region/collection names are explained only by restating their titles, so meaning is added but not deeply.

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 opening sentence uses a specific verb and resource ("Describe the details of a collection"), which is clearly a read operation on a single collection object. It does not, however, contrast itself with siblings like list_collections or describe_cluster, so an agent must infer the single-vs-many distinction.

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 explicit statement of when to call this instead of list_collections or describe_cluster. The only guidance-like content is the db_name note ("Pass explicit dbName or leave empty when cluster is free or serverless"), which is parameter-level context rather than tool-selection guidance.

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