AutoFlow is an RPA (Robotic Process Automation) execution engine that executes workflows (Flows) composed of steps (Action + optional Check), producing queryable, replayable runs with artifacts. Exposes MCP tools for flow discovery, execution, querying, replay, and debugging.
AutoFlow provides 12 tools with complete input schemas and descriptions in Chinese. Naming follows verb_noun convention (list_*, run_*, get_*, replay_*, validate_*, search_*). However, descriptions lack LLM-optimization guidance (many exceed 200 chars, some use technical jargon without context). Parameter descriptions are present but inconsistent in detail. Output schemas are not explicitly documented in the visible code. Error handling is minimal, no recovery guidance or actionable error messages visible. Tools are well-composed (single responsibility) and support idempotent operations (run_flow with wait flag, replay_run). Missing: per-parameter type constraints (enums), output schema documentation, and error classification patterns.
读取运行产物文本(大输出以 __artifact__ 索引引用)。超出 max_bytes 截断并置 truncated=true
查看指定 Flow 的 YAML 源码、步骤结构及说明
按 run_id 查询运行状态与结果(运行中可见已完成步骤)
对比两次运行(如原始运行 vs 分叉重跑)在步骤状态、Check 断言及输出上的细粒度差异
列出已加载插件、已注册 Action/Check 及插件加载错误
列出 flows/ 内可用 Flow(name/description/steps)与无法解析的文件
按开始时间倒序列出最近运行(默认 20 条)
Output schemas not documented. Tools return RunResult, dict, or list but LLMs cannot see field structure. Forces LLMs to guess what fields are available for downstream tool chaining.
Descriptions lack LLM-optimization guidance. Many exceed 200 chars (e.g., run_flow at ~180, time_travel_run at ~150), use technical jargon ('分叉重跑', 'Check 断言'), and omit WHEN to use vs similar tools. Descriptions should be 50-200 chars with clear intent.
No error handling guidance. Tools return errors but do not tell LLMs what to do next (retry, ask user, lookup alternative). No error classification (retryable vs fatal) visible in code.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | 2026-07-28+ | v2 |
重放某次运行保存的请求,生成新的运行;wait 语义同 run_flow
执行 Flow:提供 flow_name(flows/ 目录内)或 flow_yaml(内联 YAML)之一。wait=true 阻塞返回 RunResult;wait=false 立即返回 run_id,用 get_run 轮询
检索 Flow Hub 流程市场上的精选开箱即用流程模板(SRE自愈、采集研报、安全调用链等)
时间旅行单步回放工具:从指定历史运行(run_id)的某一步骤(step_index)分叉重跑。run_to_completion=true 执行到底返回完整结果;run_to_completion=false 执行单步调试
校验 Flow YAML 语法与步骤结构有效性
Parameter constraints missing. 'limit' in list_runs has no min/max (baseline: 1-100). 'max_bytes' in get_artifact has no bounds. 'step_index' in time_travel_run has no validation. Free-form values invite hallucinated inputs.
Descriptions in Chinese may reduce LLM comprehension. English descriptions are standard for agent tool definitions. Chinese descriptions risk misinterpretation by English-trained LLMs.