Skip to main content
Glama

duddy-comfyui

GitHub License: MIT

让 AI 在你的 ComfyUI 画布上干活,但每一笔都要你点头。

不是「AI 生成一份 workflow JSON 然后 POST 过去」,而是:AI 先提交一份分步计划,你在 ComfyUI 界面右下角的弹窗里看清楚每一步要建什么节点、连哪根线,点「同意」之后,它才一步一个节点地在你的画布上长出来。你全程看得见,随时能喊停。

你在聊天里说「搭个文生图链路」
   ↓
AI 在聊天里讲计划:建哪些节点、怎么连、大概几步   ← 此时画布纹丝不动
   ↓
你说「做」
   ↓
duddy_plan_workflow   →  后端自动逐步执行到底
   ↓
画布上节点一个接一个长出来,右下角播报「第 3/12 步」+ 一个停止按钮

确认发生在聊天里,不发生在弹窗里。 弹窗只是播报牌,不需要你点任何东西。

两种模式

模式

怎么开

行为

auto(默认)

什么都不用做

计划一提交就自动跑完,画布实时可见,随时可停

manual

DUDDY_REQUIRE_APPROVAL=1

恢复审批闸门:必须等前端点「同意」,token 才有效

auto 模式下 duddy_plan_workflow 就是执行动作,不是提案。 所以"先问后做"全靠技能层约束(skills/duddy-comfyui/SKILL.md 里写死了),而不是代码闸门。 manual 模式下才有代码级强制——这是用 0 和 1 换来的自由度。


Related MCP server: ComfyUI MCP Server

为什么要有这东西

现有的 ComfyUI MCP 方案(mcp-comfy-ui-builder、comfyui-mcp、comfymcp 等)几乎都是同一个模式:

LLM 生成完整 API-format JSON  →  POST /prompt  →  直接开跑

问题在于:你的画布上什么都没发生。出图了,但你不知道它建了什么、连了什么线、参数对不对。想改?只能重来。这对学习、调试、复用都是灾难。

duddy 换个路子:不碰 /prompt,只碰画布。所有操作都通过 litegraph 在前端执行,等价于「有人替你拖节点、拉线」,你能看见过程。


核心机制:为什么 AI 绕不过去

这是本项目的设计核心,也是它和别的 MCP 最大的区别。

三根钉子

钉子一:token 只走 WebSocket,不进 HTTP 响应

POST /duddy/plan          → 返回 plan_id,**不含 token**
   ↓
后端 send_sync("duddy.plan.proposed", {plan, token}, sid=<浏览器>)
   ↓
只有那个浏览器标签页收到 token

AI 客户端用的是 stdio + HTTP,不持有浏览器那条 WebSocket。它拿不到 token,就调不动 POST /duddy/plan/{id}/approve。

钉子二:MCP 层刻意不提供 approve 工具

你去 mcp_server/server.py 里翻,只有 duddy_apply_step,没有 duddy_approve_plan。不是忘了写——是不给 AI 这个能力。

钉子三:状态机在服务端强制

core/plan.py 里,begin_step() 第一件事就是检查:

if plan.state not in ("approved", "applying"):
    raise PlanError("必须先获得人类批准才能执行", 403, "not_approved")

跳步(expected_index 不符)、重放(重复回报同一 index)、非法跃迁,全部 403/409。没有「尽力而为」。

诚实说明边界

这三根钉子防的是**「AI 偷懒跳过审批流程」**——这是真实且高频的问题,实测有效。

它不防「AI 恶意攻击你自己的电脑」。本机上任何 Python 进程本来就是完全权限,可以 rm 你的硬盘、改你的 ComfyUI 源码。任何声称能防住这点的设计都是骗人。要看代码,别只看承诺。


安装

一键装

python install.py

它会:

  1. 从运行中的 ComfyUI 的 /system_stats 读 argv,精确定位安装路径(比你猜路径靠谱)

  2. 在 custom_nodes/ 下建一个目录联接/软链(Windows 用 Junction,不用管理员权限,改代码即时生效)

  3. 往 ~/.workbuddy/mcp.json / Claude Desktop 配置里登记 MCP

  4. 告诉你下一步

参数:

python install.py --dry-run              # 只看不动
python install.py --comfy "D:/AI/ComfyUI_windows_portable"
python install.py --no-mcp               # 只装 ComfyUI 侧
python install.py --force                # 覆盖旧链接

手动装

# 1. 把 comfyui_duddy 放进 custom_nodes
#    Windows: mklink /J "ComfyUI\custom_nodes\duddy-comfyui" "本仓库\comfyui_duddy"
#    Linux/mac: ln -s "$PWD/comfyui_duddy" "ComfyUI/custom_nodes/duddy-comfyui"

