Skip to main content
Glama
Zilliz MCP Server

Zilliz MCP Server

Official
by zilliztech

list_collections

Retrieve all collection names from a specified database, cluster, and region to inspect available collections before querying or managing vector data.

Instructions

List all collection names in the specified database.

Args:
    cluster_id: ID of the cluster
    region_id: ID of the cloud region hosting the cluster
    db_name: The name of an existing database. Pass explicit dbName or leave empty when cluster is free or serverless
Returns:
    JSON string containing list of collection names
    Example:
    '["quick_setup_new", "customized_setup_1", "customized_setup_2"]'
    If no collections found, returns: '[]'

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>"
    },
    "name": "list_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
db_nameNo
region_idYes
cluster_idYes

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"
      -]New value: +[
      +  "cluster_id",
      +  "region_id"
      +]
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the return format as a JSON string containing names and explicitly covers the empty-result case, which is helpful, but it does not state permissions/auth requirements, pagination behavior, or explicitly confirm the operation is read-only beyond the word 'List'.

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 purpose is front-loaded, followed by structured Args and Returns sections with a concrete output example. The example earns its place by showing both normal and empty results, though the formatting is slightly verbose for such a simple tool.

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

Completeness4/5

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

For a simple three-parameter listing tool with no output schema and no annotations, this is largely complete: all parameters are explained and the return shape, including the empty case, is shown. The main gaps are auth/permission requirements and pagination, which are not addressed.

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 documents all three parameters. It adds meaningful semantics for db_name, including the explicit-name requirement and the free/serverless exception, though cluster_id and region_id are described only as IDs without format details.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource — 'List all collection names' — and scopes it to 'the specified database'. This distinguishes it from siblings such as list_databases and list_clusters by resource type.

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 definition gives useful parameter-level guidance, notably to pass explicit dbName or leave empty for free/serverless clusters, but it does not explain when to use this tool versus alternatives like describe_collection or list_databases. Usage is therefore implied rather than explicit.

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