Skip to main content
Glama
Davont
by Davont

component_search

Search the my-design React component library by name, alias, keyword, or category to find suitable UI components for your design needs.

Instructions

搜索 my-design 组件库的组件。支持按组件名、别名、关键词、分类进行模糊搜索。适用于:1) 不确定组件名称时进行探索;2) 根据需求找到合适的组件;3) 查找相关组件。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes搜索关键词。可以是组件名、别名、关键词或分类名。例如:"按钮"、"表单"、"primary"、"loading"
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses the fuzzy search behavior and the multiple searchable attributes (name, alias, keywords, category), which is valuable. However, it doesn't mention important behavioral aspects like pagination, result limits, sorting, or what the response format looks like. For a search tool with no annotations, this leaves significant gaps in understanding how the tool actually behaves.

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 efficiently structured with a clear purpose statement followed by three specific use cases. Every sentence earns its place by providing distinct value: the first defines the tool's function, the second lists searchable attributes, and the third provides concrete usage scenarios. No wasted words or redundancy.

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?

Given the tool's moderate complexity (search function with fuzzy matching), no annotations, and no output schema, the description is adequate but incomplete. It covers the purpose and usage guidelines well, but lacks information about behavioral aspects (pagination, limits, response format) that would be important for an agent to use this tool effectively. The description does its job for basic understanding but leaves gaps in operational details.

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 description coverage is 100%, with the single 'query' parameter well-documented in the schema. The description adds some context by listing the types of content that can be searched (component name, alias, keywords, category) and providing example queries, but this mostly reinforces what's already in the schema. The baseline of 3 is appropriate since the schema does the heavy lifting for parameter documentation.

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 specific action ('搜索' - search) and resource ('my-design 组件库的组件' - my-design component library components). It distinguishes this tool from siblings by specifying it's for fuzzy search across multiple attributes (name, alias, keywords, category), unlike component_list which likely lists all components or component_details which shows details for a specific component.

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?

The description explicitly provides three use cases: 1) exploring when uncertain about component names, 2) finding suitable components based on requirements, and 3) finding related components. This gives clear guidance on when to use this tool versus alternatives like component_list (likely for browsing all components) or component_details (for detailed information on a known component).

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/Davont/my-compoent-mcp'

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