Skip to main content
Glama

analyze_screenshot

Measure edges, symmetry, and coarse grid alignment in PNG or JPEG viewport captures to verify 3D model renders and detect layout issues. Analyzes a built-in pattern when no path is given.

Instructions

Measure edges, symmetry, and a coarse grid for a viewport capture.

PNG and JPEG are read with OpenCV when the vision extra is installed. Binary P5 PPM is read by VisForge itself. With no path, a built-in pattern is analyzed.

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

Input Schema

NameRequiredDescriptionDefault
pathNo
syntheticNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful behavior: format support (PNG/JPEG via OpenCV, P5 PPM native), the dependency on the vision extra, and the built-in-pattern fallback when no path is given. It stops short of stating failure modes (e.g., a PNG supplied without the vision extra) or confirming the operation is non-mutating.

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?

Purpose is front-loaded in the first sentence, with implementation details (OpenCV vs. VisForge, PPM, fallback) following in compact order. Minor waste in the format-routing detail, but nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (two optional parameters) and an output schema exists, so return values need not be explained. However, the undocumented 'synthetic' parameter and the absence of any error/limitation notes leave an agent guessing on a key input path.

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 0% and the bare titles 'Path' and 'Synthetic' convey little, so the description must compensate. It explains the empty-path case well, but the 'synthetic' parameter is never mentioned anywhere, leaving one of two parameters undocumented.

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 first sentence gives a specific verb and resource: 'Measure edges, symmetry, and a coarse grid for a viewport capture,' which tells an agent exactly what analysis it gets. It does not name or contrast any sibling, but among the listed siblings (mostly plasticity CAD operations) the screenshot analysis role is self-evident.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives, no prerequisites, and no exclusions. The only conditional given ('With no path, a built-in pattern is analyzed') is a fallback behavior, not usage guidance.

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