Skip to main content
Glama
gimp-mcp-studio
by Onru-Labs

new_canvas

Create a blank GIMP canvas with specified width, height, color mode, fill color, and resolution, then open it in a display window for immediate editing.

Instructions

Create a new blank canvas in GIMP and open it in a display window.

Parameters:

  • width: Canvas width in pixels

  • height: Canvas height in pixels

  • name: Layer/image name (default: "Untitled")

  • color_mode: "RGB" (default), "RGBA", "GRAY", "GRAYA"

  • fill: Fill color for the background layer. Any CSS color name or hex string: "white" (default), "black", "transparent", "#FF5733", "rgb(100,200,50)", etc.

  • resolution: DPI resolution (default: 72)

Returns:

  • image_id: internal GIMP image ID

  • width / height: confirmed dimensions

  • color_mode: confirmed mode

  • display_opened: whether a GIMP window was opened

Examples:

  • new_canvas(1024, 1024) — white 1024x1024 RGB canvas

  • new_canvas(1920, 1080, name="Background", fill="black")

  • new_canvas(512, 512, color_mode="RGBA", fill="transparent")

Input Schema

NameRequiredDescriptionDefault
fillNowhite
nameNoUntitled
widthYes
heightYes
color_modeNoRGB
resolutionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does well to disclose that a GIMP window is opened and to return a display_opened flag, but it omits side effects an agent needs: whether the new image becomes the active/selected image, that the canvas is unsaved until save_xcf/export_image, and what happens on failure or if the server is not running.

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?

Front-loaded with a one-line purpose followed by Parameters/Returns/Examples sections, which is appropriately structured for a 6-parameter tool. Slightly redundant in that the three examples restate defaults already given in the parameter list, but the examples do add concrete call shapes.

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?

There is no output schema, so the explicit Returns block (image_id, confirmed dimensions, color_mode, display_opened) is genuinely necessary and present. The main gap is state-behavior around the newly created image and error conditions, but for a creation tool this is close to complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description fully compensates: every one of the six parameters gets meaning, defaults, and accepted value formats — notably the fill parameter's CSS color name/hex/rgb() syntax and the enumerated color_mode values, none of which are encoded in the schema (0 enums).

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 specific verb and resource — 'Create a new blank canvas in GIMP' — and adds the observable outcome 'open it in a display window.' This clearly separates it from siblings like open_image (existing files) and resize_canvas (modifying existing canvases).

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?

Usage is only implied: an agent can infer this is the entry point for starting from scratch rather than loading a file, but the description never says when to prefer this over open_image or when not to call it (e.g. if an image is already active). No prerequisites or alternatives are named.

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