Skip to main content
Glama
ryanmat

io.github.ryanmat/logicmonitor

by ryanmat

create_datasource

Create a LogicMonitor DataSource from a full REST API definition to restore exports or build new ones. Requires write permission; optionally overwrite existing datasource.

Instructions

Create a DataSource via REST API from a full definition dict (requires write permission). Accepts REST API format (same as export_datasource output). Use for round-tripping exports or building definitions from scratch. For LM Exchange format, use import_datasource. Script DataSource datapoints require appropriate type values.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
overwriteNoIf true, delete existing DataSource with same name before creating
definitionYesFull DataSource definition in REST API format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations: readOnlyHint=false, destructiveHint=false, idempotentHint=false. Description adds write permission requirement and notes format compatibility but doesn't elaborate on side effects beyond overwrite parameter. The destructiveHint=false may be contradicted by the overwrite parameter which deletes, but description doesn't explicitly claim no destruction.

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?

Four sentences, each with a distinct purpose: what it does, permission, format, usage scenarios, and special case. Front-loaded with verb+resource.

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 creation tool with one required object param, it's fairly complete. Notes permission, format compatibility, alternative uses, and special type values. Lacks output/return info but no output schema exists.

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

Parameters4/5

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

Schema covers both parameters (overwrite, definition) at 100%. Description adds meaning by explaining definition must be REST API format and that overwrite deletes existing. The Script datasource type values note adds extra param-related guidance.

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?

Clear verb (Create) + resource (DataSource) + method (REST API from full definition dict). Distinguishes from import_datasource by format (REST API vs LM Exchange). Mentions round-tripping with export_datasource.

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?

Explicitly says use for round-tripping exports or building from scratch, and directs to import_datasource for LM Exchange format. Also notes Script DataSource datapoints require appropriate type values.

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