Skip to main content
Glama

photo_flip_rotate

Flip / Rotate Image — Flip an image horizontally or vertically, rotate it by 90/180/270, or rotate by a custom angle. [category: photo]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesInput image (max 25MB)
actionNoRotate values have NO hyphen: 'rotate90', not 'rotate-90'. 'custom' rotates by the 'degrees' field.rotate90
degreesNoRotation degrees, -360 to 360 — only used when action=custom.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / degrees / x-ui
      Added value: +{
      +  "unit": "deg"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / action / x-ui
      Added value: +{
      +  "labels": {
      +    "custom": "Rotate by an exact angle",
      +    "flip-h": "Flip left to right",
      +    "flip-v": "Flip top to bottom",
      +    "rotate180": "Rotate 180°",
      +    "rotate270": "Rotate 90° left",
      +    "rotate90": "Rotate 90° right"
      +  }
      +}
    • addedInput schema / properties / degrees / x-show-when
      Added value: +{
      +  "action": [
      +    "custom"
      +  ]
      +}
  3. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already provide the safety profile (readOnlyHint=false, destructiveHint=false), and the description adds the set of allowed transformations. However, it does not disclose what happens to the input file, whether a new output file is created, or any side effects, so behavioral context remains modest.

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?

The description is a single compact sentence that front-loads the main purpose and lists the supported operations. The only minor inefficiency is that 'Flip / Rotate Image' repeats the title and the category tag adds limited value, but overall it is scannable and to the point.

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 a straightforward photo transformation tool, the description plus fully documented schema covers most invocation needs. The main gap is the absence of any statement about return values or output behavior, and there is no output schema to compensate, but this is not a fatal omission for such a simple operation.

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 100%, and the schema already documents the action enum, default values, degrees range (-360 to 360), and the conditional use of degrees with action=custom. The description's mention of custom angle and standard rotations adds little beyond what the schema already provides.

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 clearly states the verb and resource ('Flip / Rotate Image') and enumerates the exact operations: horizontal/vertical flips, 90/180/270 rotations, and custom angle rotation. It is specific enough to distinguish from photo_resize or photo_crop, though it does not explicitly disambiguate from the broader photo_editor sibling.

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?

There is no explicit 'when to use this versus another tool' guidance. An agent can infer from the name and operation list that this is for flipping/rotating images, but the description never states exclusions or alternatives, leaving usage context 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources