Skip to main content
Glama

catalog_list_previews

Read-only

List the Compose previews and published metadata of one hosted catalog. 'catalog' is required (ids from catalog_list_projects). Pass 'query' (a component name such as EdgeButton) to narrow by id or label; results are paged (100 by default, 'offset'/'limit' for more). This server holds published library catalogs only: previews of the project you are editing come from the local compose-preview-mcp server, not from here.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "catalog": "<catalog>"
    },
    "name": "catalog_list_previews"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoCase-insensitive substring of a preview id or label, such as a component name.
tokenNoA grant token from poll_access, when you cannot set the X-Compose-Preview-Token header yourself — an MCP client fixes its headers at connect time, so this is how a token approved during this session is used in it. Prefer the header where you control it.
offsetNo
catalogYesA catalog id from catalog_list_projects.

Output Schema

NameRequiredDescriptionDefault
catalogsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties
      Added value: +{
      +  "catalogs": {
      +    "items": {
      +      "properties": {
      +        "catalog": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "nextOffset": {
      +          "type": "integer"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "offset": {
      +          "type": "integer"
      +        },
      +        "previews": {
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "query": {
      +          "type": "string"
      +        },
      +        "total": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "type": "array"
      +  }
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "maximum": 500,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Case-insensitive substring of a preview id or label, such as a component name.",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds genuine context beyond that with the default page size of 100 and the fact that the server holds only published library catalogs. It stops short of describing ordering of results or what 'published metadata' fields look like, but the output schema carries the return shape.

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?

Front-loaded with the purpose, then prerequisites, narrowing, paging, and finally the scope exclusion — every sentence contributes new information. No restating of the tool name or filler.

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?

With an output schema present, the description needn't explain return values, and it covers everything else an agent needs: the required id source, filtering, paging defaults, and the critical boundary against the local preview server. Nothing material to correct invocation is missing.

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?

At 60% schema coverage the description fills the main gap by giving the default page size (100) and the role of offset/limit for pagination, which the schema does not state as defaults. It also reinforces catalog provenance and gives a concrete query example (EdgeButton); the 'token' parameter is left entirely to the schema, which describes it at length.

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 — 'List the Compose previews and published metadata of one hosted catalog' — with an explicit scope limitation to hosted/published catalogs. The final sentence separates it from the local compose-preview-mcp server, so an agent can route without opening any schema.

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

Usage Guidelines5/5

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

Gives the prerequisite for the required 'catalog' argument (ids from catalog_list_projects), explains when to use 'query' to narrow, and describes paging with 'offset'/'limit'. It also states an explicit when-not: previews of the project being edited come from the local compose-preview-mcp server, not this one.

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.