Skip to main content
Glama
misterboe

acinfinity-mcp

by misterboe

Set port cycle

set_port_cycle
Idempotent

Set a controller port to alternate between on and off periods by specifying durations in minutes, with optional activation of Cycle mode.

Instructions

Configure Cycle mode: repeat on_minutes on, then off_minutes off.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portYesPort number as printed on the controller (1-based).
activateNoAlso switch the port into Cycle mode.
on_minutesYesDuration in minutes (0-1440).
off_minutesYesDuration in minutes (0-1440).
controller_idYesController id (`id` from list_controllers).
user_authorizedNoMust be true. Set only after the user explicitly approved this exact change.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okNo
portYes
changedYesAPI keys that were written, in API units.
controller_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already cover the key safety traits: readOnlyHint=false, destructiveHint=false, and idempotentHint=true. The description adds the on/off repeating behavior, which is useful, but it does not disclose side effects of switching a port into Cycle mode or mention the activation/authorization requirements. There is no contradiction with annotations.

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 one focused sentence that front-loads the core action and then clarifies the cycle semantics. There is no filler or redundant restatement of the schema.

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?

Given the rich schema (100% coverage, clear parameter descriptions, and an output schema) and annotations, the description is adequate for a competent agent to call the tool correctly. The main missing element is explicit usage context relative to sibling cycle/timer/schedule tools, but that gap is partially mitigated by the tool name and schema.

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 100%, so the baseline is 3. The description adds value by explicitly connecting on_minutes and off_minutes into a repeating cycle, a relationship the individual parameter descriptions don't state. It doesn't discuss activate or user_authorized, but those parameters are already well-described in the schema.

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 states a specific action, 'Configure Cycle mode', and explains the behavior: 'repeat on_minutes on, then off_minutes off.' This makes the tool's function clear and distinct from generic port controls, though it doesn't explicitly contrast it with siblings like set_port_timer or set_port_schedule.

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?

No guidance is given for when to use this tool versus alternatives such as set_port_mode, set_port_timer, or set_port_schedule. The description defines what the tool does but supplies no context for selection, prerequisites, or exclusions.

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