Skip to main content
Glama

List collections

list_collections
Read-only

List all content collections in a project: each one's id, name, slug, hasPages, updatedAt, entry count, and its fields as name, type and list (true when the field holds an array). The built-in name and slug types hold the entry's own name and URL slug, never content. get_collection returns one collection's full field schema (labels, help text, reference targets and type-specific config).

Input Schema

NameRequiredDescriptionDefault
projectIdYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine value by disclosing the return payload (id, name, slug, hasPages, updatedAt, entry count, fields) and the non-obvious semantics of the built-in name/slug types.

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 return-shape detail is front-loaded and each sentence is informative: payload fields, then a caveat about built-in types, then the sibling pointer. Slightly dense with enumerated attributes but no wasted sentences.

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

Completeness5/5

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

There is no output schema, and the description compensates by describing the return fields and their meanings. For a one-parameter read-only list tool, an agent has everything needed to call it and interpret the result.

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?

There is a single required parameter with 100% schema description coverage, so the schema carries its meaning. The description adds nothing about projectId, which is acceptable only because coverage is complete.

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?

States a specific verb and resource with scope ('List all content collections in a project') and enumerates the returned attributes, which no sibling list tool duplicates. It is clearly separable from get_collection, which is named as the single-collection variant.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The closing sentence routes the agent to get_collection when the full field schema (labels, help text, reference targets, type config) is needed, implying this lightweight tool is for overview listing. No explicit exclusions, but the alternative and its selection condition are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources