A full-stack web application for AI-assisted flower arrangement design with OAuth login, static hosting, and interactive flower/vase/background composition tools
Server has 11 tools with complete input schemas and descriptions in Chinese. Naming follows verb_noun pattern (list_flowers, search_flowers, place_flower, etc.). Descriptions are moderately detailed (50-150 chars typical) and explain WHEN to use each tool. However, parameter descriptions lack depth, many lack format constraints, ranges, or examples of valid values. Output schemas are not documented. Error handling guidance is absent. No tool annotations (readOnlyHint/destructiveHint) despite clear risk levels. Composition is sound: tools chain logically (search → place → adjust → export). Idempotency not addressed for destructive operations (clear_scene, remove_flower).
调整已插花的位置、倾角或层级。
清空花瓶中的所有花材。
导出当前花艺作品为 JSON 格式(包含背景、花瓶、花材、造景、所有位置和配色信息)。
导入之前导出的花艺作品 JSON,恢复完整的场景状态(背景、花瓶、花材、造景、位置)。
列出当前素材库中全部可选花材(含每个花型的全部配色变体)。返回 id、名称、配色 key、标签。想知道"现在有什么花可用"时先调用本工具;素材库会持续上新,每次调用返回的都是最新内容。
在花瓶中插入一朵花。可指定花材 id、配色 key、层级(1=后/高, 2=中, 3=前/低)、倾角。不指定则自动分配。
从花瓶中移除一朵花(按 uid)。
按关键词搜索花材(匹配名称与标签),返回匹配的花材及其配色。当用户描述想要的感觉(如"春天的""线条感的")时用本工具找候选。
Output schemas not documented. Tools like list_flowers, search_flowers, export_scene return data but LLM cannot predict field names, types, or structure. Forces LLM to guess downstream field mappings.
Parameter descriptions lack format constraints and ranges. 'angle' in place_flower accepts integer but no min/max stated (0-360? -180 to 180?). 'x' and 'y' in adjust_flower have no bounds. LLM may pass invalid values.
Destructive operations (clear_scene, remove_flower) lack confirmation or dry-run support. No error recovery guidance. LLM could accidentally clear entire scene without recourse.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
更换背景。id 可选:bg_plain素白 / bg_rice暖米 / bg_gray深灰 / bg_sage灰绿 / bg_ink墨蓝。
更换花瓶。必须用 "器型id:材质" 组合 key,可用组合见返回值或素材清单。换瓶后已插的花会自动按新瓶口重新落位。
放上或取下一件造景(溪石/枯枝/青苔/素面团扇)。造景是花瓶周围的点缀,不是花。
Tool annotations missing. Risk levels are declared in metadata (READ_ONLY, WRITE, DESTRUCTIVE) but not exposed as tool hints (readOnlyHint, destructiveHint). LLM cannot infer safety profile from tool definition alone.
Idempotency not addressed. Calling place_flower twice with same params likely creates two flowers. No deduplication key or idempotent operation pattern documented.