Skip to main content
Glama

palette

Extracts up to five hex colours for each visual reference and one merged palette for the whole set, so you can match and compare colour schemes across a moodboard.

Instructions

The colour palette (up to 5 hex colours) of each ref, plus one merged palette for the whole set.

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": {
      "refs": "<refs>"
    },
    "name": "palette"
  }
}

Input Schema

NameRequiredDescriptionDefault
refsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden of disclosing behavior. It helpfully states that the output contains up to five hex colours per ref plus a merged palette, but it does not explicitly confirm read-only behavior, permissions, error handling, or output structure.

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?

The definition is a single, front-loaded sentence with no redundant or filler wording. It communicates the core output shape efficiently.

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 simple one-parameter tool with no annotations or output schema, the description gives a useful high-level account of the return value. It remains incomplete on parameter semantics, output structure, and usage guidance, which limits an agent's ability to invoke it confidently.

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 for the single `refs` parameter is 0%, so the description must compensate. It mentions 'each ref' and 'the whole set', but does not define what a ref is, its expected format, or that the input is an array constrained to 1–36 items.

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?

The description clearly identifies the resource and output: colour palettes per ref plus one merged palette. However, it is phrased as a noun phrase rather than a specific verb and does not differentiate the tool from similarly named siblings.

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?

The description explains what the tool returns but gives no guidance on when to use it, when not to use it, or which sibling tool to choose instead. The agent must infer usage from the tool name and output description alone.

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

Deploy Server

Other Tools