Skip to main content
Glama

Pick color

snipaya_pick_color
Read-only

Reads the pixel color at a given point on the canvas or a captured image and returns it as a #rrggbb hex value, without modifying anything.

Instructions

Read the color of the image pixel at "at" and return it as a #rrggbb hex. Changes nothing.

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": {
      "at": "<at>"
    },
    "name": "snipaya_pick_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYesA point. Canvas coordinates, or image pixels when relativeTo is set.
tabIdNoTarget tab id. Defaults to the active tab.
relativeToNoImage id from snipaya_get_canvas. When set, all coordinates in this call are pixels of that image as captured (the same pixels you see in snipaya_render of that image).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so 'Changes nothing' largely restates structured data. It adds the useful fact that the result is a hex string, but says nothing about tab targeting behavior or coordinate resolution beyond what the schema already carries.

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?

A single compact sentence that front-loads the action and the return format, then closes with the non-mutation guarantee. No wasted words.

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?

For a read-only pixel probe with full schema coverage and safety annotations, the description is nearly sufficient, and it even compensates for the missing output schema by specifying the hex return. It lacks only a note on how the point maps between canvas and image modes, which the schema covers.

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% and the nested 'at' point plus tabId and relativeTo are documented in the schema. The description only names 'at' and the output format, adding no syntax or coordinate-mode detail beyond the structured fields, so the baseline 3 applies.

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 (read) plus resource (color of image pixel) and the exact return format (#rrggbb hex). No sibling tool reads pixel color, so an agent can distinguish it instantly from the add_*/render/export family.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Changes nothing' signals this is a non-mutating inspection, but the description gives no explicit when-to-use guidance, no mention of choosing relativeTo vs canvas coordinates, and no alternates. Usage is only implied by the schema.

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