通义万相 MCP 服务器 (Tongyi Wanxiang MCP Server) - MCP server for Alibaba Cloud Tongyi Wanxiang text-to-image and text-to-video generation models
This server has significant structural issues in tool definition quality. While all four tools are explicitly registered with Zod schemas in src/index.ts, the definitions lack critical elements expected in production-grade MCP servers. Tool names use hyphenated prefixes (wanx-t2i-*, wanx-t2v-*) but follow a verb-like pattern (image-generation, video-generation, etc.). Descriptions are present but inconsistent in quality and depth. Input schemas are properly typed via Zod (z.string(), z.number()), which is positive. However, parameter descriptions in the schema definitions are minimal (e.g., 'Text prompt for image generation'), and output schemas are not documented. The tool descriptions mention dependencies between tools ('由于...需要调用') but this is stated in Chinese and lacks clarity for English-speaking LLM agents. Critical issue: tool 1 and 3 produce task IDs but there is no guidance in their descriptions on how to use those IDs with the result-fetching tools, this breaks the tool composition pattern. Error handling exists in the implementation (wanx-t2i.ts, wanx-t2v.ts) but error responses are not documented in tool descriptions, and recovery guidance is missing.
使用阿里云万相文生图大模型的文生图能力,由于图片生成耗时比较久,需要调用 wanx-t2i-image-generation-result 工具获取结果
获取阿里云万相文生图大模型的文生图结果
使用阿里云万相文生视频大模型的文生视频能力,由于视频生成耗时比较久,需要调用 wanx-t2v-video-generation-result 工具获取结果
获取阿里云万相文生视频大模型的文生视频结果
Descriptions are in Chinese (Simplified Mandarin), making them inaccessible to English-speaking LLM agents and non-Chinese-speaking developers. MCP servers should have English descriptions for cross-linguistic compatibility.
Tool composition is implicit but undocumented. Tools 1 and 3 return task IDs but provide no guidance in their descriptions on how to use those IDs with result-fetching tools 2 and 4. An LLM agent cannot infer this two-step polling pattern without explicit documentation.
Output schemas are not documented anywhere. It is unclear what fields wanx-t2i-image-generation returns (does it return just task_id? status? request metadata?) and what wanx-t2i-image-generation-result returns (image URL? base64? array of results?). LLMs cannot plan downstream actions without knowing the response structure.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 42 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 0 | - | v1 |
Parameter descriptions are minimal (average ~30 characters for all tools). For example, 'Text prompt for image generation' for the prompt parameter lacks context on prompt quality expectations, length limits, supported languages, or content policies. Production tools average 72 characters per parameter description.
Error handling is not documented in tool descriptions. The implementation (wanx-t2i.ts, wanx-t2v.ts) has error handling (e.g., 'throw new Error(error.response.data.message || "Failed to create task")'), but tool descriptions do not guide LLMs on failure modes, retry eligibility, or recovery steps. An LLM hitting a timeout has no guidance on whether to retry or ask the user.
The seed parameter in wanx-t2i-image-generation is optional and defaults to a random value if omitted. However, the description does not mention this default behavior, nor does it explain the valid range for the seed (the code clamps it to 0 - 4294967291, but this is not documented).
Tool descriptions assume familiarity with Alibaba DashScope and async polling. Phrases like '由于...需要调用' (because... need to call) are contextual but not actionable for LLMs unfamiliar with Alibaba's API patterns. A clear statement like 'This tool is asynchronous. It returns a task_id immediately. Use [result tool name] to poll for completion.' would be clearer.