Skip to main content
Glama

Brand Kit Generator

generate_brand_kit

Create a complete brand kit with color palettes, typography pairings, and design tokens from company details and aesthetic preferences. Outputs in JSON, CSS, or Tailwind formats with WCAG accessibility scoring.

Instructions

Generate a complete brand kit from a company name, industry, and aesthetic keywords. Returns a color palette with WCAG accessibility scores, curated typography pairings, and design tokens in JSON, CSS, or Tailwind format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCompany or brand name
industryNoIndustry (e.g., 'fintech', 'healthcare', 'fashion')
vibeNoAesthetic keywords: 'modern', 'playful', 'luxurious', 'minimal', 'bold', etc.
formatNoOutput formatfull

Implementation Reference

  • The "generate_brand_kit" tool is registered in the MCP server, which processes inputs and forwards the request to the "brand-kit" endpoint of the external API via the callToolApi helper.
    server.registerTool(
      "generate_brand_kit",
      {
        title: "Brand Kit Generator",
        description:
          "Generate a complete brand kit from a company name, industry, and aesthetic keywords. " +
          "Returns a color palette with WCAG accessibility scores, curated typography pairings, " +
          "and design tokens in JSON, CSS, or Tailwind format.",
        inputSchema: {
          name: z.string().describe("Company or brand name"),
          industry: z
            .string()
            .optional()
            .describe("Industry (e.g., 'fintech', 'healthcare', 'fashion')"),
          vibe: z
            .array(z.string())
            .optional()
            .describe("Aesthetic keywords: 'modern', 'playful', 'luxurious', 'minimal', 'bold', etc."),
          format: z
            .enum(["full", "tokens", "css", "tailwind"])
            .default("full")
            .describe("Output format"),
        },
      },
      async ({ name, industry, vibe, format }) => {
        const result = await callToolApi("brand-kit", { name, industry, vibe, format });
        const data = result as any;
        const r = data.result;
    
        if (format === "css") {
          return {
            content: [{ type: "text" as const, text: `Brand kit for **${name}**:\n\n\`\`\`css\n${r.css}\n\`\`\`\n\nFonts: ${r.fonts?.display} + ${r.fonts?.body}\nAccessibility: Primary on background ${r.accessibility?.primaryOnBackground?.rating} (${r.accessibility?.primaryOnBackground?.ratio}:1)` }],
          };
        }
    
        if (format === "tailwind") {
          return {
            content: [{ type: "text" as const, text: `Brand kit for **${name}**:\n\n\`\`\`javascript\n${r.tailwindConfig}\n\`\`\`\n\nFonts: ${r.fonts?.display} + ${r.fonts?.body}` }],
          };
        }
    
        // Full or tokens format
        return {
          content: [{ type: "text" as const, text: `Brand kit for **${name}**:\n\n\`\`\`json\n${JSON.stringify(r, null, 2).slice(0, 3000)}\n\`\`\`\n\n*(Full result may be truncated — use 'css' or 'tailwind' format for focused output)*` }],
        };
      }
    );
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively compensates by specifying output quality (WCAG accessibility scores), available export formats (JSON, CSS, Tailwind), and the structured components returned (typography pairings, design tokens), giving the agent clear expectations of the generation behavior.

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?

Two well-structured sentences with zero waste: the first covers inputs and core function, the second covers outputs and formats. Information is front-loaded and every clause earns its place.

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 absence of an output schema, the description excellently compensates by detailing the return structure (color palette with accessibility scores, typography, design tokens) and available formats. For a 4-parameter tool with full schema coverage, this provides complete contextual information for successful invocation.

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?

The input schema has 100% description coverage with clear examples (e.g., 'fintech', 'modern'). The description mentions the parameters ('company name, industry, and aesthetic keywords') but does not add semantic meaning, constraints, or relationships beyond what the schema already provides, meeting the baseline for high-coverage schemas.

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 explicitly states the tool generates a 'complete brand kit' using specific inputs (company name, industry, aesthetic keywords). It clearly distinguishes itself from the sibling tool 'generate_color_palette' by emphasizing the comprehensive nature of the output (including typography and design tokens, not just colors).

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?

While it does not explicitly name sibling alternatives, it provides clear contextual differentiation by detailing the full scope of outputs (color palette + typography + design tokens). This enables an agent to infer this is the comprehensive choice versus more specialized tools, though explicit when/when-not guidance would strengthen it further.

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/marras0914/agent-toolbelt'

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