Skip to main content
Glama

Image Edit

image_edit

Image Edit tools for the Draftless AI creative studio. Requires sign-in to run. Actions:

  • upscale_image: Upscale an image to higher resolution.

  • remove_background: Remove the background from an image and return a transparent PNG.

  • outpaint_image: Expand an image's canvas by a percentage on each side, filling the new area with AI-generated content.

  • reframe_image: Reframe an image to a new aspect ratio by outpainting new content on the sides (never cropping).

  • apply_relight: Relight an existing image: light direction, intensity, warmth and ambient fill, keeping subject and composition.

  • edit_image_inpaint: Edit an image inside a masked region: replace, remove, or restyle pixels covered by the mask while keeping the rest untouched.

  • composite_image: Add an image overlay (logo / badge / watermark), a text caption/label (true-type Inter, not bitmap), and/or a designed 'Powered by '

  • add_badge: The result is saved to your asset library and returned as a durable URL.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "image_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputNoArguments for the action (see discover.describe_action once signed in).
actionYesWhich operation to run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With annotations covering safety (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description adds real value: an authentication requirement, the fact that the tool calls a hosted AI service, per-action behavior such as 'expand an image's canvas by a percentage on each side' and 'never cropping', the guarantee that inpaint leaves unmasked pixels untouched, and the result behavior ('saved to your asset library and returned as a durable URL'). It omits cost, latency, and size limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The bulleted action list is the right structure and stays front-loaded. However, it has concrete structural flaws: the composite_image bullet is truncated mid-clause, and the sentence 'The result is saved to your asset library and returned as a durable URL' is attached to add_badge even though it applies to every action. An agent can still parse the intent, but the presentation wastes a bullet and misplaces output information.

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?

This is a dispatcher for a complex tool with eight actions, a nested argument object, and no output schema. The description covers each action's conceptual behavior and points to discover.describe_action for argument details; that covers what the agent needs conceptually. It does not explain required inputs for common actions, failure modes, or cost implications, so it is adequate rather than complete.

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%, and the enum values are effectively restated and explained one by one in the description, which helps. However, the nested 'input' object — which carries all per-action arguments — is documented only by a pointer to discover.describe_action, so the description never compensates for the fact that the actual argument names are invisible to the agent here. The baseline of 3 is the right landing point.

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 definition gives a specific verb and resource for each of the eight actions: upscale_image, remove_background, outpaint_image, reframe_image, apply_relight, edit_image_inpaint, composite_image and add_badge. The per-action glosses (for example, 'reframe ... never cropping' and 'replace, remove, or restyle pixels covered by the mask') let an agent select the right operation. However, it never distinguishes this tool from siblings such as generate or video_edit, and the composite_image bullet stops mid-sentence, so the add_badge line begins in the wrong place.

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 definition does state a prerequisite: 'Requires sign-in to run', and it points to discover.describe_action for per-action argument details. It also implies each operation is a distinct mode for a distinct task. Beyond that, it gives no guidance on when to choose a particular action over an alternative, and no guidance on when to use a sibling tool such as generate instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.