Agnes Media MCP
{
"answer": "This server provides AI-powered image and video generation tools through the Agnes AI API, powered by the Image 2.1 Flash model.\n\nImage Generation:\n- agnes_image_generate: Text-to-image or image-to-image generation with exact pixel dimensions (e.g., 1024x1024, 1024x768). Supports passing image URLs for img2img.\n- agnes_image_generate_v2: High-resolution, high-information-density image generation using tiered sizes (1K–4K) combined with aspect ratios (1:1, 16:9, 9:16, 3:4, etc.). Also supports image-to-image.\n- agnes_image_edit: Edit or compose multiple images together via text prompts and reference images (local file paths or public URLs).\n\nVideo Generation:\n- agnes_video_submit: Submit a video generation task (text-to-video, image-to-video, or keyframe animation), returning a video_id for polling. Automatically aligns frames to the 8n+1 rule.\n- agnes_video_status: Query the current status of a video task by video_id.\n- agnes_video_wait: Poll a video task until completion, failure, or timeout, with configurable poll interval, optionally downloading the result.\n- agnes_video_generate: Combined submit + wait in a single call — returns the final video URL and optionally saves the MP4 locally.\n\nVideo tasks support configurable duration, resolution (e.g., 720p), aspect ratio, frame rate, and negative prompts. Generated images and videos are automatically saved to specified output directories."
}
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agnes Media MCPGenerate a 2K image of a cyberpunk city at night, 16:9"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agnes Media MCP
基于 FastMCP 的 Agnes 图像与视频生成 MCP 服务器(国内版)。
国内版 / 国际版说明: 本文档以国内版(
https://api.agnes-ai.cn/v1)为例。国际版请将AGNES_BASE_URL设置为https://apihub.agnes-ai.com/v1;请求参数和用法基本一致。⚠️ 注意:两个平台的账号不互通,API Key 不共用。 国内版 Key 无法在国际版端点使用,反之亦然。切换端点时必须在对应平台单独申请 Key。
本服务通过环境变量读取凭据,请勿将真实 API Key 放入版本控制文件。
这是什么?
本项目由两部分组成,配套使用:
组件 | 文件 | 作用 |
MCP Server |
| 执行层——接收工具调用,请求 Agnes API,保存生成结果 |
Skill |
| 决策层——告诉 AI Agent 何时激活、选哪个工具、如何构造 Prompt、如何展示结果 |
简单说:Skill 是大脑,MCP 是双手。只装 MCP 不装 Skill,Agent 不知道何时该调用这些工具;只装 Skill 不装 MCP,Agent 知道该做什么但没有工具可用。
Related MCP server: laozhang-image MCP
工作流程
流程概览:
用户请求 ─→ [② 包含 "agnes"?] ─否─→ 不激活,交给其他工具
│是
▼
③ 意图匹配 (Skill: When to Use)
│
▼
④ 决策规则 → 选择工具
├─ 标准图像 → agnes_image_generate
├─ 高分辨率 → agnes_image_generate_v2 (1K-4K + ratio)
├─ 图像编辑 → agnes_image_edit
└─ 视频 → agnes_video_generate / submit+wait
│
▼
⑤ 构造 Prompt + 语言策略 (auto / original / review)
│
▼
⑥ MCP Server 处理 (payload / Base64 / 8n+1)
│
▼
⑦ Agnes API (api.agnes-ai.cn/v1)
├─ 图像: 同步返回 b64_json / url
└─ 视频: video_id → 轮询 GET /agnesapi
│
▼
⑧ 保存文件 → outputs/images/ | outputs/videos/
│
▼
⑨ Agent 展示结果 (Markdown / 路径 / URL)
│
▼
⑩ 用户获得媒体文件Skill 层(②③④⑤⑨)负责触发判断、工具选择、Prompt 构造和结果展示;MCP 层(⑥⑧)负责协议适配;API 层(⑦)负责实际推理。
工具列表
工具名 | 说明 |
| 文生图 / 图生图( |
| 高信息密度图像生成( |
| 图像编辑 / 多图合成,通过 |
| 提交视频生成任务( |
| 查询视频任务状态( |
| 轮询任务直至完成、失败或超时 |
| 提交视频任务并等待完成(submit + wait 组合) |
完整安装配置指南
前提:已安装 uv(一行脚本即可安装,支持 Windows / macOS / Linux)。
第一步:安装 Skill
Skill 是一个 Markdown 文件,告诉 AI Agent 如何智能地使用本工具。将 SKILL.md 复制到你的 Agent 的 Skills 目录:
Hermes:
# 克隆仓库(或仅下载 SKILL.md)
git clone https://github.com/Ryderey/agnes-mcp-studio
# 复制 Skill 到 Hermes skills 目录
cp agnes-mcp-studio/SKILL.md ~/.hermes/skills/agnes-media-generation.md🇨🇳 国内用户: 若无法访问 GitHub,请改用 Gitee 镜像:
git clone https://gitee.com/zzol_wow/agnes-mcp-studio(内容完全一致,后文配置命令同理替换)。
Qoder / Cursor / 其他支持 Skill 的客户端:
将 SKILL.md 复制到对应的 Skills/Plugins 目录,或通过客户端的「安装 Skill」功能导入。
第二步:配置 MCP Server
在你的 Agent 配置文件中添加 MCP 服务器。
通用 JSON 格式(Claude Desktop / Cursor / Qoder):
{
"mcpServers": {
"agnes_media": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Ryderey/agnes-mcp-studio",
"agnes-media-mcp"
],
"env": {
"AGNES_API_KEY": "your_agnes_api_key_here"
}
}
}
}🇨🇳 国内用户: 将
git+https://github.com/Ryderey/agnes-mcp-studio替换为git+https://gitee.com/zzol_wow/agnes-mcp-studio即可。
Hermes YAML 格式:
mcp_servers:
agnes_media:
command: "uvx"
args:
- "--from"
- "git+https://github.com/Ryderey/agnes-mcp-studio" # 国内用户替换为 git+https://gitee.com/zzol_wow/agnes-mcp-studio
- "agnes-media-mcp"
env:
AGNES_API_KEY: "your_agnes_api_key_here"
AGNES_OUTPUT_DIR: "/absolute/path/to/outputs"
timeout: 600
connect_timeout: 60第三步:获取 API Key
登录 Agnes AI 控制台
进入 API Key 管理页面,创建并复制 Key
将 Key 填入上一步配置中的
AGNES_API_KEY
环境变量
变量名 | 必填 | 默认值 | 说明 |
| 是 | — | Agnes AI 平台 API Key |
| 否 |
| API 基础地址(国际版为 |
| 否 |
|
|
| 否 |
|
|
| 否 |
| 视频生成默认模型 |
| 否 | 源码树: | 生成文件输出目录(建议配置绝对路径) |
本地开发模式也可将变量写入 .env 文件(参考 .env.example,启动时自动加载)。切换国内 / 国际端点时,必须同时更换为对应平台签发的 Key。
第四步:验证
重启 Agent 后,确认 MCP 服务已连接:
# Hermes
hermes mcp list
hermes mcp test agnes_media其他客户端通常在设置界面可查看 MCP 连接状态。
可选:本地开发模式
如果你想修改源码或调试:
git clone https://github.com/Ryderey/agnes-mcp-studio # 国内用户:git clone https://gitee.com/zzol_wow/agnes-mcp-studio
cd agnes-mcp-studio
uv sync
cp .env.example .env # 编辑 .env 填入 API Key
uv run agnes-media-mcp可选:预装到本地(快速启动)
uvx --from git+... 首次启动需克隆仓库并安装依赖,可能耗时数十秒;若你的客户端 MCP 连接超时较短(如 WorkBuddy),建议先预装到本地:
# 一次性安装(国内用 gitee 源,海外用 github 源)
uv tool install --from git+https://gitee.com/zzol_wow/agnes-mcp-studio agnes-media-mcp安装后可执行文件位于 ~/.local/bin/agnes-media-mcp(Windows:%USERPROFILE%\.local\bin\agnes-media-mcp.exe),MCP 配置直接指向它,启动仅需约 2 秒:
{
"mcpServers": {
"agnes_media": {
"command": "C:\\Users\\<用户名>\\.local\\bin\\agnes-media-mcp.exe",
"args": [],
"env": {
"AGNES_API_KEY": "your_agnes_api_key_here"
}
}
}
}macOS / Linux 将
command换为~/.local/bin/agnes-media-mcp的绝对路径即可。后续升级只需重新执行uv tool install命令。
使用示例
安装配置完成后,在对话中提及 agnes 关键词即可触发。以下是实际对话示例:
Prompt 语言策略
Skill 默认在调用 Agnes 前将非英文描述优化为自然英文;这通常能让图像和视频模型更稳定地理解风格、镜头与构图。用户可随时通过自然语言覆盖默认行为:
模式 | 如何选择 | 行为 |
| 无需说明 | 自动翻译并优化为英文,不额外询问 |
| “不要翻译”“保留中文提示词” | 优化提示词,但保持原语言 |
| “先给我中英文版本选择” | 展示原文和英文版,等待用户选择后再调用 |
同一对话中明确设置的偏好会继续沿用。翻译会保留专有名词、数值、镜头要求及必须出现在画面中的原文文字;Agent 与用户的交流语言不会因此改变。
生成图像
你: 用 agnes 生成一张赛博朋克城市夜景,16:9 壁纸,2K 分辨率
Agent: 调用
agnes_image_generate_v2(size=2K, ratio=16:9)→ 返回图片文件你获得: 一张 2624×1472 的图像,保存在
outputs/images/目录
编辑图像
你: 用 agnes 把这张照片的背景换成星空,保持人物不变 [附图]
Agent: 调用
agnes_image_edit(image_paths=[你的图片], prompt=...)→ 返回编辑后的图片
生成视频
你: 用 agnes 做一个 5 秒的视频:一只猫在窗台上打盹,阳光慢慢移动
Agent: 调用
agnes_video_generate(duration=5, resolution=720p)→ 等待 30s~3min → 返回视频文件你获得: 一个 MP4 文件,保存在
outputs/videos/目录
触发规则
你说的话 | 是否触发 |
“用 agnes 画一只猫” | ✅ 触发(包含 agnes + 图像生成意图) |
“帮我生成一张图片” | ❌ 不触发(未提及 agnes) |
“agnes 是什么?” | ❌ 不触发(无生成意图) |
“AGNES generate a wallpaper” | ✅ 触发(不区分大小写) |
开发者参考
本地验证
uv run python -c "from agnes_media_mcp.server import mcp; print('import ok')"
uv run python -m pytest tests/ -vPython API 直接调用
以下为无需通过 Agent 的编程调用示例:
import asyncio
from agnes_media_mcp.server import agnes_image_generate, agnes_image_generate_v2, agnes_video_generate
# 标准图像生成
result = agnes_image_generate(
prompt="一只陶瓷咖啡杯放在钢制桌面上,柔和光线",
size="1024x1024",
)
# 高分辨率图像生成
result = agnes_image_generate_v2(
prompt="赛博朋克城市夜景,霓虹灯反射,电影质感",
size="2K",
ratio="16:9",
)
# 视频生成
result = asyncio.run(
agnes_video_generate(
prompt="缓慢推进镜头,玻璃雕塑在画廊中旋转",
duration=5,
resolution="720p",
aspect_ratio="16:9",
)
)Prompt 语言策略由 Skill 层执行。直接调用 Python API 或 MCP 工具时,
prompt会按原样发送,不会自动翻译。
agnes_video_wait和agnes_video_generate可能运行数分钟,测试时建议使用较短超时。
文档
详细 API 文档请参阅 docs/ 目录:
注意事项
Base URL 使用国内端点:
https://api.agnes-ai.cn/v1response_format必须放在extra_body内,不可置于请求体顶层图生图不使用
tags: ["img2img"],参考图通过extra_body.image传入agnes_image_generate_v2使用agnes-image-2.1-flash,支持1K–4K分级尺寸 +ratio宽高比视频
num_frames自动对齐8n+1规则(上限 441)视频状态轮询使用
video_id,端点为GET /agnesapi?video_id=<VIDEO_ID>视频结果 URL 从响应的顶层
url字段提取(实测),同时兼容metadata.url(官方文档示例)成功响应仅返回归一化关键字段,不返回完整
raw;HTTP 错误仍保留服务端响应正文mask_path参数会返回结构化不支持错误(当前文档未描述 mask 功能)超时响应包含
video_id和last_response,可稍后继续轮询
许可证
Available Tools
7 toolsagnes_image_editB
Edit or compose images through Agnes img2img using URLs or local files.
Uses agnes-image-2.1-flash by default. Pass image_paths as public URLs or local file paths. Multiple images enable multi-image composition.
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1024x1024 | |
| ratio | No | ||
| prompt | Yes | ||
| mask_path | No | ||
| extra_body | No | ||
| image_paths | Yes | ||
| return_base64 | No | ||
| output_filename | No | ||
| response_format | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the default model (agnes-image-2.1-flash) and multi-image composition, but lacks information about output format, side effects, authentication, or limitations. This is a significant gap for a tool of this complexity.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded, with three sentences covering purpose, model, and key parameter usage. It avoids fluff, though it could be slightly longer to accommodate the tool's complexity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the 9-parameter tool with no annotations requires richer guidance. The description only covers image_paths and the default model, leaving major aspects like prompt requirements, mask usage, output_format, and when to use size/ratio unaddressed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It only explains image_paths (URLs or local files) and mentions the default model; the remaining 8 parameters (prompt, size, ratio, mask_path, extra_body, return_base64, output_filename, response_format) are left unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with a specific verb+resource: 'Edit or compose images through Agnes img2img'. It distinguishes itself from sibling generation tools by focusing on editing/composing from existing images via image_paths.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for editing/composing rather than generating, but does not explicitly compare with alternatives like agnes_image_generate or mention when not to use this tool. It provides some usage context (URLs or local files) but no exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
agnes_image_generateB
Generate an image with Agnes Image 2.1 Flash and save returned image data when possible.
Supports text-to-image and image-to-image (via image_urls). Size accepts exact pixel dimensions such as '1024x768', '1024x1024', or '768x1024'.
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1024x1024 | |
| prompt | Yes | ||
| extra_body | No | ||
| image_urls | No | ||
| return_base64 | No | ||
| output_filename | No | ||
| response_format | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses the save behavior ('save returned image data when possible') and the supported input modes, but leaves the conditions of 'when possible' unclear and does not mention side effects, permissions, or failure modes. Some behavioral context exists, but major gaps remain.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, consisting of two sentences that front-load the primary purpose and include only necessary details. No redundant or filler content is present.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 7 parameters, no annotations, and an output schema. The description covers the core purpose and a couple of parameters, but does not provide enough context for advanced options (extra_body, response_format), the save behavior's conditions, or how the tool relates to siblings. The output schema exists, so return values need not be explained, but the tool remains under-described for its complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It adds meaning for the size parameter ('exact pixel dimensions such as '1024x768'') and for image_urls ('image-to-image (via image_urls)'), but does not describe the required prompt parameter, extra_body, return_base64, output_filename, or response_format. This leaves most parameters under-explained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly identifies the tool's action ('Generate an image') with a specific resource ('Agnes Image 2.1 Flash') and adds a secondary behavior ('save returned image data when possible'). However, it does not explicitly distinguish this from sibling tools such as agnes_image_generate_v2 or agnes_image_edit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage contexts by stating 'Supports text-to-image and image-to-image (via image_urls)', giving some idea of when to use the tool. However, there is no explicit when-to-use/when-not-to-use guidance or mention of alternatives like agnes_image_generate_v2, so the usage guidance remains implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
agnes_image_generate_v2A
Generate an image with Agnes Image 2.1 Flash optimized for high-information-density visuals.
Supports text-to-image and image-to-image (via image_urls). Size accepts tier values '1K', '2K', '3K', '4K' combined with ratio ('1:1', '3:4', '4:3', '16:9', '9:16', '2:3', '3:2', '21:9'). Legacy exact sizes like '1024x768' are also accepted.
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1K | |
| ratio | No | 1:1 | |
| prompt | Yes | ||
| extra_body | No | ||
| image_urls | No | ||
| return_base64 | No | ||
| output_filename | No | ||
| response_format | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must carry the full burden. It discloses input capabilities (text/image-to-image) and the model's optimization focus, but it gives no information about output behavior, side effects, costs, or limitations, leaving important behavioral aspects unexplained.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise (two sentences), front-loaded with the main purpose, and includes no filler. It packs relevant details about input modes and size formats, though slightly dense in the second sentence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For an 8-parameter tool, the description covers the core functionality and key parameters, and the presence of an output schema covers return values. However, several parameters (e.g., output handling) are not explained, and there is no mention of prerequisites or operational context, making it adequate but incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has 0% description coverage, but the description explains 'size' (tier values and legacy sizes) and 'ratio' (allowed ratios), and clarifies the role of 'image_urls' for image-to-image. Other parameters like 'extra_body', 'return_base64', 'output_filename', and 'response_format' remain undocumented, so the description only partially compensates.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool generates an image with a specific model version ('Agnes Image 2.1 Flash') and a distinct focus on high-information-density visuals. It distinguishes from image editing and video tools by name/verb, but it does not explicitly compare against the sibling 'agnes_image_generate'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides clear context on supported input modes: text-to-image and image-to-image via image_urls, plus acceptable size/ratio formats. However, it offers no explicit exclusions or directions on when to prefer this over sibling tools like agnes_image_generate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
agnes_video_generateA
Submit an Agnes video task and wait for completion.
Combines submit + wait into a single call. Returns the final video URL and optionally downloads the video file locally.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| image | No | ||
| prompt | Yes | ||
| download | No | ||
| duration | No | ||
| extra_body | No | ||
| frame_rate | No | ||
| resolution | No | 720p | |
| aspect_ratio | No | 16:9 | |
| negative_prompt | No | ||
| output_filename | No | ||
| timeout_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the transparency burden. It discloses key behaviors: the tool blocks until completion, returns the final video URL, and may download the file locally. It does not mention failure handling or polling details, but the core behavioral contract is communicated.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences and front-loaded with the core action. The first sentence states the primary purpose, and the next two add value about the combined behavior and return/download functionality. Every sentence earns its place with no redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description explains the main workflow and the return/download behavior, and an output schema exists so return details are not needed. However, with 13 parameters and zero schema documentation, the description leaves significant gaps about how to configure the video task, including mode, image, resolution, aspect ratio, and negative prompt.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema coverage is 0% and there are no parameter descriptions in the schema. The description only hints at one parameter-related behavior ('optionally downloads the video file') and mentions nothing about the other 12 parameters. It does not meaningfully compensate for the absent schema documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states a specific action ('Submit an Agnes video task and wait for completion') and identifies the resource ('Agnes video task'). It explicitly distinguishes itself from siblings by noting it 'Combines submit + wait into a single call', making the tool's unique role unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear context by stating it combines submit and wait, implying it is the all-in-one alternative to using agnes_video_submit followed by agnes_video_wait. However, it does not explicitly state when one would prefer the separate tools or provide exclusions, so it stops short of full guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
agnes_video_statusB
Fetch the current status for an Agnes video task by video_id.
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full responsibility for behavioral disclosure. 'Fetch the current status' is minimal and does not reveal whether this is a poll, whether it errors on unknown video_ids, or any other behavioral traits. There is no mention of return format or side effects, though the output schema may cover returns.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no redundant information. It is front-loaded with the verb and resource, making it easy to scan. Every word adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple status-fetch tool, the description is adequate but has clear gaps. It lacks usage context, such as when to call it relative to submission, and does not explain the status values. Given the simple schema and output schema, it is minimally viable but could be improved with workflow guidance.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has one parameter (video_id) with no description (schema_description_coverage 0%). The description only repeats the parameter name ('by video_id') without adding extra meaning like where to obtain it (e.g., from agnes_video_submit) or any format requirements. This does not sufficiently compensate for the low schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Fetch' with a clear resource 'current status for an Agnes video task' and identifies the key identifier 'video_id'. This clearly distinguishes it from siblings like agnes_video_submit, agnes_video_wait, and agnes_video_generate, which have different actions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. It does not mention that it is a non-blocking status check compared to agnes_video_wait, nor does it explain the typical workflow (e.g., after submitting a video task). The description implies a simple status fetch but gives no context or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
agnes_video_submitB
Submit an Agnes video task and return its video id for status polling.
Supports text-to-video, image-to-video (via image URL), and keyframe animation (via extra_body with mode='keyframes'). num_frames is aligned to the 8n+1 rule automatically.
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| image | No | ||
| prompt | Yes | ||
| duration | No | ||
| extra_body | No | ||
| frame_rate | No | ||
| resolution | No | 720p | |
| aspect_ratio | No | 16:9 | |
| negative_prompt | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of behavioral disclosure. It reveals the automatic alignment of num_frames to the 8n+1 rule and support for keyframe animation via extra_body, but does not mention authentication, rate limits, or failure behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is brief and front-loaded with the core purpose. The additional behavioral notes are useful, though the num_frames reference is extraneous and potentially confusing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 9 parameters with zero schema descriptions and no annotations, the description is insufficiently complete. It covers the return value and three modes, but leaves most parameters opaque and does not integrate with sibling workflow tools.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has no parameter descriptions, so the description must compensate. It explains the image parameter for image-to-video and extra_body for keyframe mode, but leaves many parameters like duration, frame_rate, and aspect_ratio unexplained. It also references 'num_frames' which is not a parameter in the schema, creating confusion.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb 'Submit' and resource 'Agnes video task', and clearly states the return of a video id for polling. This distinguishes it from sibling tools like agnes_video_status which likely only checks status.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the workflow of submitting a task and then polling status, which is clear context. However, it does not explicitly state when to use this tool versus agnes_video_generate or exclude any alternatives.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
agnes_video_waitB
Poll a video task by video_id until it completes, fails, or times out.
| Name | Required | Description | Default |
|---|---|---|---|
| download | No | ||
| video_id | Yes | ||
| output_filename | No | ||
| timeout_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description alone must disclose side effects. It mentions polling and timeout behavior, but omits that the tool may download the video (download defaults to true) and what happens on success or failure. This is minimal disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The entire description is a single clear sentence with no wasted words, front-loading the main action ('Poll') immediately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with five parameters and no annotation assistance, the description is too sparse. It does not explain the download behavior or configuration of timeout/polling, though an output schema exists for return values.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema has no descriptions (0% coverage), and the description only clarifies that video_id identifies the task. The meanings of download, output_filename, timeout_seconds, and poll_interval_seconds are left to name inference, which is insufficient compensation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'poll' with resource 'video task' and terminal conditions (completes/fails/times out). It clearly distinguishes this from sibling tools like video_submit (submitting) and video_status (single status check), making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool should be used when the agent needs to block until a video task reaches a terminal state. However, it does not explicitly state when not to use it or mention alternatives like agnes_video_status for one-time checks, so guidance is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
7 tool updates
v0.1.0- First observed
agnes_image_edit - First observed
agnes_image_generate - First observed
agnes_image_generate_v2 - First observed
agnes_video_generate - First observed
agnes_video_status - First observed
agnes_video_submit - First observed
agnes_video_wait
TDQS
Scored across 7 tools
The image tools are ambiguous: agnes_image_generate and agnes_image_generate_v2 both generate images using the same model, with v2 merely adding tier-based sizes while also accepting legacy sizes, making it unclear which to use. Additionally, agnes_image_edit overlaps with generate's image-to-image mode, adding further confusion.
Tools mostly follow an agnes_<resource>_<action> pattern, but agnes_video_status is a noun phrase rather than an action (e.g., check_status), and agnes_image_generate_v2 introduces a version suffix that breaks the pattern. These minor deviations make the set readable but not fully consistent.
Seven tools is within the ideal range for a media generation server. While there is some redundancy (image v1 vs v2, video generate combining submit+wait), the overall count is well-scoped and not excessive.
The server covers core image generation, image editing, and video generation workflows (submit, status, wait, generate). Minor gaps exist such as lack of task listing or cancellation, but the primary generation and polling lifecycle is complete for typical usage.
Maintenance
Related MCP Connectors
Generate, edit and upscale AI video and images from any agent via VicSee.
Manage ElevenLabs voice agents and generate speech, music, sound effects, images, and video.
AI image, video & audio generation tools for AI agents, powered by Varoriya.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Related MCP Servers
AlicenseAqualityBmaintenanceEnables AI agents to generate, edit, and upscale videos and images using VicSee's API, with support for multiple models and asynchronous task polling.743 npmMIT- AlicenseNot gradedqualityDmaintenanceEnables image generation and editing using laozhang.ai's OpenAI-compatible API, with tools for text-to-image and image-to-image transformations.MIT
- AlicenseAqualityDmaintenanceEnables image generation and editing using Volcengine Ark Doubao-Seedream models, with tools for text-to-image, image-to-image, editing, and result polling.421 npmMIT
- AlicenseAqualityDmaintenanceEnables video generation from text prompts or images using Agnes AI's video models, with async task submission and status polling.210 npm1MIT