Skip to main content
Glama

get_shadcn_registry

Build a shadcn-native registry index from your Memoire workspace. Provides registry context for AI editors and v0 workflows without writing files.

Instructions

Build and return a shadcn-native registry index from the current Memoire workspace.

Prerequisites: Component specs must exist in the local registry. Tokens are optional but will be mapped into a registry:theme item when present.

Returns on success: shadcn registry.json-compatible data with { $schema, name, homepage, items[] }. Items include file targets, registryDependencies, cssVars, and Memoire metadata.

Use this tool: to provide AI editors and v0-compatible workflows with a registry context without writing files to disk. For an individual item, use get_registry_item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoRegistry name to embed in the shadcn registry index.memoire
homepageNoPublic homepage used to generate /r/*.json and Open-in-v0 metadata.
Behavior4/5

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

With no annotations, the description reveals the return structure (registry.json-compatible data with specific fields) and behavior (no file writing). It explains how tokens are mapped into registry:theme. However, it does not explicitly state if it is read-only or mention any other side effects, which would make it more transparent.

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: 4 sentences, each serving a purpose. The first sentence states the core action, second lists prerequisites, third details return structure, and fourth gives usage instruction. No redundant information.

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 no annotations or output schema, the description covers prerequisites, return format, and usage context adequately. It could improve by explicitly stating that items are the local component specs, but overall it is sufficient for an agent to use correctly.

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% and description adds context: 'name' is described as 'Registry name to embed in the shadcn registry index' and 'homepage' as 'Public homepage used to generate /r/*.json and Open-in-v0 metadata.' This provides practical usage insight beyond the schema's descriptions.

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 'Build and return a shadcn-native registry index from the current Memoire workspace', specifying the verb and resource. It differentiates itself from the sibling 'get_registry_item' by noting 'For an individual item, use get_registry_item.'

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?

Explicitly says 'Use this tool: to provide AI editors and v0-compatible workflows with a registry context without writing files to disk' and provides a when-not-to-use by pointing to the sibling. Also lists prerequisites: 'Component specs must exist in the local registry. Tokens are optional...'

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/sarveshsea/memi'

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