Skip to main content
Glama
ryanmat

io.github.ryanmat/logicmonitor

by ryanmat

add_device_instance

Add a new monitored instance to a device datasource without Active Discovery. Specify the device, datasource, display name, and wildcard value to start collecting data for services like ServiceStatus.

Instructions

Add a monitored instance to a datasource on a device (requires write permission). Used for datasources without Active Discovery (e.g. ServiceStatus).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesDevice ID
wild_valueYesWildcard value used by the datasource to query this instance (e.g. 'nginx.service' for ServiceStatus, a port number for Port-)
descriptionNoOptional instance description
display_nameYesDisplay name for the instance
device_datasource_idYesDevice-DataSource ID (from get_device_datasources)

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 declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false. The description adds the auth requirement ('requires write permission') and the usage context, which go beyond annotations. It does not discuss failure modes or side effects, but the annotations cover the safety profile sufficiently.

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 sentences with no redundancy. The core purpose is front-loaded, followed by a usage qualifier. Efficient and directly informative.

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 simple create operation with no output schema, the description covers the essential purpose and usage context. It lacks an explicit note about return values (e.g., whether the created instance ID is returned), but given the high schema coverage and annotations, this is a minor gap. The description is adequate for an agent to invoke the tool correctly.

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 all parameters already have detailed descriptions, including examples for wild_value. The tool description does not add extra semantic value beyond what the schema provides, so the baseline of 3 applies.

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 states the verb 'Add' and the resource 'monitored instance to a datasource on a device', making the purpose unambiguous. It also distinguishes from sibling update/delete instance tools by focusing on creation and mentions a specific use case (datasources without Active Discovery).

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?

It provides a clear condition for use ('Used for datasources without Active Discovery') and an example (ServiceStatus), giving the agent a decision rule. It doesn't explicitly list alternatives or exclusion cases, but the context strongly implies when to choose this tool over related instance operations.

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