Skip to main content
Glama

edit_image

Creator+ plans can create images using reference images. Creator+ plans can create a new image guided by ThinkNova reference images, including a video first frame. Pass the selected reference_asset_ids. 按参考图生成首帧时传入选中的素材 ID。

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

Input Schema

NameRequiredDescriptionDefault
ratioNoOutput aspect ratio, for example 9:16, 16:9 or 1:1. Set this explicitly when requesting a format in the prompt. Store films default to 9:16; supported values depend on ThinkNova configuration. 输出画幅比例;提示词要求特定比例时必须传此参数,可选值由当前配置决定。
promptYes
max_creditsNoCreation budget cap from the last quote; reject before freezing if cost increases. 将报价金额作为建单上限,涨价先拒绝。
project_keyNo
visual_subjectNoUse customer_identity with edit_image or animate_image and account-owned references for real customer products, stores or people. Use generic for generic visuals even if narration mentions the store. 画面出现客户真实产品、门店或人物时传 customer_identity 并使用图生工具与参考图;通用空镜传 generic。
automation_run_idNoOnly for an explicitly authorized controlled automation run. 普通会话无需传入。
client_request_idYes
dialogue_languageNoLanguage of spoken dialogue for encoding checks; does not change the script. 台词语言,仅用于编码校验。
reference_asset_idNo
reference_asset_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, and it only adds the Creator+ plan requirement. It says nothing about credit consumption, whether the call is synchronous or returns a task to poll (despite get_task/wait_task siblings), whether outputs are frozen or reversible, or what happens when max_credits is exceeded – even though max_credits implies a quote/freeze workflow the description never mentions.

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

Conciseness2/5

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

The opening two sentences say essentially the same thing, 'Creator+ plans' is repeated, and the Chinese sentence duplicates the English sentence about reference asset IDs. The size is short, but the redundancy means little of it is front-loaded value; the first sentence could be cut entirely with no information loss.

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?

This is a 10-parameter generation tool with no annotations and no output schema, plus an implied credit-budget/quote workflow via max_credits and client_request_id. For that complexity the description is thin: it omits task lifecycle, cost behavior, and the meaning of the budget cap, leaving the agent unable to invoke the tool confidently in a real workflow.

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 50%, and the description only adds meaning for one parameter: reference_asset_ids ('Pass the selected reference_asset_ids'). Key parameters such as prompt, client_request_id, project_key, and reference_asset_id remain undocumented in both schema and description. The single hint about passing selected material IDs partially compensates but leaves most of the 10-parameter surface unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does convey the core action – creating an image guided by reference assets, including a video first frame – but it restates the same idea three times instead of sharpening it. It never reconciles the name 'edit_image' with the phrasing 'create a new image', so an agent cannot tell whether an existing image is modified or a new one is produced. It also does not distinguish this tool from generate_image or animate_image, which appear in the sibling list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only selection guidance is the eligibility gate ('Creator+ plans') and a single conditional hint: '按参考图生成首帧时传入选中的素材 ID'. There is no statement of when to choose this over generate_image or animate_image, and no prerequisites beyond plan tier. An agent must infer the reference-image precondition from the tool name alone.

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.

Resources