Skip to main content
Glama

List Collections

vector_list_collections
Read-onlyIdempotent

Lists all vector database collections belonging to the caller's identity, enabling quick discovery and management of available data stores.

Instructions

Lists the collections of the caller's identity in the vector database.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vector_list_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
db_typeNodb type

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv3.3.8
    • removedInput schema / properties / collection_name
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "collection name"
      -}
    • removedInput schema / properties / confirm
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "confirm"
      -}
    • removedInput schema / properties / document_contents
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "document contents"
      -}
    • removedInput schema / properties / document_paths
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "relative paths beneath the configured document root"
      -}
    • removedInput schema / properties / include_configured_directory
      Removed value: -{
      -  "default": false,
      -  "description": "ingest the administrator-configured document root",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / overwrite
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "boolean"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "overwrite"
      -}
  2. Addedv3.3.0

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is clear. The description adds useful scope by saying results are limited to the caller's identity, but it does not discuss pagination, ordering, or how db_type affects behavior. With annotations carrying most behavioral disclosure, a 3 is appropriate.

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 a single front-loaded sentence with no wasted wording. It immediately states the action, resource, and scope. There is no unnecessary repetition or buried information.

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?

This is a simple read-only list tool with rich annotations and an output schema, so the description does not need to explain return values. It adequately covers the core behavior and caller scoping. The main remaining gap is that db_type is not explained, but that is a minor omission for a one-parameter optional field.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3 even though the description does not mention db_type. The schema's own description for db_type is only "db type," which is not very informative, and the tool description does not compensate by explaining accepted values or default behavior. The parameter remains usable but semantically thin.

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 states a specific verb and resource: it lists collections in the vector database. It also scopes results to the caller's identity, which helps distinguish it from collection-mutating siblings such as vector_create_collection and vector_delete_collection. It does not explicitly name those siblings, so it falls short of a 5.

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?

The description gives no explicit guidance on when to use this tool versus alternatives such as vector_search or vector_semantic_search. It implies a discovery use case by saying it lists collections, but it does not state prerequisites, exclusions, or when another sibling should be preferred.

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