Skip to main content
Glama
mrityunjay-tiwari

ui-registry-mcp

Get a component's real source

get_component

Retrieve the complete source code of a component from a given registry, including files, npm and registry dependencies, and install command. Use after searching components to get real code for direct use and editing.

Instructions

Fetch the full, current source of one component from a specific library: file contents, npm dependencies, registry dependencies, and the exact install command. Use this after search_components. The returned source is real code you can drop into the project and edit freely.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesComponent name exactly as returned by search_components
registryYesRegistry id, e.g. 'reui' (see list_registries)
Behavior3/5

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

No annotations provided, so description carries full burden. It describes the return content as 'real code you can drop into the project and edit freely', but does not explicitly state it's a read-only operation or disclose any side effects, auth needs, or rate limits. Adequate but not comprehensive.

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?

Three sentences: first sentence states core purpose, second lists contents, third gives usage guidance and output nature. No wasted words, information is front-loaded.

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?

Given low complexity (2 params, no output schema), description explains return content (file contents, dependencies, install command) and states it's editable code. Lacks explicit structure or format of the returned source, but provides sufficient context for a simple tool.

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% with both parameters described. Description does not add significant extra meaning beyond the schema, such as constraints or format details. Baseline score of 3 is appropriate.

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?

Description clearly states it fetches the full current source of a component from a specific library, listing included contents (file, dependencies, install command). It distinguishes from sibling tools like search_components, which find components, and list_registries, which list registries.

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?

Explicitly says 'Use this after search_components', providing clear context for when to use. It does not mention alternatives or when not to use, but the guidance is specific and helpful.

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