Skip to main content
Glama

comfy_snapshot_workflow

Capture a point-in-time snapshot of a workflow, returning a unique ID, timestamp, and node count to preserve and track workflow versions.

Instructions

Create a snapshot of the current workflow state.

Args: workflow: The workflow dictionary to snapshot name: Optional name for the snapshot

Returns: JSON with snapshot id, name, timestamp, and node_count

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
workflowYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

The description does not disclose any behavioral details beyond the annotations. It does not mention whether snapshots are immutable, whether it overwrites existing snapshots with the same name, or any side effects. The annotations (readOnlyHint=false, destructiveHint=false) are not contradicted, but no additional transparency is provided.

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?

The description is highly concise and well-structured. It includes an Args section and a Returns section, with no redundant wording. Every sentence contributes to understanding the tool's purpose, parameters, and output.

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 description gives a brief summary of the return value ('JSON with snapshot id, name, timestamp, and node_count') but omits details such as the expected format of the workflow dictionary or any potential constraints. It is adequate for a simple create operation but lacks some context that could be useful for full understanding.

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 description adds meaningful semantics for each parameter: 'workflow: The workflow dictionary to snapshot' and 'name: Optional name for the snapshot.' This goes beyond the bare schema by explaining what the parameters represent, though it could further elaborate on the structure of the workflow dictionary if needed.

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 clearly states the action: 'Create a snapshot of the current workflow state.' This distinguishes it from other snapshot-related tools like list_snapshots, diff_snapshots, restore_snapshot, and delete_snapshot, making the purpose unambiguous.

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

Usage Guidelines2/5

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

The description provides no explicit guidance on when to use this tool relative to alternatives. It lacks context such as 'Use this before making changes to the workflow' or 'For automatic snapshots, use auto_snapshot instead.' No exclusions or preferred scenarios are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dreamrec/ComfyPilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server