Skip to main content
Glama

Flow rules

myio_flows
Read-onlyIdempotent

Inspect Flow rules with WHEN/AND/THEN logic, live rule state, global variables, and webhook targets, or fetch raw flow JSON for editing.

Instructions

The Flow rule engine (GIGA/Opta 4.4+): every rule as WHEN trigger / AND conditions / THEN actions in plain words with element names, its live state (enabled, running, last fired), the 32 global variables with live values and the webhook targets. id = one rule (with its raw JSON for editing); raw=true returns the whole flows.jsn (the format myio_flow_save takes). Editor/admin level.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "myio_flows"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoonly this flow id
rawNo
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real substance beyond them: the shape of the returned data (WHEN/AND/THEN in plain words with element names), that state values are live (enabled, running, last fired), the 32 global variables, and the editor/admin authorization requirement. It doesn't address response size or performance for raw=true on large installations, so it stops short of a 5.

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?

It is front-loaded with the tool's identity and packs output content, parameter behavior and access level into a short block with no filler. The semicolon-chained clause structure makes the two read modes slightly harder to parse at a glance than they need to be.

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?

With no output schema, the description carries the burden of describing return content and does so concretely (rules, live state, globals, webhook targets, raw flows.jsn). Access level is stated; what remains thin is the alternative to use for execution tracing and any note on the size of a raw dump.

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 67%, and the description compensates by defining id (one rule, with raw JSON for editing) and raw (whole flows.jsn, the save-compatible format), which go beyond the terse schema text. The server parameter is left entirely to the schema's 'controller name (default Ground floor)' wording, with no added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource precisely (the Flow rule engine on GIGA/Opta 4.4+, its rules, live state, 32 global variables and webhook targets) and explains the two read shapes (single rule by id vs the whole flows.jsn). It partially distinguishes from siblings by pointing at myio_flow_save as the consumer of the raw format, but it never clarifies how it differs from myio_flow or myio_flow_trace.

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?

Usage is inferable and mostly explicit: use id to read one rule including its raw JSON for editing, use raw=true to get the whole flows.jsn in the exact format myio_flow_save accepts, and the tool requires editor/admin level. There is no explicit when-not guidance or named alternative for tracing rule execution, which keeps it below a 5.

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