Skip to main content
Glama

List notification destinations

list_notification_destinations
Read-onlyIdempotent

List where Oh Dear sends alerts for a given scope: "team" (team-wide alerts), "tag" (alerts for monitors carrying a tag), "tag_group" (alerts for monitors carrying one of a tag group's tags), or "monitor" (a single monitor's alerts). Returns the destination IDs that update_notification_destination and delete_notification_destination take. Destination addresses are never returned. See https://ohdear.app/docs/api/notification-destinations.

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": {
      "scope": "<scope>"
    },
    "name": "list_notification_destinations"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYesWhich destinations to read: "team", "tag", "tag_group", or "monitor".
tag_nameNoThe tag name to read destinations for. Required when scope is "tag".
monitor_idNoThe monitor ID to read destinations for. Required when scope is "monitor".
tag_group_idNoThe tag group ID to read destinations for, as returned by list_tag_groups. Required when scope is "tag_group".

Output Schema

NameRequiredDescriptionDefault
tagNo
scopeYes
team_idNo
view_urlYes
monitor_idNo
tag_group_idNo
notification_destinationsYesNotification destinations with channel-specific configuration omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / scope / description
      Previous value: -"Which destinations to read: \"team\", \"tag\", or \"monitor\"."New value: +"Which destinations to read: \"team\", \"tag\", \"tag_group\", or \"monitor\"."
    • changedInput schema / properties / scope / enum
      Previous value: -[
      -  "team",
      -  "tag",
      -  "monitor"
      -]New value: +[
      +  "team",
      +  "tag",
      +  "tag_group",
      +  "monitor"
      +]
    • addedInput schema / properties / tag_group_id
      Added value: +{
      +  "description": "The tag group ID to read destinations for, as returned by list_tag_groups. Required when scope is \"tag_group\".",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / notification_destinations / items / properties / enabled
      Added value: +{
      +  "description": "False when delivery to this destination is paused.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / notification_destinations / items / required
      Previous value: -[
      -  "id",
      -  "channel",
      -  "destination_configured",
      -  "notification_types",
      -  "notification_type_count"
      -]New value: +[
      +  "id",
      +  "channel",
      +  "destination_configured",
      +  "enabled",
      +  "notification_types",
      +  "notification_type_count"
      +]
    • changedOutput schema / properties / scope / enum
      Previous value: -[
      -  "team",
      -  "tag",
      -  "monitor"
      -]New value: +[
      +  "team",
      +  "tag",
      +  "tag_group",
      +  "monitor"
      +]
    • addedOutput schema / properties / tag_group_id
      Added value: +{
      +  "type": "integer"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered; the description adds genuinely new behavior: destination addresses are never returned (a privacy/format constraint an agent must plan around), and the returned IDs are exactly the identifiers accepted by the update and delete siblings. It does not describe result shape or ordering, but the output schema covers that.

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?

Front-loaded with purpose, then scope semantics, then two short high-value sentences about returned IDs and omitted addresses. The verbatim enum re-listing slightly duplicates the schema, costing a little tightness but adding readability for an agent skimming the description.

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

Completeness5/5

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

For a read-only scoped list with a full output schema, the description covers what the agent needs: which scope to choose, what identifiers come back, how they feed the update/delete siblings, and that addresses are withheld. Nothing required to call it correctly is missing, and a docs link is offered for edge cases.

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 the schema already states which parameter is required for each scope value, so the description only restates the enum meanings. Baseline 3 applies since the schema carries the parameter burden.

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?

Opens with a specific verb+resource ('List where Oh Dear sends alerts') and then enumerates every scope value with a plain-language gloss, so the agent knows exactly what is and is not covered. It is clearly distinguishable from get_* siblings such as get_monitor or list_tag_groups.

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?

The four scope explanations act as selection guidance: pick 'monitor' for a single monitor's alerts, 'tag_group' for tag-group alerts, and so on. It also points forward to update_notification_destination and delete_notification_destination, implying this is the discovery step before mutating. It stops short of stating exclusions or when not to call it.

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