Skip to main content
Glama
ryanmat

io.github.ryanmat/logicmonitor

by ryanmat

execute_remediation

Run a remediation script on a device after pre-execution checks verify collector version, device status, and script review. Requires write permission.

Instructions

Execute a RemediationSource script on a target device. Performs pre-execution checks (collector version, device status, script review) before triggering manual execution. Requires write permission.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
host_idYesTarget device/host ID
alert_idNoOptional alert ID to associate with execution
remediation_source_idYesRemediation source ID to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already indicate this is a non-read-only, non-idempotent mutation. The description adds useful behavioral context by disclosing the pre-execution checks (collector version, device status, script review) and the write-permission requirement. There is 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no filler. The core action is front-loaded, followed by relevant pre-execution behavior and permission requirements.

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?

For a 3-parameter side-effectful action, the description covers purpose, prerequisites, and pre-execution behavior. The main gap is the absence of an output schema and no description of what the caller receives after triggering execution, which is a minor omission given the otherwise clear definition.

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?

The input schema already documents all three parameters with 100% coverage. The description's references to 'target device' and 'RemediationSource script' align with the parameters but add no additional format, constraint, or value semantics 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 clearly identifies the action ('Execute') and the resource ('RemediationSource script on a target device'), which separates it from the get/create/update/delete siblings for remediation sources. The execution semantics and target are unambiguous.

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?

The description gives clear context: this tool is for manual execution of a remediation source, includes pre-execution checks, and requires write permission. It does not explicitly name alternatives or exclusions, but the manual-execution framing makes the intended use obvious.

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