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. 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"
      +  ]
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already supply the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), lowering the disclosure bar. The description restates the available operations but adds little beyond that — it does not say whether the original file is overwritten, what output is produced, or any limits other than what the schema carries (25MB).

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?

A single front-loaded sentence plus a category tag; no wasted words and the core operation is stated immediately. The trailing '[category: photo]' is minor metadata rather than prose bloat.

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?

For a simple 3-parameter transform tool with no output schema and full annotation coverage, the description is adequate but thin. It omits any note on output behavior or how the result is returned, which is the main remaining gap given the schema already covers inputs.

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?

With 100% schema description coverage, the schema already documents file, action, and degrees in detail (including the no-hyphen note and the action=custom dependency). The description's mention of rotation angles and custom angle maps to the schema but adds no new parameter semantics, so the baseline of 3 applies.

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 names a specific verb+resource (flip/rotate an image) and enumerates the concrete operations available (horizontal/vertical flip, 90/180/270 rotation, custom angle). It is clear what the tool does, though it does not explicitly distinguish itself from nearby siblings like photo_crop, photo_resize, or photo_editor.

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 guidance on when to choose this tool versus alternatives such as pdf_rotate or the general photo_editor, nor any prerequisites or exclusions. The description only states capabilities, leaving the agent to infer usage context.

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