Skip to main content
Glama
Gzmomo001

SiliconFlow Image Generator MCP Server

by Gzmomo001

generate_image

Generate images from text prompts using SiliconFlow API and save them locally. Supports async polling, concurrent requests, and retries for reliable creation of blog covers and avatars.

Instructions

使用 SiliconFlow API 生成图片并保存到本地文件系统。 支持异步轮询获取图片,避免超时问题。 适用于博客封面、头像等各种场景的图片生成。

性能优化:

  • 支持并发控制(最多3个并发请求)

  • 自动重试机制(最多3次)

  • 智能错误处理和分类

  • 文件大小统计

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo使用的模型名称Qwen/Qwen-Image
promptYes描述想要生成的图片的详细提示词(建议100-800字符,英文效果更佳)
filenameYes保存的文件名,例如 'blog-cover-01.png'(必须包含扩展名)
image_sizeNo图片尺寸1664x928
output_dirNo图片保存的相对路径(相对于当前工作目录)./images
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It goes beyond a basic summary by mentioning asynchronous polling, concurrency control (max 3), automatic retry (max 3), intelligent error handling, and file size statistics. However, it does not disclose whether existing files are overwritten or what the return value looks like, which would be useful.

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 front-loaded with the main purpose and then provides additional context and performance optimizations. It is not overly long, though the bullet list could be condensed without losing value. Overall, it is well-structured and efficient.

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?

The tool has no output schema, so the description needs to clarify what the tool returns (e.g., file path, success message). It only says the image is saved to the local file system, leaving the return value ambiguous. The described behaviors and parameters are well covered, but the missing output information makes it incomplete.

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?

The input schema has 100% coverage for all five parameters, including descriptions, defaults, and enums. The description adds no extra parameter-specific meaning beyond the schema, so the baseline score of 3 is appropriate.

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?

The description clearly states that it generates images using the SiliconFlow API and saves them to the local file system. It also mentions asynchronous polling and use cases (blog covers, avatars), making the tool's purpose specific and distinct, even without sibling tools.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool (e.g., blog covers, avatars) and mentions performance optimizations like concurrency and retry. It does not explicitly exclude any scenarios or name alternatives, but since no sibling tools exist, this is acceptable.

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

Install Server

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/Gzmomo001/mcp-image-generator'

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