Skip to main content
Glama
ryanmat

io.github.ryanmat/logicmonitor

by ryanmat

create_action_rule

Create an action rule to bind an action chain to matching alert conditions, such as severity, device group, or datapoint, for automated responses.

Instructions

Create an action rule binding an action chain to alert conditions (requires write permission)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRule name
levelYesAlert severity to match (e.g. Error, Critical)
devicesNoDevice display names (["*"] for all)
enabledNoWhether the rule starts enabled
instanceNoInstance matcher
datapointNoDatapoint matcher
datasourceNoDatasource name matcher
device_groupsYesDevice group full paths (["*"] for all)
action_chain_idYesAction chain to trigger
resource_propertiesNoProperty matchers

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already indicate this is a write operation (readOnlyHint=false), but the description adds the useful prerequisite of requiring write permission. It does not describe side effects, return values, or failure behavior, but given annotation coverage, the added auth context earns credit without contradiction.

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 a single focused sentence that front-loads the action and resource, then adds the key permission requirement. Every part earns its place with no repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 10 parameters and no output schema, yet the description is quite brief. The full schema coverage mitigates missing parameter-level detail, but the description omits guidance on alternatives, side effects, or expected behavior after creation, so it is adequate but not fully complete for such a parameter-rich tool.

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 description coverage is 100%, so the schema fully documents each parameter. The description adds high-level semantic context by saying the rule binds an action chain to alert conditions, which maps conceptually to action_chain_id and the various matcher fields, but it does not add detail beyond the schema.

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 ('Create') and resource ('action rule'), and explains the core purpose: binding an action chain to alert conditions. This clearly distinguishes it from sibling operations like update_action_rule, delete_action_rule, set_action_rule_status, and the get_action_rule family.

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 verb 'Create' implies this should be used when a new action rule is needed rather than updating or deleting an existing one, but the description gives no explicit when-to-use or when-not-to-use guidance. It also does not mention alternatives such as set_action_rule_status for enabling/disabling, leaving the routing partly to inference.

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