Skip to main content
Glama

co_list_collections

Read-onlyIdempotent

Lists collections in the current document: albums, projects, groups, smart albums, catalog folders, and session favorites. Optionally count variants per collection.

Instructions

List the collections in the current document: albums, projects, groups, smart albums, catalog folders and session favorites.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_countsNoAlso count variants per collection. Off by default because it forces every collection (including smart albums) to resolve its contents, which is slow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the useful scoping detail 'in the current document' and enumerates collection types, but it does not disclose behavior like ordering, return shape, or whether hidden/empty collections are included.

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?

A single sentence that front-loads the core action and scoping, followed by a useful list of collection types. There is no redundant or filler content.

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, safe read-only listing operation with fully documented parameters, the description covers the essential scope. There is no output schema, so a brief mention of what each returned collection entry contains could improve it, but the verb 'List' sufficiently implies a collection list.

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%, and the sole parameter include_counts has a thorough schema description including its performance tradeoff. The tool description itself does not need to repeat parameter details, so the baseline 3 applies.

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 uses a specific verb ('List') and a clear resource ('collections in the current document'), and enumerates the collection types (albums, projects, groups, smart albums, catalog folders, session favorites). It is immediately distinguishable from sibling tools like co_list_variants or co_list_documents.

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 guidance on when to use this tool versus alternatives such as co_list_documents, co_set_current_collection, or co_list_variants. It only states what it does, leaving the agent to infer the appropriate context from sibling names.

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