Skip to main content
Glama

inpaint_v3

Edit pixel art by masking areas to generate or preserve content. White mask creates new pixels, black mask keeps original.

Instructions

Edit a specific region of a pixel art image using a mask. White mask = generate, black mask = preserve. Image 32-512px, optional context image up to 1024x1024. Preferred over legacy inpaint (which caps at 200px).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seedNoSeed for deterministic generation (default 0)
mask_imageYesMask (white=generate, black=preserve)
descriptionYesWhat to generate in the masked area
bounding_boxNoPrecise editing area within the image (deprecated)
crop_to_maskNoWhether to crop generated content to mask boundary (default true)
context_imageNoStyle guidance image (up to 1024x1024) (deprecated)
no_backgroundNoGenerate with transparent background
inpainting_imageYesImage to edit
Behavior3/5

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

No annotations provided, so description carries full burden. Explains mask color meaning and size limits, but does not disclose if operation is destructive, asynchronous, or requires authentication. Lacks behavioral details like how results are returned (likely job ID, as sibling tools suggest). Adequate but not comprehensive.

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?

Two sentences with no redundancy. First sentence states core action and mask semantics. Second provides constraints and comparison to legacy. Well front-loaded and efficient.

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

Completeness2/5

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

No output schema, and description does not mention return value (likely a job ID given sibling tools). Omits async nature, job polling, or how to retrieve results. For an 8-parameter tool, this is a significant omission, leaving the agent uninformed about post-invocation steps.

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 baseline 3. Description adds minimal extra value: only mentions deprecation for bounding_box and context_image (already in schema). No elaboration on seed, crop_to_mask, or no_background beyond schema. Fails to enhance semantic understanding significantly.

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?

Clearly states the tool edits a specific region of a pixel art image using a mask, with explicit mask semantics (white generate, black preserve). Distinguishes from sibling 'inpaint' by noting it is preferred and has higher resolution limit (512px vs 200px).

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?

Provides explicit preference over legacy inpaint and size constraints (image 32-512px, context image up to 1024x1024). However, lacks guidance on when not to use (e.g., for non-pixel art) or prerequisites (e.g., need a mask). Nearly complete but missing exclusionary criteria.

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