Skip to main content
Glama

recraft_inpaint

Replace or regenerate specific image areas using a mask: white regions are redrawn, black regions stay unchanged. Use it to edit isolated parts of an image without affecting the rest.

Instructions

Edit specific regions of an image using a mask. White mask areas are regenerated, black areas are preserved. V3/V3 Vector only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of images to generate (1-6)
modelNoModel (V3 only)recraftv3
styleNoStyle name
promptYesWhat to generate in the masked region
controlsNoGeneration controls
style_idNoCustom style UUID
file_pathYesLocal path to source image
mask_pathYesLocal path to mask image (white=inpaint, black=preserve)
text_layoutNoText placement on image
negative_promptNoWhat to exclude
response_formatNoResponse formaturl

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior4/5

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

There are no annotations, so the description carries the full burden. It discloses the key behavioral effect: white mask areas are regenerated while black areas are preserved, which effectively indicates what gets replaced. The model restriction is also transparent, though other behavioral details like output format or number of variations are left to the schema.

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?

The description is two sentences with no filler. It front-loads the operation and immediately follows with the most important behavioral constraint (mask semantics) and model restriction.

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?

Given the rich 100%-covered schema, the description is reasonably complete for a tool of this complexity. It provides the core semantics and model constraint, and the schema fills in the parameter details. It could go further by guiding selection versus sibling tools, but nothing essential is missing for invocation.

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 the schema already documents all parameters. The description does not add much beyond what the schema provides, though it restates the mask_path behavior in plain language, which is mildly helpful.

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 that the tool edits specific image regions using a mask, and it usefully explains the mask color semantics (white regenerated, black preserved). It does not explicitly name the closest sibling such as recraft_erase_region, but the operation is specific and understandable.

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?

The description implies the intended use case: region-specific editing via a mask, with model restriction to V3/V3 Vector only. It does not explicitly state when to prefer this tool over siblings like recraft_erase_region or recraft_outpaint, nor does it give exclusions or alternatives.

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

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/muhammetali/recraft-mcp-server'

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