Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

image_colors

Read-onlyIdempotent

Extract an image's dominant colors and k-color palette with hex, rgb and share values, plus average color and luminance, by sampling at 200 px and skipping transparent pixels.

Instructions

imagepeek: Extract the dominant colours of an image. For a placeholder string use image_blurhash. Returns an image's palette of k colours (hex, rgb, share), the dominant one and the average colour with its luminance, from a 200 px sample (median cut refined by k-means). Samples with alpha below min_alpha (default 128) are skipped. Reads PNG, JPEG, WebP, GIF, TIFF, BMP, ICO and AVIF; other formats and images over 40 megapixels are refused (not charged). Images are never logged or stored. Typically 0.5-2 s. Price: USD 0.002. Free: 3 imagepeek calls per IP per UTC day. Docs: https://tanod.dev/learn/image-color-palette-api.html

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "image_colors"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoPalette size.
urlNoPublic http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64.
min_alphaNoMinimum 8-bit alpha after downsampling.
auto_orientNoApply the EXIF orientation first.
image_base64NoThe image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url.

Output Schema

NameRequiredDescriptionDefault
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
inputNo
notesNo
sourceNo
averageNo
paletteNo
dominantNo
final_urlNo
operationNo
source_urlNo
pixels_sampledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), it discloses accepted formats, a 40-megapixel refusal that is not charged, that images are never logged or stored, a 0.5-2 s latency, the price, and a 3-calls-per-IP-per-day free tier. These are exactly the cost, privacy, and failure-mode facts an agent needs before invoking a paid open-world tool.

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 the purpose and sibling routing, then packed with operational facts in roughly priority order; almost every clause carries information. The 'imagepeek:' prefix duplicates the title and the methodology parenthetical is borderline, but neither costs much.

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 5-parameter, zero-required, paid, open-world tool with an output schema, the description covers inputs, limits, cost, latency, privacy, and failure cases. Nothing an agent needs in order to call it correctly is missing, and return values are summarized even though the output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description adds real meaning on top by explaining that samples below min_alpha (default 128) are skipped and that the palette comes from a 200 px sample refined by k-means, which clarifies what k controls. auto_orient is not discussed, which keeps it from a 5.

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: 'Extract the dominant colours of an image', with the exact output shape (palette of k colours with hex, rgb, share, plus dominant and average colour with luminance). It also names the sibling it is not for placeholder strings, so an agent can separate it from image_blurhash without opening either 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 clear routing rule for one alternative ('For a placeholder string use image_blurhash') and implicitly defines the input precondition (a URL or base64 image under 10 MB). It does not cover other plausible alternatives such as metadata extraction or OCR, so the guidance is strong but not exhaustive.

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