Skip to main content
Glama

rotate

Rotate a character sprite from one view or direction to another. Accepts an image in base64 and parameters for view, direction, and size (16-128px).

Instructions

Rotate a single character sprite from one view/direction to another. Fixed sizes only: 16, 32, 64, or 128px. For generating all 8 directions at once use generate_8_rotations or create_character_8dir instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoSeed for deterministic generation (default 0)
to_viewNoCamera perspective
from_viewNoCamera perspective
isometricNoGenerate in isometric view (default false)
from_imageYesSource image
image_sizeYes16x16 to 128x128
init_imageNoInitialization image
mask_imageNoMask image
color_imageNoColor palette reference image
view_changeNoRelative view change (alternative to from/to_view)
to_directionNoCharacter facing direction
from_directionNoCharacter facing direction
direction_changeNoRelative direction change (alternative to from/to_direction)
oblique_projectionNoUse oblique projection (default false)
init_image_strengthNoInitial image influence strength (0-1000, default 300)
image_guidance_scaleNoSource image influence (default 3.0)
Behavior3/5

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

No annotations provided, so description bears full burden. It discloses fixed size restrictions (16,32,64,128px) but does not elaborate on behavior of other parameters (e.g., init_image, mask_image) or output expectations. Partially transparent.

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 short sentences, front-loads purpose, then adds key constraints and alternatives. No wasted words.

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?

Given 16 parameters and no output schema, description covers core purpose and alternatives but omits explanation of parameter combinations (e.g., view vs direction) and output format. Adequate but not rich.

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 100%, baseline 3 applies. Description adds only the fixed sizes constraint beyond schema descriptions. No additional semantics for other parameters.

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?

The description clearly states 'Rotate a single character sprite from one view/direction to another', specifying the verb and resource. It also distinguishes from siblings by directing to alternative tools for generating all 8 directions at once.

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

Usage Guidelines5/5

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

Explicitly states when to use (single sprite rotation) and when not to use (for all 8 directions, use generate_8_rotations or create_character_8dir). Provides clear context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rabbitcannon/pixellab-forge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server