# 2. 重启 ComfyUI,刷新浏览器

# 3. 验证
curl http://127.0.0.1:8188/duddy/ping

返回 {"ok": true, ...} 就通了。

接 MCP 客户端

WorkBuddy / Claude Desktop(install.py 自动写,手动的话):

{
  "mcpServers": {
    "duddy": {
      "command": "D:/AI/ComfyUI_windows_portable/python_embeded/python.exe",
      "args": ["D:/github/wuddy/duddy-comfyui/mcp_server/server.py"],
      "env": { "COMFY_URL": "http://127.0.0.1:8188" }
    }
  }
}

Hermes(~/.hermes/config.yaml):

mcp_servers:
  duddy:
    command: 'D:/AI/ComfyUI_windows_portable/python_embeded/python.exe'
    args: ['D:/github/wuddy/duddy-comfyui/mcp_server/server.py']
    env:
      COMFY_URL: 'http://127.0.0.1:8188'

MCP server 是零依赖的(只用标准库手写 JSON-RPC),所以直接用 ComfyUI 自带的嵌入式 Python 就行,不用另外配环境。


工具清单

工具

干什么

谁能调

duddy_ping

检查扩展在不在线

AI

duddy_plan_workflow

提交计划(只规划,不动手)

AI

duddy_plan_status

查状态、进度、下一步

AI

duddy_apply_step

执行下一步(必须已获批)

AI

duddy_list_plans

最近计划列表

AI

duddy_abort_plan

中止

AI

duddy_canvas_state

读当前画布快照

AI

duddy_events

事件流(排障)

AI

POST /duddy/plan/{id}/approve

审批

只有浏览器前端


计划怎么写

steps 里每一项是一个操作。别贪,一个节点一步、一条线一步——这样你在画布上才能看见它一个个长出来。

{
  "title": "最小文生图链路",
  "summary": "从零搭一条能出图的最短路径",
  "steps": [
    {
      "kind": "create_node",
      "title": "建 Checkpoint 加载器",
      "why": "整条链的起点",
      "args": { "type": "CheckpointLoaderSimple", "ref": "ckpt", "pos": [100, 200] }
    },
    {
      "kind": "create_node",
      "title": "建正向提示词",
      "why": "描述要画什么",
      "args": { "type": "CLIPTextEncode", "ref": "pos", "pos": [450, 120] }
    },
    {
      "kind": "connect",
      "title": "CLIP → 正向提示词",
      "why": "文本编码需要 CLIP",
      "args": { "from_ref": "ckpt", "from_slot": 1, "to_ref": "pos", "to_slot": 0 }
    }
  ]
}

关键:用别名(ref)而不是 node_id

规划时节点还不存在,AI 不可能知道 ComfyUI 会分配什么 id。所以:

  • create_node 必须给 ref(自己起名,如 ckpt)

  • connect / set_widget / move_node 用 from_ref / to_ref / ref 引用

  • 前端执行时维护 ref → 真实 node 的映射

这样 AI 只描述「谁连谁」,不会猜错 id,也不会因为顺序变化而全盘崩。

支持的 kind

kind

必填参数

说明

create_node

type

可选 ref pos widgets title color

connect

from_ref/from_slot/to_ref/to_slot

槽位从 0 开始

set_widget

ref widget value

改参数

move_node

ref pos

摆位置

delete_node

ref

删掉

note

—

纯注释,跳过


HTTP API

所有路由在 /duddy 前缀下。

方法

路径

说明

GET

/duddy/ping

存活检查

GET

/duddy/health

详细状态(客户端、画布、事件总线)

GET

/duddy/capabilities

能力表

POST

/duddy/client/hello

前端报到

POST

/duddy/plan

创建计划

GET

/duddy/plan/{id}

计划详情

POST

/duddy/plan/{id}/approve

审批(需 token)

POST

/duddy/plan/{id}/reject

拒绝

POST

/duddy/plan/{id}/step

执行下一步

POST

/duddy/plan/{id}/abort

中止

POST

/duddy/canvas/state

前端上报画布

POST

/duddy/canvas/applied

前端回报执行结果

GET

/duddy/events

事件流

WebSocket 事件(ComfyUI 原生 /ws):

事件

方向

携带

duddy.plan.proposed

后端 → 前端

plan + token

duddy.plan.approved

后端 → 前端

plan_id

duddy.canvas.op

后端 → 前端

一步操作

duddy.canvas.applied

后端 → 前端

执行结果

duddy.plan.done / failed

后端 → 前端

plan_id


已知陷阱:执行进度需要 client_id

ComfyUI 的 execution.py 里是这样发执行事件的:

if server.client_id is not None:
    server.send_sync("executing", {...}, server.client_id)

