Skip to main content
Glama

list_components

Lists all available PrimeReact components by category, with an optional category filter for quick lookup.

Instructions

List all available PrimeReact components with their categories

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_components"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryNoOptional category filter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.3

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about whether the catalog is static or live, whether results are paginated or truncated, or what fields each component entry contains. 'Read-only listing' is inferable from the verb but is never confirmed, and no permission or cost information is given.

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?

One short, front-loaded sentence with no filler. The only weakness is vagueness rather than verbosity: 'available' is undefined and no scoping detail is offered.

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

Completeness3/5

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

For a simple no-required-parameter list tool this is minimally adequate, and 'with their categories' hints at payload shape. However, with no output schema, the description should say more about what each listed item returns (name, category, identifier) so an agent knows whether it still needs get_component afterwards.

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?

The single parameter is fully documented in the schema ('Optional category filter'), so the baseline is 3. The description only echoes the notion of categories and adds no detail about accepted values, casing, or behavior when the filter matches nothing.

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 gives a specific verb and resource ('List all available PrimeReact components') and adds scope ('with their categories'), so an agent can tell it apart from singular lookups like get_component or filtered searches like find_components_with_feature. It stops short of naming a sibling or stating how it differs from search_components, which keeps it out of the 5 tier.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as search_components or the category-specific getters. The only usage signal is the implicit 'list everything' reading of the verb, leaving routing decisions to the agent.

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