Skip to main content
Glama

duddy_precheck_plan

Validates a proposed ComfyUI plan without executing it, checking node availability, parameter names, and model file presence so issues are caught before a costly failed run.

Instructions

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

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "steps": "<steps>"
    },
    "name": "duddy_precheck_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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.