Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Update Heartbeat

update_heartbeat
DestructiveIdempotent

Modify an existing heartbeat by ID to change its name, monitoring interval, enabled status, or alert configuration.

Instructions

Update a specific heartbeat by id

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>",
      "data": "<data>"
    },
    "name": "update_heartbeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the heartbeat (fills `{id}` in /v1/heartbeats/{id}). Pass it as `id` -- this tool has no `heartbeat_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.0
    • removedInput schema / properties / data / properties / id
      Removed value: -{
      -  "description": "Accepted for JSON:API client compatibility, but ignored. The resource to update is identified by the id in the path.",
      -  "type": "string"
      -}
  2. Addedv2.4.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description could have spent its words on what gets destroyed — e.g., whether omitted attributes are cleared or preserved on update. It instead says nothing about mutation semantics, so for a destructive nested-payload update the description carries almost none of the extra burden the annotations leave open.

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?

A single short, front-loaded sentence with no filler or redundancy. It is concise, but the brevity comes at the cost of substance rather than from efficient information density.

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

Completeness2/5

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

For a destructive, idempotent update of a nested resource with an output schema present, the agent still lacks update semantics, payload structure hints, and any behavioral caveats. The output schema relieves the description of explaining return values, but the rest of the complexity is unaddressed.

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

Parameters2/5

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

Schema description coverage is only 50% and the payload is a nested object with fields like enabled, interval_unit, owner_group_ids, and attach_owner_groups_to_alerts. The description mentions only "id" and says nothing about the `data` envelope, required type/attributes wrapper, or update semantics (partial vs. full replacement), so it fails to compensate for the coverage gap.

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

Purpose3/5

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

States a specific verb+resource ("Update a specific heartbeat"), which is clear enough on its own, but "by id" adds nothing and there is no differentiation from siblings beyond the noun in the tool name. It names the operation but gives no sense of scope (which fields, replace vs. patch).

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

Usage Guidelines2/5

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

No when-to-use guidance, no mention of prerequisites, and no indication of how this relates to create_heartbeat or get_heartbeat. The agent must infer entirely from the tool name that this is the mutation counterpart for an existing heartbeat.

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