Skip to main content
Glama

Check Main Image

check_main_image

Checks a product image against Amazon main-image rules for size, square ratio, file format/size, white background, product fill, and edge cropping. Reads the image from disk only; nothing is uploaded.

Instructions

Check a product photo against Amazon main-image rules.

Measures six things: longest side (1,000 px min, 2,000 recommended), square ratio, file format and 10 MB limit, pure white RGB 255, 255, 255 background, 85% product fill, and whether the product is cropped at the edge. The photo is read from disk only; nothing is uploaded. Other platforms still get the Amazon report plus a short note, because those marketplaces are more relaxed.

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": {
      "image_path": "<image_path>"
    },
    "name": "check_main_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNoamazon
image_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: 'The photo is read from disk only; nothing is uploaded' establishes a read-only, local-operation profile that an agent could not otherwise infer. It also discloses the exact thresholds (1,000 px min / 2,000 recommended, 10 MB, RGB 255, 85% fill), which is substantive behavioral detail beyond the schema; what is missing is any note on cost, latency, or failure behavior for unreadable files.

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?

Three tight sentences, front-loaded with the purpose and followed by the measured criteria and the disk-only caveat. No filler, and the threshold parentheticals are dense with useful information rather than padding.

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?

An output schema exists, so the description correctly avoids explaining return values and instead spends its space on thresholds and read-only behavior. Given a simple two-parameter read tool, this is nearly complete; the only real gap is the absence of any routing signal toward fix_main_image.

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% across two parameters, so the description must compensate. It clarifies image_path indirectly ('read from disk only') and explains the practical effect of platform ('Other platforms still get the Amazon report plus a short note, because those marketplaces are more relaxed'), but never states accepted platform values, that 'amazon' is the default, or what path format is expected.

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 description opens with a specific verb and resource: 'Check a product photo against Amazon main-image rules', and then enumerates the six concrete measurements performed. It is unambiguous what the tool does, though it never names or contrasts with the obvious sibling fix_main_image, leaving the check-vs-fix boundary implicit.

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?

Usage context is implied rather than stated: the platform note tells the agent that non-Amazon marketplaces still receive the Amazon report plus a caveat, which helps set expectations but is about output, not about when to choose this tool. There is no guidance on running this before a fix, no prerequisites, and no exclusions.

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