Skip to main content
Glama

List components

list_components
Read-onlyIdempotent

Lists component names, optionally limited to one category, one line each with the name and the category slug. Use it to browse a category before choosing; use search_components instead when you already have a keyword. Returns names only, no source: fetch the code with get_component. Works without a key; without one, the components whose source is free are marked "free".

Input Schema

NameRequiredDescriptionDefault
categoryNoCategory slug from list_categories, e.g. 'heroes', 'cta', 'pricing', 'forms', 'footer'. Omit it to list every component (more than 600).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"Category slug to filter by (optional)."New value: +"Category slug from list_categories, e.g. 'heroes', 'cta', 'pricing', 'forms', 'footer'. Omit it to list every component (more than 600)."
  2. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"Kategorie-Slug zum Filtern (optional)."New value: +"Category slug to filter by (optional)."
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing the output format, that names are returned without source, that no API key is needed, and what changes when a key is absent ('free' marks). It does not address handling of the >600-item unfiltered listing (truncation or pagination), which is the only real behavioral gap.

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?

Four short sentences, front-loaded with what it returns and where to go next. Minor redundancy between 'lists component names' and 'one line each with the name and the category slug', but nothing is wasted.

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?

For a single-optional-parameter read tool with full annotation coverage and no output schema, the description supplies the return shape, the auth nuance, and the sibling routing. 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?

Schema coverage is 100% and the category parameter already documents slugs, examples and the omit-to-list-all behavior; the description only restates 'optionally limited to one category'. With the schema doing the heavy lifting, baseline 3 applies — no extra syntax or edge-case meaning is added.

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?

Specific verb + resource ('Lists component names'), plus the exact output shape ('one line each with the name and the category slug'). It explicitly distinguishes itself from search_components and get_component, so the agent can pick between siblings without opening a 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?

States the browse-first use case ('browse a category before choosing') and the exclusion with a named alternative ('use search_components instead when you already have a keyword'). It also hands off to get_component once a name is chosen, covering the full workflow.

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.