Skip to main content
Glama
tim661811
by tim661811

Change a Homey flow

homey_flow_update
DestructiveIdempotent

Update an existing Homey flow by replacing its trigger, conditions, or actions. Also supports renaming and enabling/disabling with owner confirmation.

Instructions

Replaces the trigger, conditions and actions of an existing standard flow. Anything left out keeps its current value, but an array that IS sent replaces that array wholesale. A flow this server did not create belongs to the owner and needs confirm: true. The flow as it was is read first and returned in the result, so a wrong change can be put back by sending it again. Switching a flow that is off ON is a separate step that needs confirmEnable: true, because a flow that is off has never run in the house.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flowYesThe flow name or id to change.
nameNoA new name. Leave out to keep the current one.
actionsNoThe complete new set of actions. Leave out to keep the current ones.
confirmNoRequired when the flow was not created by this server. Confirms the owner asked for this change.
enabledNoSwitch the flow on or off. Switching it OFF is always allowed. Switching a flow that is currently off ON is refused unless confirmEnable is also true, because a flow arrives switched off so that a person reads what it does before it can run the house, and this is that step. Ask the owner; do not confirm it on their behalf.
triggerNoA new trigger card. Leave out to keep the current one.
conditionsNoThe complete new set of conditions. An empty array removes them all. Leave out to keep the current ones.
confirmEnableNoRequired only when enabled is true and the flow is currently off. Set it after the owner has seen what the flow does and said to switch it on, never merely because the flow looks finished.
Install Server

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it reveals key behaviors: it reads the current flow and returns it for rollback, replaces arrays wholesale, and prevents enabling an off flow without confirmEnable. It also explains the safety rationale for that step. No contradiction with the annotations was found.

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?

The description is dense but not bloated; the first sentence is action-focused and each following sentence explains an important behavioral guardrail. A few sentences are long and combine different concerns, but the content is still relevant and the structure remains readable.

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?

With no output schema, the description appropriately discloses that the previous flow version is returned in the result, enabling rollback. It also covers ownership confirmation, enabling semantics, and partial updates, making it sufficiently complete for a complex 8-parameter mutation tool.

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 schema already documents all 8 parameters thoroughly, so the baseline is high; the description adds useful cross-cutting semantics by explaining partial-update behavior and the difference between omitting a field and sending an array. This meaningfully augments the schema rather than merely repeating it.

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 specific action: 'Replaces the trigger, conditions and actions of an existing standard flow.' This clearly identifies the resource, the operation, and the scope, and distinguishes the tool from create, delete, and advanced-flow siblings.

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 practical usage guidance: untouched flow values are preserved, arrays sent replace the old ones, and the confirm/confirmEnable requirements are explained. It does not explicitly list alternative tools and when to prefer them, but the phrase 'existing standard flow' implicitly sets the boundary against advanced-flow and creation tools.

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

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/tim661811/homey-mcp'

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