Skip to main content
Glama

Get a Design System Build Kit

get-design-system-kit
Read-onlyIdempotent

Returns the build kit for a catalog design system or a generated project. target picks the format: react returns one shadcn install command for every component and the tokens, html returns framework-free token and component CSS for inline canvases, react-native and swiftui return mobile kits, shopify returns Liquid theme files, dtcg returns a W3C Design Tokens document, and store-screenshots returns slide files and a render script for App Store and Google Play screenshots. component narrows the React install to one component.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesRequired build target. Use "react" for any host with filesystem + terminal; use "html" only for inline chat canvases/artifacts. Use "shopify" for Shopify stores and themes. Use "dtcg" to hand the tokens to a design tool: it returns a W3C Design Tokens document for Style Dictionary, Tokens Studio, Terrazzo, or a Figma plugin that creates variables. Use "store-screenshots" for App Store and Google Play screenshots in this system: it returns slide files and a render script that writes PNG files at the store sizes.
libraryNoReact target only, default "base-ui". Pass "radix" when the project already uses Radix primitives.
componentNoReact target only. Pass only when the user asks to inspect specific component source code. Omit to scaffold the entire design system.
projectIdNoGenerated project ID from create-design-system / get-design-system-status. Supported with every target but react.
designSystemIdNoCatalog design system ID from find-design-system. Required for target react; for every other target pass this or projectId.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name of the design system or project.
stepNoCurrent generation step, while generating.
statusYescompleted | error | pending | generating | selected
shotUrlNoReal screenshot of the showcase page for the self-contained preview widget.
viewUrlNoOwner-facing Better Design page (the human 'Open' link). May require login.
tokensCssYesCSS custom-property stylesheet for the system's tokens.
previewUrlNoPublic, cookieless showcase URL used to generate preview assets. Falls back to viewUrl.
themeFilesNoShopify target only. Theme files to write verbatim at each path: the per-system CSS asset, the Liquid snippets, and the theme editor sections.
tokensJsonNoDTCG target only. The design tokens as a W3C Design Tokens (DTCG) document. Write it to tokens.json; every token tool reads this format, including Style Dictionary, Tokens Studio, Terrazzo, and the Figma plugins that create variables.
hoverPolicyNoHTML and Shopify targets. Mandatory pointer-safe hover contract to verify before presenting.
iconLibraryNoThe design system's existing icon family and variant. Reuse it; do not select another pack.
installNoteNoImportant install flavor or fallback note for clients that read only structuredContent.
nativeFilesNoReact Native and SwiftUI targets only. Write each file verbatim at its path: this system's stored theme and material, and the primitives that read it.
componentCssNoHTML target only. Paste this token-driven ds-* component stylesheet verbatim.
customCssScopeNoHTML and Shopify targets. Custom classes may arrange layout but must not replace kit component styling.
installCommandNoshadcn install command, when complete.
installLibraryNoActual component library flavor installed by installCommand.
hierarchyPolicyNoHTML target only. Mandatory first-view hierarchy, progressive-disclosure, and information-budget contract.
screenshotFilesNoStore screenshots target only. Write each file verbatim at its path, then follow buildInstructions to capture screens, write the slides and render the PNG files.
textColorPolicyNoHTML and Shopify targets. Mandatory semantic foreground-token contract; surface tokens and opacity must not be used to mute text.
iconInstructionsNoInstructions for exact selected-icon lookup, or an explicit missing-selection warning.
buildInstructionsNoRequired design-choice guidance and any target-specific build/review steps for clients that read only structuredContent.
compositionPolicyNoHTML target only. Mandatory layout-density and container-restraint policy.
unsupportedTokensNoReact Native and SwiftUI targets only. Tokens that need a browser to resolve, a calc(), a var(), or a relative oklch(), so they carry no native value. Set them by hand if the screen needs them. A token whose mode is dark matters more: the dark palette inherits the light value for any key it does not set, so a dropped dark override reads as the light colour on a dark screen.
iconMaterialStatusNoShopify stored glyph metadata is current, or legacy and unverified. This is not rendered review evidence.
iconSelectionStatusNoSelected means identity is known, not that rendered icon use was reviewed.
minimumTextContrastNoHTML and Shopify targets. Minimum contrast for normal visible text against its computed background.
componentExampleHtmlNoHTML target only. Starter markup that demonstrates the required .ds wrapper and ds-* component classes.
componentMaterialCssNoHTML target only. Paste this design-system-specific material override after componentCss.
requiredWrapperClassNoHTML and Shopify targets. The artifact or snippet root must retain this class exactly.
hostIsolationCssTemplateNoHTML target only. Replace APP_ROOT with the artifact root selector and paste after host/base CSS so semantic text cannot inherit the host's light/dark colors.
supportedInstallationScopeNoShopify full kit is not page-scoped. Withhold installation for a page-only task until isolated files and styles exist.
requiredComponentClassPrefixNoHTML and Shopify targets. Interactive components must retain classes with this prefix; never rename it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine value beyond that by disclosing the concrete artifact each target yields (shadcn install command, Liquid theme files, W3C tokens document, slide files plus a render script that writes PNGs) — notably the side-effecting render script, which the annotations do not imply.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then a dense enumeration where each target clause earns its place by mapping an enum value to an artifact. It is long but nearly waste-free; the only flaw is that two clauses describe targets the schema does not accept.

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?

Output schema, rich annotations and 100% schema coverage mean return values and safety need not be re-explained, and the description covers targets and the component-narrowing case. But it omits projectId/designSystemId semantics entirely and, more seriously, promises mobile targets the schema forbids, so it is not fully coherent for a 5-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3, but the description actively contradicts the schema: it advertises 'react-native' and 'swiftui' targets that are absent from the target enum, and says 'component' narrows 'the React install' while the schema's component parameter is scoped to inspecting source code. This makes the description misleading about valid parameter values.

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?

States a specific verb and resource ('Returns the build kit for a catalog design system or a generated project') and immediately distinguishes itself from siblings like preview-design-system and extract-design-system by enumerating exactly what each target produces. An agent can pick this tool without opening any schema.

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?

Gives per-target selection conditions ('react' for any host with filesystem + terminal, 'html' only for inline chat canvases), which is real when-to-use guidance rather than restating the name. However it offers no explicit when-NOT-to-use or alternative-tool routing (e.g. vs preview-design-system), and the enum mismatch below undercuts the guidance for mobile targets.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.