没有 client_id 时它什么都不发。 这意味着:

  • 浏览器点 Queue → api.queuePrompt 自动带 clientId → 进度正常

  • 脚本直接 POST /prompt → 必须自己带 "client_id": "xxx",否则 duddy_run_status 永远是 idle

不是 bug,是 ComfyUI 的设计(避免无谓广播)。写在这里免得下次又怀疑进度模块坏了。

排障

/duddy/ping 连不上

  1. ComfyUI 重启过吗?(自定义节点只在启动时扫描)

  2. custom_nodes/duddy-comfyui 存在吗?

  3. 控制台有没有 [duddy] v0.1.0 ready?

弹窗不出来

  • F12 控制台看有没有 [duddy] extension setup

  • 没有 → 前端扩展没加载,硬刷新(Ctrl+Shift+R)

  • 有但没有弹窗 → duddy_events 看 duddy.plan.proposed 发出去了没

apply 一直 403

  • 这是正常拦截。说明你还没点「同意」。

  • 去 ComfyUI 页面右下角找弹窗。

节点建不出来

  • 前端回报 unknown_node_type 说明缺插件,去 ComfyUI-Manager 装

  • connect_rejected 说明类型不匹配,看回报里的 from.type / to.type


能力矩阵

能力

状态

说明

画布建节点 / 连线 / 改参数 / 移动 / 删除

已实现

litegraph 原生操作,实时可见

节点知识库

已实现

从运行时注册表同步,本机 1301 个类型

计划预检

已实现

类型 / 参数名 / 模型文件三重校验,动手前拦截

执行进度

已实现

hook send_sync,节点级 + 步数 + ETA

实时日志

已实现

logging Handler + stdout 劫持

文件变更监控

已实现

零依赖轮询,2s 间隔

失败回滚

已实现

撤销已建的节点和连线

代跑图

已实现

execute kind,graphToPrompt + queuePrompt

subgraph / group

未实现

返回 skipped

路线图

  • M0 骨架 + WebSocket 事件总线 + 安装器

  • M1 plan / approve / apply 强制闸门 + 节点逐条长出

  • M2 画布能力补全(delete/batch/group)+ 位置自动排布

  • M3 执行进度追踪(跑到第几步、哪个节点、ETA)

  • M4 实时日志流(侧栏滚动、按级别过滤)

  • M5 文件监控(custom_nodes / models 增删改即时感知)

  • M6 节点知识库(从 /object_info 自动同步,规划不瞎编)

  • M7 技能包 + 跨客户端一键接入

  • M8 文档 + 发布


协议版本

duddy/1。事件里都带 v、seq、ts、type、data。

License

MIT。拿去改,改成你自己的也行。

Available Tools

16 tools
duddy_abort_planB

中止一个尚未完成或已失败的流程。用户说「停」时立刻调。

