Skip to main content
Glama

Set design system

pixl_set_design_system

Lock a design system using a preset with optional overrides or fully custom tokens. Returns a token contract to enforce consistent UI generation.

Instructions

Lock the design system. Pass a presetId (from pixl_list_presets) with optional overrides, OR fully custom tokens. Writes tokens.json + design/*.md and returns the TOKEN CONTRACT — obey it for every screen you generate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
presetIdNoPreset id, e.g. 'clean-saas'. Omit only if passing customTokens.
overridesNo
customTokensNoFull custom token set (same shape as a preset's tokens). Use for a bespoke system.
Behavior3/5

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

Discloses that it writes tokens.json + design/*.md and returns a TOKEN CONTRACT. Without annotations, this provides good insight, but lacks details on destructiveness (overwrites?) or permission requirements.

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?

Two sentences, front-loaded with the core action, efficient. Could include the exclusivity constraint, but still concise and informative.

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?

Covers the two usage methods and return value, but lacks clarity on exclusivity of presetId/customTokens (schema allows both) and the meaning of 'lock.' Useful but not fully comprehensive.

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?

Adds meaning beyond the input schema: explains the OR logic between presetId and customTokens, provides examples for overrides and customTokens. Schema coverage is 67% and description compensates with usage context.

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 the tool's purpose: 'Lock the design system.' It specifies the two usage modes (presetId with overrides OR customTokens) and distinguishes from siblings by referencing pixl_list_presets for presets.

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?

Provides explicit guidance: use presetId from pixl_list_presets with optional overrides, or customTokens for bespoke systems. Does not explicitly state when not to use, but the reference to pixl_list_presets implies it for listing presets.

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/ishk9/pixl'

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