Skip to main content
Glama

Set alert contacts

set_alerts
DestructiveIdempotent

Sets who receives alert emails and for which kinds of problem. Replaces the current list: addresses left out are removed and must confirm again if added back. New addresses get a confirmation email and receive nothing until they confirm.

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": {
      "contacts": "<contacts>"
    },
    "name": "set_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoKinds of alert to send. Default: all.
contactsYesEmail addresses to receive alerts. An empty list removes everyone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is partly covered. The description adds substantial context the annotations cannot: removal is implicit for omitted addresses, removed addresses must re-confirm, and newly added addresses receive nothing until they confirm. It does not explain whether the change is immediate or what the confirmation email contains.

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?

Three sentences, front-loaded with the action, then replacement semantics, then the confirmation consequence. Nothing is redundant and each sentence adds a distinct fact.

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 two-parameter destructive mutation with no output schema, the description covers the important lifecycle consequences (removal, re-confirmation, silence until confirmed). It leaves open whether omitting kinds resets kinds to all and whether this applies per site, which an agent would still need to infer.

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 coverage is 100% and both parameters are described there, so the schema already carries the heavy lifting. The description adds real meaning about replacement and re-confirmation for the contacts list, but says nothing about the kinds parameter's default or the empty-list removal case beyond what the schema states.

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 opens with a specific verb and resource: it sets who receives alert emails and for which kinds of problem. That is concrete enough to separate it from the read-only sibling get_alerts, but it never names that counterpart or states the scope (account-level vs per-site) 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?

Usage is only implied: the word 'Sets' plus the replacement semantics make clear this is the configuration tool rather than the inspection tool. There is no explicit statement of when to call this instead of get_alerts, nor any prerequisite about permissions or account state.

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