Skip to main content
Glama

get_registry_item

Retrieve a shadcn-native registry item for one component or block from the Memoire workspace. Provides installable context including files, dependencies, and metadata.

Instructions

Return one shadcn-native registry item generated from the current Memoire workspace.

Prerequisites: The requested component spec must exist. Use get_specs to list available specs or get_shadcn_registry to inspect generated item names.

Returns on success: registry-item.json-compatible data with files, targets, dependencies, cssVars metadata when applicable, and Memoire Atomic Design metadata.

Use this tool: when an AI editor needs the exact installable context for one component or block.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesComponent spec name or shadcn item slug, e.g. Button or button.
homepageNoPublic homepage used to generate item URL and Open-in-v0 metadata.
Behavior3/5

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

No annotations provided, so description carries the burden. It describes what is returned but does not explicitly state whether the operation is read-only or has side effects. The name suggests idempotence, but not confirmed. Some behavioral details are missing.

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?

Description is concise with three focused paragraphs: purpose, prerequisites/alternatives, return content, usage hint. No unnecessary words.

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's simplicity (2 params, no output schema, no annotations), the description covers purpose, prerequisites, return data, and usage guidance. It is complete enough for an agent to decide and invoke.

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% (both parameters documented). The description does not add new information about parameters beyond what the schema provides. 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?

The description clearly states it returns one shadcn-native registry item from the workspace. It uses a specific verb ('Return') and resource, and distinguishes from siblings like get_specs and get_shadcn_registry by mentioning them as prerequisites.

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: when an AI editor needs the exact installable context for one component or block.' Also provides prerequisites and alternative tools (get_specs, get_shadcn_registry).

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