Skip to main content
Glama

Color Matching: suggest colours

td_color_matching_suggest

Suggest five trend-aware palettes for a target market and palette type from a design's extracted colors, with JSON mappings ready for color replacement.

Instructions

Color Matching Suggest: five palette suggestions for a market and palette type, from the design's extracted palette (extract_task_id or colors). Returns JSON plus mapping sets ready for td_color_matching_replace. Best for: getting trend-aware palette ideas for a target market and palette type. Result files are saved to disk and their paths returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoWait for the job and save the outputs (default true). false returns the task_id right after submit.
imageYesSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
colorsNoOr the extracted palette itself: the extract result JSON ({motif_colors, background_colors}), as an object or JSON text.
marketNoMarket: global (Global), india (India), europe (Europe), north_america (North America), south_america (South America), asia_pacific (Asia Pacific), middle_east (Middle East), africa (Africa). Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. Required; there is no default market. Call describe_tool for what each option does.
bg_onlyNoChange background colors only. Default false.
output_dirNoFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
palette_typeNoPalette type: dusky (Dusky), neon (Neon), pastel (Pastel), vibrant (Vibrant), muted (Muted), earthy (Earthy), cool (Cool), warm (Warm), mono (Mono), contrast (Contrast), bright (Bright), medium (Medium), dark (Dark). Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. Required; there is no default palette type. Call describe_tool for what each option does.
estimate_onlyNoOnly return the credit estimate; nothing is uploaded or charged.
extract_task_idNotask_id of a td_color_matching_extract_colors run on this design (preferred): its palette is used.
review_settingsNoOmit it and the tool first asks whether to use the recommended settings or adjust them (unless the call already sets some). true: ask each setting one by one. false: run with the given or recommended settings without asking; pass it only after the user chose that.
timeout_secondsNoHow long to wait for the job before returning its task_id (default 240).
unlimited_bundleNoRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare it is not read-only, not idempotent, and open-world. The description adds useful side-effect context beyond annotations: it returns JSON plus mapping sets, saves result files to disk, and returns their paths. It does not mention credit use or waiting behavior, but those are partially covered by schema parameters.

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?

The description is front-loaded with the tool identity and core action, and its four sentences are mostly efficient. There is slight redundancy: 'for a market and palette type' appears in the first sentence and again in the 'Best for' sentence, but the structure remains clear and navigable.

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 does explain the return shape (JSON plus mapping sets, saved file paths), which is essential. The remaining 12-parameter complexity is handled by the schema's 100% description coverage, so the description is sufficient for a caller, though it could briefly note credit estimation or the async/wait behavior.

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 schema already documents all 12 parameters in detail. The description only reinforces that the palette comes from extract_task_id or colors and mentions market and palette type, adding little beyond the schema's own descriptions. Baseline 3 is appropriate.

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 states a specific verb and resource: five palette suggestions for a market and palette type, sourced from an extracted palette. It distinguishes itself from upstream extraction (extract_task_id or colors) and downstream replacement (td_color_matching_replace), and 'trend-aware palette ideas for a target market and palette type' differentiates it from reference-matching and swatch-grid siblings.

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?

It provides clear context with 'Best for: getting trend-aware palette ideas for a target market and palette type' and identifies which inputs to source from. However, it does not explicitly state when not to use it or name alternative tools like td_color_matching_regenerate or td_color_matching_match_reference, so it stops short of the 5-level alternative routing.

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