Skip to main content
Glama

批量生成图片

generate_images

Generate images in batches with sequential calls to Agnes API; stop on error or continue to process all items and receive success, failure, and skip statistics for each.

Instructions

按顺序批量调用 Agnes 生成图片,默认遇错停止;可选择继续处理并返回每项成功、失败和跳过统计。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
concurrencyNo
continueOnErrorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
dataYes
messageYes
Install Server

TDQS

A4/5.0
Behavior5/5

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

描述补充了注释未覆盖的关键行为:按顺序执行、默认遇错停止、可配置继续处理并返回成功/失败/跳过统计。这些信息对调用方非常重要,且与 openWorldHint=true 等注释一致,无矛盾。

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?

描述为单句话,信息密度高且无冗余,先说明核心动作,再补充错误处理与返回统计。虽然紧凑,但结构不算条理化,较长的单句可能稍显拥塞。

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?

输出 schema 已提供返回统计的结构,注释也标记了副作用特性,描述则提供了调用策略(顺序、错误处理)。但 schema 覆盖率 0% 时,描述未能点明 items 参数的基础要求(如每项需 prompt 和 size),调用 agent 仍需完全依赖 schema。

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 描述覆盖率为 0%,描述需要补偿参数含义,但仅间接提到了 continueOnError('可选择继续处理'),未解释 items 数组的结构、prompt 和 size 要求,也未提及 concurrency 固定为 1。描述几乎没有为参数提供超出 schema 的额外含义。

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?

描述使用明确动词'批量调用 Agnes 生成图片',指明资源与动作,并强调'批量',与兄弟工具 generate_image 形成清晰区分。读者无需查看其他工具即可理解这是批量生成图片的工具。

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?

描述通过'批量'一词隐含适用于一次生成多张图片的场景,但未明确说明何时应改用 generate_image 或与其他兄弟工具的关系。没有给出 when-not-to-use 或替代工具的指引。

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ybd0612/agnes-image-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server