Skip to main content
Glama
Davont
by Davont

component_details

Retrieve detailed documentation for React components, including properties, events, usage rules, and accessibility requirements to ensure proper implementation.

Instructions

获取 my-design 组件的详细文档,包括:Props(属性)、Events(事件)、核心规则(AI 生成代码时必读的约束)、Behavior(交互行为)、When to use(适用场景)、Accessibility(无障碍要求)。这是生成代码前必须调用的工具,用于确认组件 API 和使用约束。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
componentNameYes组件名称,如 Button、Input、Table。支持别名(如 Btn)。
sectionsNo要获取的章节列表。可选值:props、events、rules(核心规则)、behavior、when-to-use、accessibility、all(全部)。默认返回 props + rules。

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