Skip to main content
Glama

Flag black, flat, frozen or flickering screenshots

screenshots_check
Read-only

Checks PNG images for blank, uniform, frozen, or flicker defects, including ordered frame sequences and ignored regions, and returns per-file findings.

Instructions

Flags screenshots that show nothing useful: black, uniform (one flat colour) and, with sequence (the folder's PNGs in name order are frames of one run), frozen (3 identical frames in a row) and flicker. ignore_rects leaves out areas that change alone, such as a clock. Returns {"frames", "ok", "findings": [{"file", "problem"}]}.

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": {
      "path": "<path>"
    },
    "name": "screenshots_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesa PNG, or a folder of PNGs (in a readable folder), 100 at most
fieldsNoresult paths to keep, dotted: common.frame_pacing
sequenceNotrue: the PNGs, in name order, are frames of one run; adds frozen and flicker
ignore_rectsNoareas to leave out, [x0, y0, x1, y1] as fractions 0 to 1

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.33.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description goes further by disclosing detection semantics (frozen = 3 identical frames in a row), the requirement that sequence mode expects one run's frames in name order, and the exact response shape. That is real behavioural context beyond the annotations.

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 outcome ('flags screenshots that show nothing useful') and then the qualifiers, with zero filler. The punctuation is dense — a parenthetical nested inside a list inside a sentence — making it slightly harder to parse than it needs to be, but nothing is wasted.

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 only 4 parameters, full schema coverage, an output schema and read-only annotations, the description covers the essentials: what defects are detected, how sequence mode changes behaviour, and what comes back. It is complete enough for correct invocation, with only the missing sibling/alternative framing as a gap.

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 coverage is 100%, so the baseline is 3. The description does add meaning for `sequence` (name-order frames of one run, additionally yielding frozen and flicker findings) and for `ignore_rects` (masks regions that legitimately change, like a clock), but `path` and `fields` are left entirely to the schema.

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 ('Flags screenshots') plus the exact defect classes it detects: black, uniform flat colour, frozen, flicker. An agent instantly knows what the tool produces. It does not differentiate itself from any sibling (e.g. capture_diff or perf_check), so it stops short of a 5.

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?

It gives conditional guidance for two parameters ('with `sequence` ... the PNGs in name order are frames of one run', '`ignore_rects` leaves out areas that change alone, such as a clock'), which tells the agent when to enable those behaviours. However there is no statement of when to call this tool instead of a sibling, nor any when-not condition, so usage is implied rather than explicit.

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