Skip to main content
Glama

Chart Color System

Solve a chart palette

solve_palette
Read-onlyIdempotent

Generate a categorical chart palette of n colors (1-12) that maximizes perceptual separation under normal vision and colorblindness, with the given brand colors locked as anchors in slot order. Returns the palette, the worst pair distances, the engine's relaxation notes, a full accessibility audit against the background, and a link to open it in the app. Honest cap is 6 slots; above that the result says so.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of categorical slots
gridNoGridline color; defaults to a light or dark gray to match the background
anchorsNoBrand or required colors, kept exactly, in slot order (CSS syntax)
postureNokpi: few strong colors; comparative: balanced; exploratory: many mutedcomparative
backgroundNoChart background color#ffffff

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The description adds rich behavioral detail beyond the read-only and idempotent annotations: it specifies the exact return payload (palette, worst pair distances, relaxation notes, accessibility audit, app link), and it honestly discloses the 6-slot capability cap. This gives the agent a realistic expectation of what will happen, including a non-obvious limitation.

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?

Three sentences with no filler: the purpose, the return values, and the critical limitation. The most important information is front-loaded, and every sentence 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?

The description is complete for a read-only generation tool with no output schema. All five parameters are already documented in the schema, and the description covers outputs, constraints, and behavior. An agent has enough information to invoke it correctly without seeking external clarification.

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 the baseline is 3. The description does mention the n range and anchor behavior, but these are largely redundant with the schema's own descriptions ('kept exactly, in slot order', minimum/maximum). It does not add meaningful semantics for grid, posture, or background beyond what the schema already provides.

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 opens with a specific verb-resource pair: 'Generate a categorical chart palette', and then specifies the optimization goal (perceptual separation under normal vision and colorblindness) and the anchor constraint. This is clearly distinct from siblings like audit_palette, build_ramp, and simulate_palette.

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?

The description gives clear context for when to use the tool: when you need a new categorical chart palette with brand anchors. It does not explicitly name alternatives or exclusion conditions, but the verb 'generate' and the returned outputs make the intended use unmistakable relative to auditing, building ramps, or simulating.

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.