Skip to main content
Glama

edit_image

Edit local images or historical Hi3D task images using text prompts, with optional model, aspect ratio, output path, and source task selection for subscription-based image refinement.

Instructions

Edit a local image or historical Hi3D task image on your Hi3D subscription.

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": {
      "prompt": "<prompt>"
    },
    "name": "edit_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
outNo
nameNo
promptYes
model_nameNoNano-Banana 2
image_pathsNo
aspect_ratioNo1:1
source_task_idNo
source_image_indexNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It states that editing happens on a Hi3D subscription but does not explain whether the original image is modified, whether a new asset is created, credit/cost implications, model behavior, file handling, or output characteristics.

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?

The description is a single front-loaded sentence with no filler, clearly leading with the action and input types. It is concise, though its brevity leaves the tool under-described for its complexity.

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?

For an 8-parameter image-editing tool with no annotations and no output schema, the description is far too thin. It does not explain how to choose between local image paths and historical task sources, how model_name or aspect_ratio affect results, or how output naming works.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, so the description must compensate. It only vaguely differentiates 'local image' from 'historical Hi3D task image', which hints at image_paths versus source_task_id/source_image_index, but says nothing about prompt, out, name, model_name, aspect_ratio, or the array/index constraints.

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 uses a specific verb ('Edit') and resource ('image'), and scopes it to local images or historical Hi3D task images. It does not explicitly distinguish this from siblings such as generate_image, so it falls short of full sibling differentiation.

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?

It implies the tool is for editing existing images, whether local or from a historical Hi3D task, and mentions the subscription context. However, it gives no explicit when-to-use guidance versus generate_image, no exclusions, and no prerequisites or alternatives.

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