Skip to main content
Glama

火山方舟图片生成 plan/images/generations

plan_images_generations

Generates images from text prompts using the Volcano Ark Seedream model, saves them to a specified path, and returns them for agent review.

Instructions

火山方舟图片生成(端点 /api/plan/v3/images/generations,Seedream 文生图)。输入 prompt 与保存路径,生成图片并落盘,同时把图片直接返回给 Agent 查看。默认模型 doubao-seedream-5-0-flash,默认尺寸 1728x2304(宽x高,或 1K/2K/4K)。

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>",
      "output_path": "<output_path>"
    },
    "name": "plan_images_generations"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo随机种子,固定 seed 可复现同一张图
sizeNo图片尺寸,宽x高如 2048x1152,或 1K/2K/4K,默认 1728x2304
modelNo模型 ID,默认 doubao-seedream-5-0-flash
formatNo覆盖输出格式(默认跟随 output_path 扩展名)
promptYes生图提示词。图上要出现的文字用「」原样写进 prompt
watermarkNo是否加水印,默认 false
output_pathYes图片保存的绝对路径(.png 或 .jpg,格式跟随扩展名)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.9/5.0
Behavior4/5

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

No annotations exist, so the description must carry the behavioral load, and it discloses the two crucial side effects: the image is written to disk at output_path and is also returned to the Agent for inspection. It also names the default model and default size, which prevents surprise outputs; it omits any mention of auth, quota, or latency 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?

It puts the resource, endpoint, and model family first, then the input/output behavior, then the defaults; it is fairly dense and has no filler. It reads as one long span rather than separated points, but each clause provides useful information.

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?

This tool has 7 parameters, full schema coverage, and no output schema. The description compensates for the missing output schema by explaining that the image is both saved to disk and returned to the Agent; credential or quota behavior for a network image-generation call is the main remaining gap.

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 parameters are already documented in the schema. The description restates the model and size defaults that the schema already provides, but adds no extra nuance beyond what the schema states; baseline 3 applies.

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 (image generation, 文生图) plus the concrete endpoint (/api/plan/v3/images/generations) and the default model. No sibling tool on the list generates images, so no differentiation burden is unmet.

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 use case (give a prompt and a save path, get an image written to disk) but never explicitly says when to choose this rather than another capability, and gives no exclusions or prerequisites. Usage is inferable from the required parameters rather than stated.

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