Skip to main content
Glama

get_category

Retrieve all Basecoat CSS components in a specified category, such as forms, navigation, or feedback, to quickly find relevant UI building blocks for an interface.

Instructions

Get all components in a specific category

Input Schema

NameRequiredDescriptionDefault
categoryYesCategory name (combine, feedback, forms, interactive, layout, navigation)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.1
    • changedInput schema / properties / category / description
      Previous value: -"Category name (forms, navigation, feedback, interactive, layout)"New value: +"Category name (combine, feedback, forms, interactive, layout, navigation)"
  2. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. "Get" clearly implies a read-only retrieval and the description says it returns all components in the category, but it does not disclose error behavior, case sensitivity, exact category matching, or authorization requirements.

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 words. It states the action and scope immediately.

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 one-parameter read tool with a fully documented schema and no output schema, the description is mostly complete. It could mention return shape or matching behavior, but the core retrieval scope is clear.

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 itself documents the accepted category names. The description adds no parameter semantics beyond what the schema already provides, so baseline 3 is appropriate.

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: "Get all components" scoped to "a specific category." This clearly distinguishes category-based retrieval from single-component retrieval, though it does not explicitly name or contrast with siblings like list_components or search_components.

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

Usage Guidelines3/5

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

The category scoping implies when this tool is useful, but the description gives no explicit when/when-not guidance or alternatives. It does not say whether to use this instead of list_components or search_components when browsing by category.

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