NameRequiredDescriptionDefault
reasonNo
plan_idYes

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full disclosure burden, and it does not say what aborting actually does: whether in-flight steps are stopped, whether partial work is rolled back or left in place, whether the plan can be resumed, or whether the operation is idempotent. The only behavioral cue is the urgency of 'call immediately,' which is not about side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short clauses, front-loaded with the action and its condition, with no filler. It is efficient, though the extreme terseness is under-specification rather than deliberate economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-mutating tool with no annotations, no output schema, and zero parameter documentation, the description is too thin. An agent still cannot tell what state the plan ends in, what the call returns, or why it should pick this over duddy_rollback_plan.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description would need to compensate, yet it never mentions either parameter. 'Flow' weakly implies plan_id targets the thing to abort, but the optional 'reason' field and the identifier format are entirely unexplained in both structured fields and prose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: abort a plan that has not completed or has failed ('中止一个尚未完成或已失败的流程'). It is distinguishable from read-oriented siblings like duddy_plan_status, but it does not clarify how it differs from duddy_rollback_plan, which is the closest alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete trigger conditions: the plan is incomplete or failed, and the user says 'stop', in which case it should be called immediately. It stops short of naming when NOT to use it (e.g., prefer duddy_rollback_plan to undo a completed plan's effects), so no exclusions or explicit alternatives are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_apply_stepA

【第二步·逐个动手】执行计划的下一步,一次只走一步。

前置条件:用户已经在 ComfyUI 弹窗里点了「同意」,plan.state == approved/applying。 如果返回 403 not_approved,说明用户还没批准。此时你必须停下来,告诉用户「请在弹出的窗口里点同意」,然后等待。 严禁尝试其它方式绕过(直接 POST /prompt、写 workflow 文件、批量推送都不行)。

返回里会告诉你这一步建了/连了什么、真实 node_id、剩余步数。把结果用一句话回报给用户,再决定要不要继续下一步。

NameRequiredDescriptionDefault
plan_idYes
expected_indexNo你期望执行的步骤序号(从 0 开始)。填了可以防止跳步,建议总填

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does disclose key behavior: one-step-at-a-time execution, a specific failure mode and HTTP code (403 not_approved) with the required agent response, and the shape of the returned result (what node was created/connected, real node_id, remaining step count). It does not state whether applied steps are reversible or what happens if a step fails mid-plan, so it stops short of full behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, then a clearly separated prerequisites block and an error-handling block, which is easy to scan. Some wording is redundant (restating that the result should be reported to the user in one sentence), but overall it is proportionate to the risk of the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description covers prerequisites, error behavior, the return payload, and the agent's follow-up obligation. The missing piece is how to obtain plan_id and whether calling a step twice is safe, which matters given the sequencing semantics.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: plan_id has no schema description at all, and expected_index is documented only in the schema (as an anti-skip guard). The description never explains where plan_id comes from or when to pass expected_index, so it does not compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: execute the next step of a plan, one step at a time, and labels itself as 'step 2' in a sequence, so an agent can distinguish it from planning/status siblings such as duddy_plan_status or duddy_precheck_plan. It falls short of a 5 because it never names those siblings explicitly as the tools to use for checking prerequisites.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use (plan.state == approved/applying and the user has clicked approve in the ComfyUI dialog), explicit when-not (403 not_approved means stop and tell the user to approve), and explicit forbidden alternatives (no direct POST /prompt, no writing workflow files, no batch pushing). This is unusually complete routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_canvas_stateA

读取用户当前画布的快照(节点数、连线数、完整 graph)。规划前先看一眼现有画布,避免重复建节点或位置重叠。

NameRequiredDescriptionDefault
include_graphNo是否返回完整 graph JSON(可能很大)

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description must carry the behavioral burden. It signals a read-only snapshot and enumerates the returned counts, which is useful, but it does not state permission requirements, whether the graph payload can be large or slow (that caveat lives only in the parameter schema), or how large canvases affect the response.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, no filler: the first enumerates what is returned and the second states the trigger condition and its purpose. Everything the agent needs is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, single-parameter read tool with no annotations and no output schema, the description adequately enumerates the return shape (node count, edge count, graph). Minor gaps remain around payload size and read-only guarantees, but nothing essential for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With one parameter at 100% schema coverage, the schema already explains include_graph and its default, so the baseline is 3. The description's mention of the '完整 graph' in the snapshot hints at what the flag controls but does not add syntax, cost, or guidance beyond the schema's own note that the payload may be large.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a clear verb and resource ('读取用户当前画布的快照') and specifies the returned contents ('节点数、连线数、完整 graph'), so it is distinguishable from siblings such as duddy_search_nodes or duddy_node_info. It does not name any sibling explicitly, but the scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'规划前先看一眼现有画布' gives an explicit precondition for use, tied to planning tools like duddy_precheck_plan and duddy_plan_workflow, and states the rationale ('避免重复建节点或位置重叠'). It lacks an explicit when-not or a named alternative to prefer instead, which keeps it below 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_eventsB

最近的事件流,排查「为什么没反应」时用(弹窗没弹、前端没回报等)。

NameRequiredDescriptionDefault
limitNo
prefixNoduddy.

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the full behavioral burden, but it only says the events are 'recent' – no time window, ordering, volume cap, or whether the stream is a snapshot versus a live tail. It also doesn't disclose the read-only nature or the cost/rate implications of pulling events, leaving an agent with no basis for predicting behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence with the resource front-loaded and a parenthetical of example symptoms; nothing is wasted. It is arguably too terse rather than too long, but the structure itself is clean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and 0% parameter documentation, the description has to do all the work and does not. An agent knows roughly why to call it but not what it will get back (event shape), how far back 'recent' reaches, or how the prefix and limit affect results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, and the description never mentions them. The default prefix of "duddy." silently scopes which events are returned and limit (default 30) controls how far back the agent looks – both are consequential and completely unexplained, so the description fails to compensate for the schema gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"最近的事件流" names a specific resource (an event stream) and the scenario it serves (diagnosing 'why is there no response'). It is clear what the tool returns, but it never distinguishes itself from the overlapping sibling duddy_get_logs, which an agent could easily pick instead.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives an explicit trigger condition with concrete symptoms (popup did not appear, frontend did not report back), which is real when-to-use guidance. It stops short of naming exclusions or the alternative diagnostic siblings (duddy_get_logs, duddy_run_status, duddy_canvas_state), which is the main gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_fs_changesA

最近哪些文件变了:新增/修改/删除了哪些模型、插件、工作流。用户说「我刚装了个节点」或者怀疑文件被改时用。

NameRequiredDescriptionDefault
limitNo

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden; it does disclose the change categories and that additions, modifications, and deletions are all tracked, which is useful context beyond the name. It never states whether the call is read-only, what time window 'recently' means, what directory or workspace is scanned, or how results are ordered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler: the capability statement comes first and the usage triggers second. Nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only listing tool with no output schema and no annotations, the description gives a reasonable picture of what categories of change come back, but leaves the recency window, result ordering, and the undocumented limit parameter unaddressed. It is adequate but not complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter 'limit' has no schema description (0% coverage) and is never mentioned in the description, so its meaning, default of 10, and whether it caps results per category or overall are left entirely implicit. The description should have compensated for the coverage gap and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource and scope: recent file changes broken down into added/modified/deleted models, plugins, and workflows. That is specific enough to separate it from generic siblings like duddy_events or duddy_get_logs, though it never names those siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives two concrete trigger scenarios — the user saying they just installed a node, or suspecting files were modified — which is clear when-to-use guidance. It stops short of saying when NOT to use it or pointing to an alternative tool for adjacent questions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_get_logsA

读 ComfyUI 的运行日志(包含节点里的 print)。出图报错、加载失败、卡住不动时,先看日志再猜原因。

NameRequiredDescriptionDefault
levelNoERROR / WARNING / PRINT 等,可空
limitNo
containsNo只返回包含该子串的行

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations at all, the description carries the full burden. It usefully discloses that node-level print output is included, but says nothing about whether access is read-only (only implied by '读'), whether output is tail-truncated, how entries are ordered, or whether logs survive restarts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, zero filler: the first states what is returned, the second states when to reach for it. Front-loaded and easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (3 optional params, no output schema), and the description covers what comes back and why to call it. It still leaves key call-shaping behavior — how limit bounds the response and in what order lines arrive — unaddressed for an agent deciding how to invoke it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67%: level and contains are documented in the schema, but limit has only a default of 80 with no explanation. The description mentions no parameters at all, so it adds nothing about what limit counts (lines vs. entries) or how filtering interacts with it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('读 ComfyUI 的运行日志') and narrows scope with a useful detail ('包含节点里的 print'). This distinguishes it from a generic event feed like duddy_events, though the description never names that sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete triggering situations ('出图报错、加载失败、卡住不动') and an explicit ordering rule ('先看日志再猜原因'), which tells the agent to consult this before hypothesizing. It stops short of naming alternatives such as duddy_run_status or duddy_events for related states.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_list_modelsA

列出模型文件。不带 folder 时返回所有模型目录名;带 folder 返回该目录下的文件名。写死模型名之前查一下,避免文件不存在。

NameRequiredDescriptionDefault
folderNo如 checkpoints / loras / vae / diffusion_models / text_encoders

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden, and it does disclose the key behavioral trait: the return value changes shape based on whether folder is supplied (directory names vs. filenames). It does not state read-only safety, sorting, recursion, or what happens for an invalid folder name, so a small gap remains for a mutation-free listing tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short clauses, each earning its place: what it does, how the two modes differ, and why an agent should call it. Front-loaded with the purpose and no redundant restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single optional-parameter, read-only listing tool with no output schema, the description covers purpose, both return modes, and the motivating use case. Nothing an agent needs in order to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already enumerates example folder values (checkpoints / loras / vae / etc.). The description adds meaning beyond that by defining the semantics of omitting the parameter entirely — a behavior the schema does not express.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource ('列出模型文件' / list model files) and immediately explains the two modes of operation: no folder returns model directory names, with folder returns filenames in that directory. This is clear enough to distinguish it from all listed siblings (plans, logs, canvas, node info), though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete when-to-use guidance: check this before hardcoding model names to avoid referencing nonexistent files. That is an actionable trigger. It stops short of a 5 because there is no when-not-to-use guidance or named alternative, though in this case no sibling tool appears to overlap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_list_plansB

列出最近的计划及其状态。用户问「刚才那个计划呢」时用。

NameRequiredDescriptionDefault
limitNo

TDQS

B3/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses only that plans and statuses are returned. It says nothing about ordering (recency?), how 'recent' is bounded, whether the call is read-only/paginated, or what a plan record contains, leaving the agent to guess at behavior on a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the usage trigger; no filler. The second sentence is slightly informal but still earns its place as routing guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter list tool with no output schema and no annotations, the bar is low but the description still omits what makes the list 'recent', the meaning of limit, and any hint of the returned record shape. It is adequate to select the tool but not to call it with confidence.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one parameter, limit, with 0% schema description coverage, so the description must explain it and does not mention it at all. The agent cannot tell from either source what limit counts (plans, days, pages) or its default of 10.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource (列出最近的计划) plus what is returned (及其状态), so the agent knows this is a listing operation over plans. It does not name or differentiate from siblings such as duddy_plan_status or duddy_precheck_plan, which is the only thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives one concrete trigger scenario (用户问「刚才那个计划呢」时用), which is better than nothing, but it offers no when-not guidance and never points to alternatives in a sibling set that contains several plan-related tools. An agent must still infer that duddy_plan_status is for a specific known plan.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_node_infoA

查某个节点类型的完整定义:需要哪些输入、有哪些 widget、可选值是什么、输出什么。写 widgets 之前必须查,否则参数名写错会直接失败。

NameRequiredDescriptionDefault
node_typeYes

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the burden. It discloses that the tool is a read-only definition lookup, what fields the response covers ('输出什么'), and the failure mode for not calling it first. It does not state whether an unknown node_type errors or returns empty, nor whether the response is cached or rate limited.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with the return contents and followed by the operational imperative. No filler, no restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter lookup with no output schema, the description adequately covers what is returned and why the call matters. It leaves a gap on how to obtain a valid node_type, which is the only real prerequisite for invoking it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single node_type parameter, so the description must compensate. It conveys that the argument is a node type but never specifies the expected string format (kind vs. label), nor how the agent should discover valid values, presumably via duddy_search_nodes or duddy_canvas_state.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('查某个节点类型的完整定义') and then enumerates the exact contents of the returned definition: required inputs, available widgets, enum values, and outputs. This lets an agent know precisely what it gets from the call. It stops short of 5 because it never contrasts itself with the sibling duddy_search_nodes, which an agent could plausibly confuse with a node-type lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is explicit and operational: '写 widgets 之前必须查' tells the agent exactly when to invoke the tool, and '参数名写错会直接失败' explains the cost of skipping it. There is no explicit when-not or named alternative (e.g., duddy_search_nodes for discovery), which keeps it below 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_pingA

检查 duddy 扩展是否在线。第一次接触 ComfyUI 时先调这个,能立刻区分「ComfyUI 没开」和「扩展没装」两种故障。

NameRequiredDescriptionDefault

No parameters

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations and no output schema, the description carries the full behavioral burden. It discloses the diagnostic behavior and the two failure modes it separates, which implies a safe read-only check, but it does not state the return shape, side-effect guarantees, or latency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with the core action and then the first-use rule. Every sentence contributes useful routing or diagnostic context with no wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter health check, the description supplies the key context: when to call it and which failures it disambiguates. However, because there is no output schema and no annotations, it does not define what a successful or offline result looks like, leaving return semantics to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters and schema description coverage is 100%, so there is no parameter meaning for the description to add. The baseline for a parameterless tool is 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: it checks whether the duddy extension is online. It identifies the tool as a connectivity/health check rather than an event, planning, canvas, or log operation, so it is easy to distinguish from the sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit timing guidance: call this first when first interacting with ComfyUI. It also explains the intended diagnostic use, distinguishing 'ComfyUI not running' from 'extension not installed'. It does not name explicit alternatives or when-not-to-use conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_plan_statusA

查某个计划的状态与进度。执行每一步之前都应该先看一眼,确认 state 是 approved 或 applying,以及 cursor 指向第几步。

NameRequiredDescriptionDefault
plan_idYes

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full disclosure burden. It usefully reveals domain-specific behavioral facts — the state values 'approved'/'applying' and the cursor field indicating step position — which an agent cannot get from structured data. However, it doesn't state the return shape, whether state can be other values (e.g., aborted, done), or what to do when the gate fails.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences with the purpose front-loaded and the operational guidance immediately following. Nothing is redundant, though the gating conditions could be formatted more scannably.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with no output schema, the description supplies the essential operational context: what it reports and the preconditions to check before proceeding. The main omission is the possible set of state values and failure handling, which matters given this tool acts as a gate for duddy_apply_step.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter plan_id is undocumented in both schema and description; the description only implies it refers to the plan being inspected. The parameter name is largely self-explanatory, so the gap is modest rather than severe.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ("查某个计划的状态与进度" – check a plan's status and progress), which is clearly distinguishable from the mutation siblings like duddy_apply_step and duddy_abort_plan. It doesn't explicitly contrast itself with duddy_run_status, the closest sibling, leaving a small ambiguity about plan status vs. run status.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is stated concretely: check before executing each step, and verify that state is 'approved' or 'applying' and that cursor points to the intended step. That is a real when-to-use gate rather than vague advice. It stops short of naming alternatives (e.g., duddy_precheck_plan, duddy_run_status) or stating when-not to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_plan_workflowA

