Two tools with basic schemas and descriptions, but significant gaps in parameter documentation and output schema clarity. upload_to_oss has a WRITE risk but no confirmation/dry-run pattern. Descriptions are present but generic (10-50 chars baseline; rubric expects 50-200 for LLM optimization). Parameters lack type constraints (enums, ranges). No output schema documented. Error handling returns raw error strings without recovery guidance. list_oss_configs has empty input schema (correct) but minimal description. Overall: functional but below production baseline.
列出可用的阿里云OSS配置
将文件上传到阿里云OSS
No output schema documented. Callers cannot predict response structure (URL format, config name field, error format). LLMs must infer from implementation.
upload_to_oss is a WRITE operation with irreversible side effects (file upload) but lacks confirmation/dry-run pattern. No guard against accidental uploads.
configName parameter accepts free-form strings with no enum constraint. Description says 'dynamic list' but LLM cannot see valid options at call time. Invites hallucinated config names.
Error responses return raw error strings ('上传失败: <error>') without recovery guidance. LLM cannot determine if error is retryable, user-fixable, or fatal.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 49 | <=2025-11-25 | v2 |
Tool descriptions are 10-50 characters (rubric baseline 50-200). Too short to guide LLM selection. 'list_oss_configs' description (28 chars) lacks context on when/why to call it.