Skip to main content
Glama
Tanod MCP Server

Tanod MCP Server

Official

image_rotate

Idempotent

Rotate or flip an image clockwise by a chosen angle, with optional horizontal, vertical, or both-axis mirroring for correcting orientation and creating mirrored variants.

Instructions

imagepeek: Rotate or flip an image. To change the format use image_convert. Returns the image rotated clockwise by angle (multiples of 90 are lossless transposes; other angles are bicubic, expanded by default, corners filled with background) and/or flipped (horizontal, vertical, both). Reads PNG, JPEG, WebP, GIF, TIFF, BMP, ICO and AVIF; other formats and images over 40 megapixels are refused (not charged). Output: base64 data_base64. Re-encoding strips EXIF, GPS, XMP and IPTC. Over 15 MB or 50 megapixels is a 413 (not charged). Images are not logged; a result is kept only with output "url" (24 h). Typically 0.5-2 s. Price: USD 0.002. Free: 3 imagepeek calls per IP per UTC day. Docs: https://tanod.dev/learn/image-rotate-api.html

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

Input Schema

NameRequiredDescriptionDefault
urlNoPublic http(s) URL of the image (at most 10 MB; private, internal and IP-literal hosts are refused); or use image_base64.
flipNoMirror after rotating: none (default), horizontal, vertical or both.none
angleNoDegrees, clockwise.
expandNoGrow the canvas to hold the whole rotated image; false keeps the size and clips the corners.
formatNoOutput format (default: the input's; ICO in, PNG out).
outputNobase64 (default): inline. url: stored for 24 hours; link, metadata.base64
qualityNoEncoder quality 1-100 (lossy formats).
backgroundNoFill for uncovered corners: #rrggbb[aa] or transparent (default transparent, or white without alpha).
auto_orientNoApply the EXIF orientation first.
image_base64NoThe image as standard or url-safe base64 (at most 10 MB decoded; a data:image/...;base64, prefix is fine); or use url.

Output Schema

NameRequiredDescriptionDefault
urlNo
flipNo
angleNo
bytesNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
inputNo
notesNo
widthNo
formatNo
heightNo
sha256No
sourceNo
final_urlNo
operationNo
expires_atNo
source_urlNo
data_base64No
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations by disclosing lossless 90-degree transposes vs bicubic expansion, EXIF/GPS/XMP/IPTC stripping on re-encode, accepted input formats, the 40 MP refusal and 413 thresholds with 'not charged' assurance, privacy ('images are not logged'), 24 h URL retention, latency and price. This is exactly the extra context annotations cannot carry.

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?

Dense single paragraph, front-loaded with the verb and the sibling redirect, then limits and cost. Each clause carries real information, though the run-on parenthetical covering angle/expand/background is harder to scan than a short bulleted structure would be.

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

Completeness5/5

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

For a 10-parameter, open-world, non-destructive transform tool with an output schema, the description covers capabilities, limits, failure modes, privacy, cost and latency. Nothing material an agent needs before invoking it is missing.

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%, so url, flip, angle, expand, background, quality and auto_orient are already documented. The description reinforces the interaction of angle/expand/background (clockwise rotation, corners filled with background) but adds little syntax or defaults beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb+resource ('Rotate or flip an image') and immediately distinguishes the closest sibling: 'To change the format use image_convert'. An agent can separate this from image_convert and pdf_rotate without inspecting either schema.

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

Usage Guidelines4/5

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

Explicitly routes format changes to image_convert, and the free-tier/wait-time notes clarify cost context for choosing it. It does not spell out when to prefer crop/resize or that non-90-degree angles lose quality versus a dedicated transform, so guidance is clear but not complete.

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

Deploy Server

Other Tools