【第一步·只规划,绝不动手】把你想在画布上做的事写成一个分步计划,推送给用户的 ComfyUI 界面,等待用户点击「同意」。

硬性要求: · 每个 step 只做一件事,粒度要细(一个节点一步、一条连线一步) · create_node 必须给 ref 别名,后续 connect/set_widget 用别名引用,不要猜 node_id · connect 用 from_ref/from_slot → to_ref/to_slot · 每步给 title(人类可读)和 why(为什么需要这一步)

调用后你会拿到 plan_id 和 state=proposed。此时什么都不会发生,直到用户在弹窗里点同意。 直接把 narration 字段念给用户听,然后停下来等。

NameRequiredDescriptionDefault
notesNo风险提示/前置条件,可空
stepsYes按执行顺序排列的步骤
titleYes计划标题,一句话,人类可读
summaryYes这个计划要达成什么,2-3 句

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With zero annotations, the description carries the safety burden well: it explicitly says the call performs no mutation and returns plan_id plus state=proposed, and it tells the agent to read the narration field back to the user and then halt. Prerequisites such as what happens on rejection or how a pending plan is aborted/expired are not covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a bracketed one-line summary, followed by a tight bullet list of hard rules — every line carries operational weight. The final line about reading the narration field slightly mixes return-handling with planning rules, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a planning tool with no output schema, it covers the essential lifecycle: what is produced (plan_id, state=proposed), what the user must do, and how the agent should behave afterward. The gap is the downstream path — no mention of checking status, applying steps, or rolling back a proposed plan.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the top-level fields, but the critical 'steps.args' object is untyped, so the description does real work: one action per step, create_node must carry a ref alias, connect uses from_ref/from_slot → to_ref/to_slot, and every step needs title and why. That convention detail exists nowhere in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: write a step-by-step plan for canvas actions and push it to the user's ComfyUI interface for approval, tagged as '只规划,绝不动手' (plan only, never act). That framing immediately separates it from mutation siblings like duddy_apply_step and duddy_rollback_plan.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear when-to-use context ('第一步') and a strong implicit exclusion: nothing happens until the user clicks approve, after which the agent must stop and wait. What is missing is explicit routing to the siblings that follow approval (duddy_plan_status, duddy_apply_step, duddy_abort_plan) — the agent must infer the handoff.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_precheck_planA

