Skip to main content
Glama
Rootly MCP server

Rootly MCP server

Official
by rootlyhq

Patch Alert Route

patch_alert_route
Idempotent

Updates an existing alert route, including its name, enabled status, rules, conditions, and destinations, to adjust how alerts are routed. Requires Advanced Alert Routing access.

Instructions

Updates an alert route. Note: This endpoint requires access to Advanced Alert Routing. If you're unsure whether you have access to this feature, please contact Rootly customer support.

Input Schema

NameRequiredDescriptionDefault
idYesRequired. ID of the alert route (fills `{id}` in /v1/alert_routes/{id}). Pass it as `id` -- this tool has no `alert_route_id` argument.
dataYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.4.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=true. The description adds a relevant auth/feature-access requirement, but it does not explain partial-update behavior or that nested _destroy fields can remove rules, destinations, or conditions.

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?

Two sentences, front-loaded with the tool's action; the access note is relevant. There is no filler, though the brevity reflects missing guidance rather than efficient completeness.

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 complex nested patch endpoint with an output schema and only 50% schema description coverage, the description is too thin: it omits patch-vs-update semantics, partial vs full replacement behavior, and nested deletion rules. Access gating is the only extra context provided.

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 coverage is 50% and the payload is deeply nested, yet the description says nothing about id, data, attributes, or nested patch semantics. It fails to compensate for the undocumented schema surface.

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?

States the verb 'Updates' and resource 'alert route', so the basic purpose is clear. However, it does not distinguish this PATCH tool from the sibling update_alert_route or explain whether it is a partial update; the only added detail is an access prerequisite.

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?

Gives a feature-access prerequisite and support contact, but no when-to-use guidance, no when-not-to-use guidance, and no comparison to update_alert_route or create/get/list alert route siblings. An agent must infer selection from the tool name alone.

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