Skip to main content
Glama

Run / switch a Flow rule

myio_flow

Control Flow rules at runtime: enable or disable a rule until reload or restart, fire its THEN chain immediately, or set global variables. Changes show affected outputs and trace.

Instructions

Runtime control of the Flow engine (does NOT change flows.jsn): enable / disable a rule until the next reload or restart (use myio_flow_save en=0|1 to make it permanent), fire = run its THEN chain now (WHEN/AND skipped), set_var = set global variable id (1..32) to value (variable triggers are evaluated). The answer shows the outputs that changed and the trace. Editor/admin level.

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": {
      "action": "<action>",
      "id": "<id>"
    },
    "name": "myio_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesflow id, or the variable id for set_var
valueNo
actionYes
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnly=false, destructive=false, idempotent=false; the description adds the critical behavior that changes are volatile ('until the next reload or restart'), that flows.jsn is untouched, that fire bypasses WHEN/AND, that variable triggers are re-evaluated on set_var, and that the response includes changed outputs plus a trace. It also discloses the editor/admin privilege requirement. No contradiction with the annotations.

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 core scope and the flows.jsn caveat, then action-by-action semantics; every clause carries information. It is dense with parentheticals, which slightly hurts scanability for an agent parsing action meanings.

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?

Although there is no output schema, the description states what the answer contains (changed outputs and trace). Combined with the volatility caveat, the save-vs-runtime distinction, and the access level, an agent has everything needed to invoke this correctly.

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 only 50%, and the description compensates well: it explains each enum action's effect, clarifies that 'id' means flow id for enable/disable/fire but variable id for set_var (1..32), and implies 'value' is the variable value. The 'server' parameter is left entirely to the schema's own description, which is the only remaining 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 and resource ('Runtime control of the Flow engine') and enumerates the four concrete actions (enable/disable/fire/set_var). It explicitly distinguishes itself from the sibling myio_flow_save by noting it does NOT change flows.jsn, so an agent can route between them without opening either schema.

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?

Gives per-action when-to-use semantics (enable/disable is temporary; use myio_flow_save en=0|1 for permanence; fire skips WHEN/AND; set_var evaluates variable triggers). The alternative tool and the condition selecting it are named explicitly, and the access requirement (editor/admin level) is stated.

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