Skip to main content
Glama
mrityunjay-tiwari

ui-registry-mcp

Search components across libraries

search_components

Search UI component libraries with natural-language queries to find matching components. Returns a ranked list of metadata, then fetch code via get_component.

Instructions

Search all configured component libraries (or one) for components matching a natural-language query, e.g. 'pricing table', 'date picker', 'sidebar'. Synonym-aware: 'modal' also finds 'dialog', 'dropdown' finds 'select', etc. Returns a ranked, lightweight list (registry, name, type, title, description) — NOT the source. Pick the best match, then call get_component to fetch its real code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOptional type filter: 'ui' (single component), 'block' (composed section), 'component', 'hook'
limitNoMax results (default 20)
queryYesWhat you need, e.g. 'pricing table' or 'avatar group'
registryNoOptional registry id to restrict the search (see list_registries)
Behavior5/5

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

With no annotations, the description carries full burden. It discloses synonym-aware behavior (modal/dialog, dropdown/select), the return format (registry, name, type, title, description), and clearly states it does NOT return source code. This is comprehensive and leaves no surprises.

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 concise (four sentences), front-loads the core purpose, and efficiently uses examples and hints. Every sentence adds value without redundancy.

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?

Given the tool has 4 parameters, full schema coverage, no output schema, the description explains the return format (lightweight list with fields) and ranking. It is complete enough for an agent to use the tool effectively without additional information.

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?

Schema coverage is 100%, so baseline is 3. The description adds value by explaining the natural-language nature of the query, giving synonym examples, and clarifying optional filters with concrete values (ui, block, component, hook). It enhances understanding beyond schema alone.

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?

The description clearly states the action: search across component libraries for components matching a natural-language query. It provides examples ('pricing table', 'date picker') and explicitly distinguishes from sibling tool get_component by stating it returns a lightweight list, not the source. This leaves no ambiguity about what the tool does.

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 description advises to 'Pick the best match, then call get_component to fetch its real code,' which provides a clear usage pattern. However, it does not explicitly state when not to use this tool or specify alternatives beyond get_component, so a slight deduction from a perfect score.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrityunjay-tiwari/ui-registry-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server