Skip to main content
Glama

Palette Quality Audit

palette_audit
Read-only

Full palette quality audit. Scores on accessibility, cultural risk, tonal balance, colour diversity, and archive naming strength. Returns overall score 0-100, grade, and prioritised fix list. Enterprise quality gate -- use before shipping any palette. Deterministic, no LLM cost. The result already carries the rendered palette and its PNG, PDF, ASE, JSON and CSS downloads, ready to show the customer. The archive anchors a colour was derived from are evidence, not the recommended colours. A final palette chosen from this evidence is registered with palette_finalize, called once with those exact colours, so the customer can see and download what was actually recommended.

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

Input Schema

NameRequiredDescriptionDefault
marketNoTarget marketglobal
mediumNodigital | print | bothdigital
paletteYesHex values to audit
use_caseNoUse case contextbrand identity

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Structured JSON response. Shape varies by tool; most return an 'ok' boolean plus a 'result' or 'results' field with the tool's data payload.",
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "error": {
      -      "type": "string"
      -    },
      -    "ok": {
      -      "type": "boolean"
      -    },
      -    "result": {
      -      "type": [
      -        "object",
      -        "array",
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Consistent with readOnlyHint=true and adds substantial context the annotation cannot carry: deterministic execution, no LLM cost, the scored dimensions, the prioritised fix list, and the fact that the result already bundles a rendered palette with PNG, PDF, ASE, JSON and CSS downloads for customer presentation. It also pre-empts a likely misreading by clarifying that archive anchor colours are evidence, not recommendations.

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?

Front-loaded with purpose, then scoring dimensions, then output, then workflow — a sensible order with no filler. The closing sentences on archive evidence and palette_finalize are useful but make the block longer than strictly needed for an audit tool; they read as downstream workflow guidance folded into the audit description.

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?

For a tool that already has an output schema and full annotation coverage, the description supplies everything else an agent needs: what is scored, what comes back, that it is deterministic and cheap, that artefacts are downloadable, and how the result chains into palette_finalize. The one caveat is that those artefacts and the finalize handoff would ideally live in the sibling tool's description, but coverage here is complete for decision-making.

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 market, medium, use_case and palette are already documented in the schema, which sets the baseline at 3. The description adds no syntax, defaults, or constraint detail beyond that (e.g. hex format, how market/medium shift the scoring), so it earns no more than baseline.

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?

States a specific verb and resource ('Full palette quality audit') and enumerates the graded dimensions: accessibility, cultural risk, tonal balance, colour diversity, archive naming strength. It also states the return shape (0-100 score, grade, prioritised fix list), so an agent can distinguish it from sibling scoring tools like palette_verdict or palette_analyse without opening the schema.

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?

Gives a concrete trigger condition ('Enterprise quality gate -- use before shipping any palette') and routes the follow-on step explicitly to palette_finalize with its calling convention (once, with the exact chosen colours). It does not state when to prefer this over adjacent siblings such as palette_verdict, palette_strict, or palette_analyse, so the exclusion side of the guidance is incomplete.

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