DingTalk sister MCP service of intent-gate: blocking human-decision gates + group consensus channel for requirement intent alignment
5 tools with mixed quality. Naming is action-oriented (ask_human, list_pending, cancel_gate, group_dispatch, group_rebroadcast) but descriptions vary widely. ask_human, list_pending, cancel_gate have clear English descriptions (60-120 chars). group_dispatch and group_rebroadcast descriptions are in Chinese with domain-specific jargon, making them opaque to English-speaking LLMs. All tools have input schemas with types, but parameter descriptions are sparse or missing. ask_human has good param docs; group_dispatch/group_rebroadcast lack clarity on required vs optional fields and their semantic meaning. No output schemas documented. Error handling is minimal, no recovery guidance or categorization.
Escalate a low-confidence decision to the DingTalk group and block until a whitelisted human replies. Returns the human's answer, or a NO_REPLY fallback string on timeout.
Cancel a pending gate (e.g. the question became irrelevant).
登记并分发一道意图断层题到钉钉群(非阻塞,秒回)。feature 为 .harness/requests/ 下的需求名;category 用 📋(业务)/🔧(技术) 决定群里 @谁;severity 用 🔴(核心逻辑断层)/🟡(局部歧义,默认);options 至少 3 个互斥选项(有 recommend 推荐项可放宽);targets 是展示用昵称、at_user_ids 是真正 @ 的钉钉 userId。返回 token;答案到群后由 intent-gate 的 collect_answers 领取、resolve_question 核销(本服务只做分发与递送)。
会话恢复对账:未勾题汇总重发群(催单)。每次开工/用户说"继续"时先调它。答过但被吞的答案,人看到重播会重发。
List all gates currently waiting for a human answer.
group_dispatch and group_rebroadcast descriptions are entirely in Chinese with domain-specific terminology (意图断层, 钉钉群, 对账). English-speaking LLMs cannot parse these and will not select the tools appropriately. Descriptions must be in English or provide English translations.
No output schemas documented for any tool. ask_human returns 'str', list_pending returns 'str', cancel_gate returns 'str', group_dispatch returns 'dict', group_rebroadcast returns 'dict', but the structure of dict fields is not specified. LLMs cannot plan downstream calls or extract required IDs without knowing response structure.
group_dispatch parameters 'options', 'targets', 'at_user_ids' are marked default=null but described as required ('at least 3 mutually exclusive options'). Ambiguity between required and optional will cause LLMs to omit critical fields. Use required=true in schema or provide clear defaults.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | <=2025-11-25 | v2 |
ask_human has no documented error handling or recovery guidance. If DingTalk send fails, the tool cancels the gate and raises an exception, but the LLM is not told what to do next. Should return a structured error with retry guidance or fallback options.
list_pending returns a plain string ('no pending gates' or newline-joined list). This is unstructured and forces LLMs to parse text. Should return a structured array of gate objects with token, status, question fields.