Skip to main content
Glama
Hardik-Singh

Invariance MCP

Official
by Hardik-Singh

invariance_monitor_update

Partially update an existing monitor by changing only the fields you specify, such as its name, enabled state, or threshold evaluator.

Instructions

Patch an existing monitor (partial update; only included fields change).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
patchYesUpdateMonitorRequest as a JSON object string. All fields optional — include only what you want to change. Fields: name, description, enabled, evaluator (same shape as create), schedule, creates_review, signal_type, scope, target. Example: {"enabled":false,"severity":"critical"} or {"evaluator":{"type":"threshold","field":"metrics.cost_usd","operator":">","value":10}}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false (write) and destructiveHint=false (non-destructive). The description adds the key behavior that only included fields change, which is useful context beyond annotations. It doesn't mention return values, idempotency, or authentication, but with annotations covering safety, this is acceptable.

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?

A single sentence with no redundant words. The key concept (partial update) is front-loaded, making it immediately clear what the tool does. Efficient and appropriately sized.

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 update tool with two parameters and no output schema, the description covers the essential partial-update semantics. It doesn't mention prerequisites (e.g., monitor must exist) or return behavior, but given the simplicity and annotations, it's fairly complete.

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 50%: the patch parameter has a detailed description with field list and example, while id only has a type. The description adds the overall partial-update concept, but the schema already explains patch well. id is self-evident, so no extra description is needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Patch') and resource ('existing monitor') and clarifies it's a partial update where only included fields change. This distinguishes it from create (which makes a new monitor) and from pause/resume (which are state toggles), though it doesn't name siblings explicitly.

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

Usage Guidelines3/5

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

The description implies use for updating an existing monitor's specific fields, and the partial-update wording suggests not to use it for full replacement or creation. However, it doesn't explicitly state when not to use it or point to alternatives like create, pause, or resume, leaving some inference to the agent.

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