Skip to main content
Glama

Read colours at points of a photo

photo_pick
Read-only

The photo as people see it now (every layer composed, at its 2048 px preview size) read at points: points [{x, y}], fractions of the picture as photo_look draws it (up to 16). Each: its colour (#rrggbb and r, g, b), luma, saturation and hue as a range mask reads them, and how much each smart selection holds it (0 to 1). To check where an edge is, what tone a patch should match, or which range catches it, without guessing from a look. Counts as one of your user's server pictures, as a look does.

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": {
      "points": "<points>"
    },
    "name": "photo_pick"
  }
}

Input Schema

NameRequiredDescriptionDefault
canvasNo
pointsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/closed-world/non-destructive, and the description adds real context beyond them: the read happens on the fully composed render at 2048 px preview size, is capped at 16 points, returns hex + rgb + luma + saturation + hue plus per-selection membership from 0 to 1, and consumes one of the user's server pictures as a look does. That quota/render-basis disclosure is genuinely useful and not derivable from the structured fields. It stops short of describing ordering or error behavior for out-of-range points, which the schema enforces instead.

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?

Three sentences, each doing work: what is read, why to use it, and what it costs. The first sentence is heavy with nested parentheticals ('every layer composed, at its 2048 px preview size'), which slows parsing, but nothing is redundant.

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 correctly carries the return-value burden by enumerating colour components, luma, saturation, hue and selection membership with their ranges. The main remaining gap is the undocumented `canvas` parameter; safety, cost and read basis are all covered between annotations and prose.

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 0%, so the description must carry parameter meaning. It does well for `points`: shape [{x, y}], coordinates are fractions of the drawn picture, capped at 16. But the `canvas` parameter is never mentioned at all, leaving half the parameter surface undocumented in both schema and prose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: reading colour/luma/saturation/hue at points of the composed photo at its 2048 px preview size, and explicitly ties the coordinate space to how photo_look draws the picture. It is clearly distinguishable from photo_look (returns measured values rather than a view), though the phrasing is dense and the verb 'read at points' is embedded mid-sentence rather than front-loaded.

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?

'To check where an edge is, what tone a patch should match, or which range catches it, without guessing from a look' gives concrete when-to-use cases and implicitly names the alternative (a look). No explicit when-not-to-use or prerequisite guidance, but the selection condition is clear.

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.