Skip to main content
Glama
zwczwczwc

Chroma MCP Server

by zwczwczwc

chroma_list_collections

Retrieve paginated list of collection names from Chroma. Use limit and offset to control results; returns empty indicator if none.

Instructions

List all collection names in the Chroma database with pagination support.

Args:
    limit: Optional maximum number of collections to return
    offset: Optional number of collections to skip before returning results

Returns:
    List of collection names or ["__NO_COLLECTIONS_FOUND__"] if database is empty

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
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 discloses the return format (list of names or a sentinel value) and mentions pagination. However, it does not clarify behavior when limit/offset exceed bounds (e.g., does it return an error or empty list?). The phrase 'list all' conflicts with pagination, causing slight ambiguity.

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

Conciseness5/5

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

The description is concise: a single-line purpose, followed by Args and Returns sections. Every sentence adds value, and the structure is clean and easy to parse. No unnecessary words.

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?

Given no annotations, no output schema, and 2 optional parameters, the description reasonably covers purpose and return format. However, it lacks details on pagination defaults (e.g., default limit when omitted) and error handling for invalid parameters. The slight inconsistency 'list all' vs pagination reduces completeness.

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 coverage is 0% (parameters lack descriptions), so the description must compensate. It explains 'limit: Optional maximum number of collections to return' and 'offset: Optional number of collections to skip before returning results.' This adds meaningful semantics beyond the raw schema, clarifying defaults (None) and optionality.

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 description clearly states 'List all collection names in the Chroma database with pagination support.' This specific verb ('list') and resource ('collection names') distinguishes it from siblings like chroma_get_collection_info (which retrieves details of a single collection) and chroma_create_collection.

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 does not explicitly guide when to use this tool vs alternatives. It implies usage for listing collection names, but lacks cues like 'use this to get an overview of collections; for details on a specific collection, use chroma_get_collection_info.' The pagination support is mentioned but no guidance on setting limit/offset.

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/zwczwczwc/chroma-mcp-ollama'

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