只检查不执行:把计划丢进来,看它在这台机器上跑不跑得通(节点在不在、参数名对不对、模型文件有没有)。不确定的活儿先 precheck 一下,比失败后再回滚便宜。

NameRequiredDescriptionDefault
stepsYes

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations present, the description carries the full burden, and it clearly discloses the most important trait: it is a non-executing check, so there are no side effects. It lists the specific validation dimensions, though it does not state the form of the result (per-step errors? a single pass/fail?) or whether checking has cost or rate limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, and the non-execution guarantee is front-loaded before the benefit argument. Parenthetical examples are packed efficiently rather than spread over prose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations mean everything must come from the description, and for a validation tool the missing piece is what a failed check returns and how to read it. The purpose and the checks are described completely, but consumers must look to sibling tools to learn the plan/step format that this tool accepts.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema only says 'array of object' with no shape at all. The description compensates with mere metaphor ('把计划丢进来') and never says what a step object must contain or whether it matches the format duddy_plan_workflow takes, leaving the caller guessing at the single required parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb contrast in '只检查不执行' and names the resource: a plan. It then enumerates the concrete checks (node existence, parameter names, model files), which distinguishes it unambiguously from the apply/rollback siblings such as duddy_apply_step and duddy_rollback_plan.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'不确定的活儿先 precheck 一下,比失败后再回滚便宜' gives a clear condition for use (uncertain work) and a rationale comparing it to the rollback path. It falls short of explicitly naming the alternative tools to call instead once the check passes, so the routing to duddy_apply_step is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_rollback_planA

