Find the nearest human-friendly color name for one or more hex colors. Pass hex codes (with or without leading #), comma-separated for several at once. Returns the closest named color for each input, with its canonical hex, RGB, and perceptual distance. Optionally pick a naming list (e.g. "wikipe...
AI agents call name_colors to retrieve information from Mcp Color Pizza without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
hex | string | Yes | One or more hex colors, comma-separated. With or without #. e.g. "ff0000" or "#ff0000,#00ff00". |
list | string | — | Color-name list to use. Default "default". Other options: wikipedia, ntc, x11, html, japaneseTraditional, leCorbusier, bestOf, etc. |
Parameters from the server's own tool schema.
This tool retrieves or queries data from a color-naming database and returns results. There are no create, modify, delete, execute, or financial operations. The worst misuse would be returning information to the user, which poses minimal risk.
From the tool's definition The tool 'Find the nearest human-friendly color name for one or more hex colors' performs a lookup and returns named color data without modifying any state.
Attacks that exploit this kind of access
Find the nearest human-friendly color name for one or more hex colors. Pass hex codes (with or without leading #), comma-separated for several at once. Returns the closest named color for each input, with its canonical hex, RGB, and perceptual distance. Optionally pick a naming list (e.g. "wikipedia", "ntc", "x11", "html", "japaneseTraditional", "leCorbusier", "bestOf"); defaults to "default". Use list_palettes to see all available lists. It is categorised as a Read tool in the Mcp Color Pizza MCP Server, which means it retrieves data without modifying state.
name_colors accepts 2 parameters: hex, list. Required: hex. The full parameter table on this page comes from the server's own tool schema.
Register the Mcp Color Pizza MCP server in PolicyLayer and add a rule for name_colors: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Color Pizza. Nothing to install.
name_colors is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the name_colors rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for name_colors. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
name_colors is provided by the Mcp Color Pizza MCP server (https://gateway.pipeworx.io/color-pizza/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →