Skip to main content
Glama

get_color_palette

Retrieve metadata-discovered Compass color guidance and filter palette entries by query. Use it to inspect available color foundations, with explicit handling when guidance is unavailable.

Instructions

Returns metadata-discovered Compass color guidance with explicit unavailable handling.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_color_palette"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum entries to return. Defaults to 50 when omitted, with a hard maximum of 50.
queryNoOptional free-text filter matched against foundation metadata fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden, yet it only gestures at behavior: 'explicit unavailable handling' hints that missing data is reported rather than raised, but it doesn't say in what form (empty result, error, note). It says nothing about whether results come from a cache, staleness, permissions, or response shape.

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?

A single front-loaded sentence with no padding, so it is appropriately sized. The density is spent on unclear qualifiers ('metadata-discovered', 'Compass', 'explicit unavailable handling') rather than on information the agent can act on, which keeps it short of a 5.

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?

For a two-optional-parameter read tool with a fully described schema, the definition is nearly sufficient. The gap is that no output schema exists, so the description should indicate what 'color guidance' entries contain and what an unavailable result looks like; 'explicit unavailable handling' is too vague to cover that.

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%, so 'limit' (default 50, hard max 50) and 'query' (free-text over foundation metadata fields) are already fully documented in the schema. The description adds nothing about how 'query' matching works or how limit interacts with filtering, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('Returns') and resource ('Compass color guidance'), which distinguishes it by resource from parallel siblings like get_spacing_guidance and get_typography_guidance. However, 'metadata-discovered' and 'Compass' are unexplained jargon that a fresh agent may not resolve, and no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusion of alternatives, and no prerequisites. The description never says whether to call this alongside get_design_tokens or get_base_style_guidance, nor whether the metadata cache must be populated first (a real concern given the refresh_metadata_cache sibling).

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