Skip to main content
Glama

Look at a photo

photo_look
Read-only

The photo as people see it now, every layer composed (its preview, up to 2048 px), with the facts of that composed picture to edit by eye: per-channel histograms, the share clipped to black and white, the color cast of near-neutral pixels, and the horizon's tilt when one is found. It lists the layers and, when there are text layers, their space. compare: "before" puts the untouched photo (as it was taken in, before any crop or straighten) on the left, labelled BEFORE, and the result on the right, labelled AFTER. adjustment: a name shows that adjustment's mask on its layer's picture just before it (bright where it applies, a red line at its half edge), to check a feather landed on the subject; with layer when two layers have one of that name. layer alone: that layer's own mask, on the picture below it. selection: a selection's id (or name) shows it the same way, on the photo as it was made on (after its crop, straighten and turn). view: {x, y, w, h}, fractions of the picture as this look draws it, zooms into that rectangle (with any of the above): its own pixels from the photo's 2048 px preview copy, enlarged up to 4 times to the width, so small things (eyes, a sign, a mask's edge) can be checked; look at the whole photo first to find them. grid: true draws lines at round fractions of the whole picture, each labelled with its fraction (x along the top, y down the left; on a zoomed view too), so a place read off the look is already in the fractions photo_edit takes; photo_pick reads the colour at points. Counts against your user's server pictures a month, as canvas_look does.

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": "photo_look"
  }
}

Input Schema

NameRequiredDescriptionDefault
gridNotrue: lines labelled in fractions of the whole picture
viewNozoom: {x, y, w, h}, fractions of the picture (w and h at least 0.01)
layerNo
widthNo
canvasNo
compareNo
selectionNo
adjustmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds genuinely non-obvious behavior — the preview is capped at 2048 px, zoom enlarges that preview up to 4x, and each call counts against the user's monthly server-picture quota — which is valuable cost disclosure. It stops short of stating the returned payload's form (image plus statistics) or what happens to earlier looks.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scoping sentence is front-loaded and most content earns its place, but the body is a chain of semicolon-joined run-ons where per-parameter modes blur together. Splitting the compare/adjustment/layer/selection/view/grid modes into distinct lines or sentences would cost no information and greatly aid scanning.

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 an 8-parameter, nested-schema, no-output-schema inspection tool, the description covers what the look returns (composed pixels plus histograms, clipping shares, colour cast, horizon tilt), all layer/mask modes, and quota cost. The undocumented 'canvas' parameter and the absence of any statement about the returned image's dimensions are the remaining gaps.

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?

With only 25% schema coverage, the description carries the load and largely succeeds: it explains view as fractions with combination rules ('with any of the above'), grid labelling axes, compare's BEFORE/AFTER placement, adjustment vs. layer-alone mask semantics, and selection resolving by id or name. The 'canvas' parameter is never mentioned in either schema or description, leaving one of eight parameters opaque.

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?

The opening clause names a specific resource and scope: the composed photo as people see it now, with histograms, clipping, colour cast and horizon tilt. It distinguishes the read/inspect role from photo_edit (destination of the fractions) and photo_pick (reads colour at points), though canvas_look is only invoked for the quota comparison rather than as an alternative.

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?

Guidance is embedded but real: 'look at the whole photo first to find them' before zooming, use compare:before to judge a crop/straighten, use adjustment to verify a feather landed on the subject, pass layer when two layers share a mask name, and use grid so coordinates are already in the fractions photo_edit takes. No explicit when-not-to-use or a named alternative inspection tool, which keeps it below 5.

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.