把某个计划已经做过的建节点/连线动作撤销掉。执行到一半失败、或者用户说「撤了重来」时用。注意:删除节点和改参数无法撤销,只有新建的能撤。

NameRequiredDescriptionDefault
plan_idYes

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does disclose the critical limitation: only newly created nodes/edges can be rolled back, while deletions and parameter changes cannot be undone. It omits what happens to plan state after rollback and the return behavior, keeping it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: action first, then when-to-use, then the key caveat. Every sentence earns its place with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter mutation tool with no annotations or output schema, the description covers purpose, trigger conditions, and the main behavioral limit. It could say more about post-rollback plan state, but is largely complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter (plan_id) with 0% schema description coverage. The description implies plan_id identifies the plan to roll back but adds no format or sourcing detail beyond that inference, so it only marginally compensates for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (rollback/undo) and resource (a plan's already-executed node/edge creation actions), and scopes it precisely to newly created items. An agent can distinguish this from duddy_abort_plan or duddy_apply_step without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use triggers: mid-execution failure or a user request to 'undo and redo'. It does not name a sibling alternative (e.g., abort_plan) for contrast, but the usage context is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_run_statusA

当前跑到哪一步了:哪个节点、第几步/共几步、已完成哪些、预计还要多久、有没有报错。用户问「跑到哪了」或你想确认任务是否结束时调。

NameRequiredDescriptionDefault

No parameters

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations exist, so the description carries the full disclosure burden. It does well by enumerating what the result contains (node, step counters, completed items, ETA, errors), which substitutes for the absent output schema. It omits whether the call is strictly read-only, what happens when no run exists or the run already ended, and whether the status is live or a cached snapshot.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: the first front-loads the returned fields, the second gives the usage trigger. Nothing is redundant and the reading order is sensible. The field enumeration is dense but each item is informative rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly compensates by listing the intended return values, so an agent knows what to expect. Gaps remain around the run-vs-plan distinction relative to duddy_plan_status and around failure modes (no run, run finished, run aborted), which matter for a status tool in a 15-tool family.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so the baseline is 4. The description implies the target is implicitly 'the current run' rather than an arbitrary run identified by ID, which is the one piece of semantic meaning worth adding beyond the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource and scope: current run progress, current node, step N of M, completed steps, ETA, and error presence. The verb is implicitly a status query rather than an action, but the field list makes the tool's function unmistakable. It does not explicitly contrast with sibling status tools such as duddy_plan_status or duddy_events.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives two concrete invocation triggers: the user asks 'where is it now', or the agent wants to confirm whether a task has finished. That is clear when-to-use guidance. It stops short of a 5 because no when-not condition or named alternative (e.g. duddy_plan_status for plan-level vs run-level state) is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

duddy_search_nodesA

搜索这台机器上真实存在的节点类型。【规划前必查】不要凭记忆写节点名,先搜一下确认它真的装了。

NameRequiredDescriptionDefault
qYes关键词,如 qwen / sampler / upscale
limitNo

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It does disclose the key behavioral trait: results are limited to node types actually installed on this machine, not a general registry. It says nothing about result format, whether the match is fuzzy or exact, or what limit does, so mutation-safety and output shape are unaddressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short clauses, front-loaded with what the tool does and immediately followed by the mandatory-usage directive. No filler, and the bracketed precondition tag is scannable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations, so the description should be doing more. It conveys the scope of what is returned (installed node types) but not the shape of results, matching behavior, or the role of limit, leaving an agent partly blind for a tool used as a hard prerequisite to planning.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: q is documented with keyword examples, but limit has no description in either the schema or the description text. The description adds no parameter meaning at all, so an agent must guess whether limit caps result count and what the default of 15 implies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: search for node types that actually exist on this machine. The 'real/installed' qualifier meaningfully separates it from a static catalog lookup, though the description never names the sibling it complements (duddy_node_info) to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says it must be consulted before planning and tells the agent not to recall node names from memory but to verify they are installed. That is a concrete when-to-use rule plus a named failure mode to avoid, which is stronger than most tool definitions provide.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 16 tool updatesv0.1.0
    • First observedduddy_abort_plan
    • First observedduddy_apply_step
    • First observedduddy_canvas_state
    • First observedduddy_events
    • First observedduddy_fs_changes
    • First observedduddy_get_logs
    • First observedduddy_list_models
    • First observedduddy_list_plans
    • First observedduddy_node_info
    • First observedduddy_ping
    • First observedduddy_plan_status
    • First observedduddy_plan_workflow
    • First observedduddy_precheck_plan
    • First observedduddy_rollback_plan
    • First observedduddy_run_status
    • First observedduddy_search_nodes

TDQS

A3.7/5.0

Scored across 16 tools

Disambiguation4/5

Most tools have clearly distinct purposes across discovery, planning, execution, and diagnostics. There is minor overlap between duddy_plan_status and duddy_run_status, and among duddy_events, duddy_get_logs, and duddy_fs_changes for troubleshooting, but the descriptions provide enough context to distinguish them.

Naming Consistency4/5

All tools share the duddy_ prefix and snake_case formatting, making the set predictable. Most names follow a verb_noun pattern, though a few are noun phrases such as duddy_events, duddy_node_info, duddy_canvas_state, duddy_run_status, and duddy_fs_changes.

Tool Count4/5

At 16 tools, the set is slightly above the typical 3-15 range but remains well-scoped for a workflow planning and execution server. Each tool maps to a distinct phase such as discovery, planning, approval, execution, rollback, or diagnostics, so the count does not feel bloated.

Completeness5/5

The surface covers the full lifecycle: node/model discovery, plan creation, prechecking, approval status, step execution, run status, abort, rollback, and diagnostic logs/events. The documented rollback limitation is a known constraint rather than an obvious missing operation.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers