Skip to main content
Glama
ryanmat

io.github.ryanmat/logicmonitor

by ryanmat

update_action_rule

Update an existing action rule by patching only the specified fields. Adjust name, level, devices, groups, or matchers to change alert response behavior.

Instructions

Update an action rule via PATCH; only provided fields are sent (requires write permission)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew rule name
levelNoAlert severity to match (e.g. Error, Critical)
devicesNoDevice display names
enabledNoEnable/disable the rule
rule_idYesAction rule ID
instanceNoInstance matcher
datapointNoDatapoint matcher
datasourceNoDatasource name matcher
device_groupsNoDevice group full paths
action_chain_idNoAction chain to trigger
resource_propertiesNoProperty matchers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A4/5.0
Behavior4/5

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

The description adds useful behavior beyond annotations: PATCH partial-update semantics and a write-permission requirement. Annotations already indicate a non-read, non-idempotent operation, so the description adds context without contradicting it.

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?

One front-loaded sentence conveys purpose, HTTP method, partial-update semantics, and permission requirements with no filler. Every clause earns its place.

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?

Together with the fully documented schema, the description gives enough context for an agent to call the tool correctly. It lacks explicit guidance on when to prefer set_action_rule_status for toggling enabled state, but that is a routing nicety rather than a blocking gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all 11 parameters. The description reinforces the partial-update behavior but does not add meaning to specific parameters beyond what the input schema provides.

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 states a specific verb ('Update') and resource ('action rule'), plus the HTTP method ('PATCH'), which clearly distinguishes it from sibling create/get/delete action-rule tools. 'Only provided fields are sent' further clarifies the operation mode.

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?

The intended use is implied: modify an existing action rule. However, there is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives like set_action_rule_status, which overlaps with the enabled field.

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