Skip to main content
Glama
ryanmat

io.github.ryanmat/logicmonitor

by ryanmat

update_eventsource

Fully replace an EventSource definition, clearing any fields not included. Requires confirmation to prevent accidental data loss; partial updates are safer.

Instructions

RAW UPDATE -- full-replace semantics. Any field omitted from definition is BLANKED on the server. PREFER update_logicmodule(type='eventsource', id, changes, mode='preview') for partial updates with diff preview. Requires confirm=true to proceed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to proceed. Defaults to false to prevent accidental field-blanking. Use update_logicmodule for safe partial updates.
definitionYesFULL EventSource definition with all fields (will replace)
eventsource_idYesEventSource ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.2.0

TDQS

A4.8/5.0
Behavior5/5

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

Discloses the critical behavioral trait beyond annotations: 'Any field omitted from definition is BLANKED on the server.' It explains the confirm flag exists to 'prevent accidental field-blanking,' giving the agent a full picture of the mutation's danger profile. The destructiveHint=false annotation sits in mild tension with the blanking warning, but the confirm gate and schema warning are consistent with it not being a categorically destructive operation, so this is not a true 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?

Four short sentences, all load-bearing: the warning is front-loaded in sentence one, the danger mechanism in sentence two, the alternative in sentence three, and the prerequisite in sentence four. There is zero filler or repetition of schema content.

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 mutation tool with no output schema, the description covers the operation semantics, the destructive failure mode, the alternative tool, and the required confirmation flag. It does not describe return values or error behavior, which would be nice, but the critical decision-making context an agent needs to call this safely is fully present.

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 coverage is 100%, so the baseline is 3, and the schema already describes all three parameters well. The description adds value by making the `definition` semantics unmistakable ('any field omitted is BLANKED'), which is stronger than the schema's 'will replace' phrasing. This explicit blanking consequence is exactly the kind of param meaning an agent needs.

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 opens with 'RAW UPDATE -- full-replace semantics,' naming the verb (update), resource (eventsource), and the defining behavior in one compact phrase. It clearly distinguishes itself from the sibling update_logicmodule by contrasting raw full-replace behavior with partial updates. An agent can tell exactly what this tool does without reading the schema.

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 routes the agent: 'PREFER update_logicmodule(type='eventsource', id, changes, mode='preview') for partial updates with diff preview.' It also states the hard prerequisite 'Requires confirm=true to proceed,' leaving no ambiguity about when and how to invoke this tool versus the alternative.

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