Skip to main content
Glama

SetProjectAlerts

DestructiveIdempotent

Changes what Pethost watches on a project and when it tells the person: site checks (an address the machine opens every minute) and traffic rules (5xx or p95 over a window), off, mute. A list given replaces the project's (send Project.alerts' with your change); remove_* empties it; a scalar left out stays. Service crashes and failed backups are always watched. Answers with Project.alerts. Where alerts go is the person's choice in the panel's Settings → Alerts (Machine.alert_channels): no tool sets it.

Input Schema

NameRequiredDescriptionDefault
offNoTrue = incidents are recorded, nothing is sent. Absent = stays.
checksNo≤10. Given = the whole list.
project_idNo
mute_minutesNo≤10080; 0 = unmute. Incidents opened meanwhile are not sent. Absent = stays.
remove_checksNoTrue = none, not even the default check.
traffic_rulesNo≤10. Given = the whole list.
remove_traffic_rulesNoTrue = none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the destructive and idempotent annotations, the description discloses what gets replaced, what remove_* does, which alerts are always enabled, what the tool returns, and that delivery channels cannot be set here. This is strong behavioral context for a destructive mutation tool.

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?

The purpose is front-loaded and the description is information-dense without wasted filler. The single dense paragraph and awkward phrasing such as "send Project.alerts' with your change" keep it from being maximally clear.

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 complex destructive tool with nested alert rules, the description covers replacement semantics, removal behavior, defaults, always-on alerts, and the return reference. It is nearly complete, though it gives only the Project.alerts return name without describing the returned structure because no output schema is provided.

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 high at 86%, so baseline would be 3. The description adds useful semantics beyond the schema, especially that a list replaces the project's whole list and that callers should send the existing Project.alerts with their change to avoid losing entries.

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 states a specific operation, changing a project's monitored site checks and traffic rules, plus off and mute behavior. It clearly distinguishes alert configuration from alert delivery by noting that alert channels are set in Settings → Alerts and that no tool sets them.

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?

It explains important update semantics: a supplied list replaces the existing list, remove_* empties it, omitted scalars remain unchanged, and crashes/backups are always watched. It also states a clear limitation about alert channels, though it does not give explicit use-versus-alternative guidance beyond that.

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