Skip to main content
Glama
chatgenius-mcp

chatgenius-mcp

Official
by SumCodeAI

update_flow

Modify an existing flow by renaming it, retargeting channels, setting a tag, or replacing its definition; changes are saved as a validated draft while the live version keeps running until published.

Instructions

Update a flow. Rename, retarget channels, set the tag, and/or replace the definition. A new definition is saved as the DRAFT and validated the same way as on create; the live version keeps running until you publish. Positions are dropped when the definition changes (the builder re-lays it out).

Input Schema

NameRequiredDescriptionDefault
idYesNumeric id.
nameNo
tag_idNo
channelsNo
definitionNoA flow as a graph. Read GET /flows/nodes for every node type, port and config field.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations, which only say the call is not read-only, not idempotent, and not destructive. The description discloses the key non-obvious behaviors: a new definition lands as DRAFT rather than live, it is validated like on create, the running version is unaffected until publish, and node positions are discarded on definition change.

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, front-loaded with the core action and capabilities, followed by the side-effect warnings. No filler or restatement of the 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 nested, non-idempotent mutation tool this covers the critical mental model: draft-versus-live, validation parity with create, and layout reset. The main residual gap is whether omitted fields are preserved, plus no mention of auth or rate limits, though the safety profile is partly carried by annotations.

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?

With only 40% schema description coverage and a deep nested definition object, the description compensates by tying each optional parameter to an outcome (rename, retarget, tag, replace) and by explaining what happens to the definition payload. It stops short of clarifying null/omission semantics for tag_id or how partial updates treat untouched fields.

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+resource ('Update a flow') and enumerates the four updatable facets (rename, retarget channels, set tag, replace definition), which map directly onto the optional schema properties. An agent can distinguish this from create_flow, publish_flow, or validate_flow without opening the schema.

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?

Usage is implied by the draft/publish narrative ('the live version keeps running until you publish'), which hints that publishing is a separate step via publish_flow, but no sibling is named and there is no explicit when-not guidance. An agent must infer the workflow ordering rather than being told it.

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

Deploy Server

Other Tools