Skip to main content
Glama
zilliztech

Zilliz MCP Server

Official
by zilliztech

list_collections

Retrieve all collection names from a specified database in Zilliz Cloud or Milvus to manage and organize vector data collections for AI applications.

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
    endpoint: The cluster endpoint URL. Can be obtained by calling describe_cluster and using the connect_address field
    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: '[]'
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_idYes
region_idYes
endpointYes
db_nameNo
Behavior3/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. It describes the return format (JSON string with list of names) and edge case behavior (empty array when no collections found), which is helpful. However, it doesn't mention potential error conditions, authentication requirements, rate limits, or whether this is a read-only operation, leaving 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 well-structured with clear sections (Args, Returns, Example) and front-loads the core purpose. However, some sentences could be more concise (e.g., the endpoint explanation is somewhat wordy), and the example formatting could be cleaner.

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 4 parameters with no schema descriptions and no output schema, the description does a reasonable job explaining parameters and return values. However, for a tool with no annotations and multiple required parameters, it should provide more behavioral context about error handling, authentication, and operational characteristics to be fully complete.

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 fully compensates by providing detailed semantic information for all 4 parameters. It explains what each parameter represents, provides usage guidance for 'endpoint' and 'db_name', and clarifies which parameters are required versus optional. This adds substantial value 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: 'List all collection names in the specified database.' This is a specific verb+resource combination (list + collection names). However, it doesn't explicitly differentiate from sibling tools like 'describe_collection' or 'list_databases', which prevents a perfect score.

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 some implied usage context by mentioning the endpoint can be obtained from 'describe_cluster' and noting when db_name can be left empty. However, it doesn't explicitly state when to use this tool versus alternatives like 'list_databases' or 'describe_collection', nor does it provide clear exclusions or prerequisites.

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