Skip to main content
Glama

DesignMD Pro

Extract color palette

extract-color-palette
Read-onlyIdempotent

Extract a frequency-ranked, role-classified color palette from a website by statically analyzing its HTML and CSS. Returns ranked colors (hex/rgb/hsl, roles, usage counts), grouped palette roles (primary/accents/neutrals/surfaces/texts), resolved CSS custom properties, and a separate dark-scheme palette when the site ships one. Browse the full library of website DESIGN.md design systems at https://www.designmdpro.app/

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "extract-color-palette"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL or bare domain of the page to analyze (e.g. https://linear.app or linear.app)
limitNoMax colors per scheme palette (default 24, max 64)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the bar is lower; the description still adds the meaningful trait that analysis is static over HTML/CSS, which implies no JS rendering. It also discloses conditional output (a separate dark-scheme palette only when the site ships one) and that CSS custom properties are resolved. It does not cover failure modes such as blocked or JS-only sites, but the added context is substantial.

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

Conciseness3/5

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

The opening sentence is front-loaded and information-dense, and the return-value enumeration earns its place since there is no output schema. However, the closing sentence pointing at https://www.designmdpro.app/ is promotional and gives the agent no invocation value, and the return list could be trimmed.

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?

With no output schema, the description carries the return-shape burden and does so well: ranked colors, grouped role palettes, resolved custom properties, and conditional dark scheme. Both parameters are schema-documented, so nothing critical is missing for a correct call; only error/edge-case behavior for static-only analysis is absent.

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 description coverage is 100%, with both url and limit fully documented in the schema, so the baseline applies. The description adds no parameter-level guidance beyond the schema — it does not clarify, for example, how limit interacts with the separate dark-scheme palette or with the grouped role palettes.

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?

"Extract a frequency-ranked, role-classified color palette from a website by statically analyzing its HTML and CSS" names a specific verb, resource, and method, and the output list (hex/rgb/hsl, roles, counts) further pins down what 'palette' means here. It is clearly distinguishable from siblings like get_design_md or search_websites, which concern design docs and site discovery rather than color extraction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description never states when to pick this over get_design_md or search_websites, nor any prerequisites or exclusions. Usage is only implied by the purpose statement (call this when you need a site's colors). Adequate but leaves the agent to infer routing.

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.

Resources