Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as HasData. If you published it, claim ownership there.

monitoring_monitors: PUT /monitors/{id}

hasdata_monitoring_monitors_updateMonitor
Destructive

Update a monitor

Updates a monitor; send only what changes (name, sharedParams, resources, fields, goal, schedule, delivery). Resources are matched by their params, so one sent again keeps its id and history, new params make a new resource that is checked at once, and resources left out are deleted. Changed shared params trigger a check of every resource; changed tracked fields rebuild the baseline from the saved responses for free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "hasdata_monitoring_monitors_updateMonitor"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
goalNo
nameNo
fieldsNo
deliveryNo
scheduleNo
resourcesNoThe monitor's resources, matched by their params. A resource sent again keeps its id and history, new params make a new resource, and resources left out are deleted.
sharedParamsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / resources / description
      Previous value: -"Replaces the resources by position; shorter than before deletes the extra ones."New value: +"The monitor's resources, matched by their params. A resource sent again keeps its id and history, new params make a new resource, and resources left out are deleted."
  2. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, and the description earns credit by explaining exactly what is destroyed: "resources left out are deleted." It goes further with non-obvious side effects an agent could not predict from annotations – resources are matched by params so a re-sent resource keeps its id and history, new params spawn a resource that is checked immediately, changed shared params trigger a check of every resource, and changed fields rebuild the baseline at no cost.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the patch instruction, then packed with high-value side-effect detail; almost nothing is filler. The only waste is the near-duplicate opening ("Update a monitor" / "Updates a monitor") before the substantive clause.

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 an 8-parameter mutation with no output schema and only 13% schema coverage, the description covers payload semantics and side effects well. It omits what a successful update returns and how partial failures are reported, which is the main remaining gap for a destructive write tool.

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 description coverage is only 13% and the schema is deeply nested, so the description must carry weight, and it does: it enumerates the mutable fields (name, sharedParams, resources, fields, goal, schedule, delivery) and explains the matching/identity semantics of resources and the baseline-rebuild behavior of fields. The required id parameter and the delivery/schedule structures get no explanation in the description, leaving a small residual gap.

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?

"Update a monitor" pairs a specific verb with the specific resource, and "send only what changes" distinguishes it from a full-replace create call. It does not name the createMonitor/deleteMonitor/pauseMonitor siblings explicitly, so an agent must infer the boundary from the partial-update semantics.

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?

"Send only what changes" is real usage guidance: it tells the caller to send a patch payload rather than a full object, which is the key decision an agent faces here. What is missing is explicit when-not guidance, such as whether to use createMonitor instead when adding a wholly new target, or pauseMonitor for temporary stops.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources