Skip to main content
Glama
ryanmat

io.github.ryanmat/logicmonitor

by ryanmat

import_datasource

Import a DataSource from LM Exchange JSON into LogicMonitor via multipart upload, with options to handle naming conflicts and preserve existing fields. Requires write permission.

Instructions

Import a DataSource from LM Exchange JSON format via multipart upload (requires write permission). This expects LM Exchange format, not REST API format. For REST API format definitions (e.g., from export_datasource), use create_datasource instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
definitionYesDataSource JSON definition in LM Exchange format
handle_conflictNoHow to handle naming conflicts with existing modules
fields_to_preserveNoFields to preserve from existing module when overwriting

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already indicate this is a write operation, and the description adds practical context: write permission is required and the data is sent via multipart upload. It does not detail overwrite or conflict side effects, but the handle_conflict and fields_to_preserve schema parameters cover that behavior, and nothing contradicts 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 compact sentences front-load the core action and format constraint, then provide the necessary routing to the alternative tool. There is no filler, repetition, or unnecessary detail.

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

Completeness5/5

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

The description provides all agent-relevant context: format expectation, transport, permission requirement, and sibling tool routing. With 100% schema coverage handling parameter details, nothing essential is missing for an agent to select and invoke this 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%, with the definition object, handle_conflict, and fields_to_preserve all already described in the schema. The description's format warning largely restates the definition schema's 'LM Exchange format' wording, so it adds little new parameter-level meaning.

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 action (Import), the target resource (DataSource), the expected source format (LM Exchange JSON), and the transport method (multipart upload). It also explicitly distinguishes itself from create_datasource for REST API definitions, making it unambiguous among the many import/create siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance: use this tool for LM Exchange format, not REST API format. It also names the alternative tool, create_datasource, for REST API definitions such as those from export_datasource, providing clear selection criteria.

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