MCP server for electronic form generation and system dictionary management
work-mcp has significant definition quality issues. Both tools have reasonable Chinese descriptions, but lack English descriptions suitable for LLM-optimized tool selection. Parameter descriptions exist but are minimal (10-30 chars typical). Critical schema issues: form_rows parameter in generate_eform_html_structure uses an overly complex, ambiguous format ('each row format for: {"type": "double"or"single", "labels": [...]} or {"type": "single", "label": "标签"}') that invites parsing errors. The schema declares form_rows as type 'array' with items of type 'string', but the description contradicts this, suggesting objects. No output schemas are documented. Error handling is absent, tools return dict with success/message keys but no actionable recovery guidance. No parameter validation descriptions (e.g., length limits, allowed values for type field). Tool names are somewhat action-oriented (gen_sys_dict, generate_eform_html_structure) but Chinese descriptions reduce discoverability for English-speaking LLMs.
生成 sys_dict 的 insert 语句并插入数据库。
电子表单 HTML 结构生成工具。
Both tool descriptions are in Chinese only ('生成 sys_dict...' and '电子表单 HTML 结构生成工具'). LLMs default to English context; Chinese descriptions reduce tool discoverability and selection confidence. Descriptions lack WHAT the tool does in English, WHEN to use it, and what it returns.
form_rows parameter schema is internally inconsistent: JSON Schema declares items as type 'string', but description says 'each row format for: {"type": "double"or"single", "labels": [...]}', implying objects. LLMs cannot parse this ambiguity and will pass wrong types, causing runtime failures.
No output schemas documented. Both tools return dicts but the structure and fields are not specified. LLMs cannot plan downstream operations or extract the correct data from responses.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 35 | <=2025-11-25 | v2 |
| 2026-03-09 | F | 27 | - | v1 |
Parameter descriptions are minimal (10-30 chars) and lack validation rules. E.g., child_values is described as '子级 value 数组' (Chinese for 'child-level value array') without explaining valid string formats, length limits, or uniqueness requirements. form_rows lacks format documentation for row objects.
No enum constraints on 'type' parameters. gen_sys_dict accepts parent_type, self_type as free strings. generate_eform_html_structure's form_rows 'type' field is not constrained to 'single'|'double'. Enums are self-documenting and prevent hallucinated invalid values.
Error handling is absent. Tools may fail (e.g., database insert fails, invalid type structure) but provide no recovery guidance. Current code returns {"success": false, "message": "..."}. LLMs need actionable errors: 'Database insert failed. Verify parent_type exists and self_type is unique. Call list_sys_dict_types() to see available types.'
Irreversible operations lack confirmation. gen_sys_dict modifies database (INSERT); generate_eform_html_structure generates HTML that will be used in production forms. No dry-run, preview, or confirmation step. Agents may accidentally insert malformed data or generate invalid HTML.
Tool names are not English verb_noun format. 'gen_sys_dict' is abbreviated; 'generate_eform_html_structure' is overly long (31 chars, p90 baseline is 27). Prefer concise, clear action names like 'insert_sys_dict' and 'generate_form_html'.