StepFun MCP Server - Provides access to StepFun API services including text generation, vision/multimodal models, image generation, and text-to-speech synthesis.
StepFun MCP exhibits significant definition quality gaps. Tool names lack clear action verbs (stepfun_chat_completion vs create_chat_response). Descriptions are present but generic, averaging ~150 chars without actionable context on when to use each tool or what distinguishes them. Input schemas are visible but incomplete: parameters lack type constraints (e.g., 'messages' is array but no item schema; 'model' is string with no enum of valid models). Output schemas are undocumented, tools return TextContent but expected fields/structure are not specified. Error handling is minimal (generic 'try/except' returning error text). No parameter validation, no guidance on retryability, no distinction between recoverable vs fatal errors. The vision tool accepts complex nested content structures but provides no schema documentation for the expected message format.
调用 StepFun 文本大模型生成聊天回复。 Args: messages (list): 聊天历史,格式为 [{'role': 'user', 'content': 'xxx'}] model (str, optional): 模型名称,默认 step-1。 Returns: TextContent: 回复内容
调用 StepFun 文生图模型生成图片。 Args: prompt (str): 文本描述 model (str, optional): 模型名称,默认 step-1x-medium。 n (int, optional): 生成图片数量,默认1。 size (str, optional): 图片尺寸。 seed (int, optional): 随机种子。 Returns: TextContent: 图片存储的文件路径
调用 StepFun 语音合成(TTS)接口。 Args: text (str): 要合成的文本 voice (str, optional): 声音类型,默认 cixingnansheng。 model (str, optional): 模型名称,默认 step-tts-mini。 Returns: TextContent: 返回音频文件路径或URL
调用 StepFun 多模态大模型(支持图片+文本)。 Args: messages (list): 聊天历史,格式为 [{'role': 'user', 'content': ...}] model (str, optional): 模型名称,默认 step-1v。 Returns: TextContent: 回复内容
Tool names lack action verbs. 'stepfun_chat_completion' is passive; should be 'create_chat_response' or 'generate_chat_reply'. LLMs infer intent from verb-first naming.
Input schemas lack type constraints and enums. 'model' parameter accepts string but no enum of valid models (step-1, step-1v, step-1x-medium, step-tts-mini). LLMs will hallucinate invalid model names.
Output schemas undocumented. Tools return TextContent but expected fields (e.g., file path format, success/failure indicators) are not specified. LLMs cannot reliably parse responses.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 33 | <=2025-11-25 | v2 |
Error handling is generic. All exceptions caught and returned as 'TextContent(type="text", text=f"调用失败: {str(e)}")'. No distinction between retryable (rate limit, timeout) vs fatal (auth, invalid input) errors. LLM cannot decide next action.
Vision tool 'messages' parameter accepts complex nested structure (role, content with text/image_url parts) but no schema documents the expected format. LLM must infer from code inspection.