You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace list_contact_points with alerting_manage_routing, a unified
routing tool with five operations:
- get_notification_policies: retrieve the notification policy tree
- get_contact_points: list contact points (replaces list_contact_points)
- get_contact_point: get a single contact point by title
- get_time_intervals: list all time intervals
- get_time_interval: get a single time interval by name
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ The dashboard tools now include several strategies to manage context window usag
132
132
-**List and fetch alert rule information:** View alert rules and their statuses (firing/normal/error/etc.) in Grafana. Supports both Grafana-managed rules and datasource-managed rules from Prometheus or Loki datasources.
133
133
-**Create and update alert rules:** Create new alert rules or modify existing ones.
134
134
-**Delete alert rules:** Remove alert rules by UID.
135
-
-**List contact points:** View configured notification contact points in Grafana. Supports both Grafana-managed contact points and receivers from external Alertmanager datasources (Prometheus Alertmanager, Mimir, Cortex).
135
+
-**Manage alerting routing:** View notification policies, contact points, and time intervals. Supports both Grafana-managed contact points and receivers from external Alertmanager datasources (Prometheus Alertmanager, Mimir, Cortex).
136
136
137
137
### Grafana OnCall
138
138
@@ -294,7 +294,7 @@ Scopes define the specific resources that permissions apply to. Each action requ
294
294
|`create_alert_rule`| Alerting | Create a new alert rule |`alert.rules:write`|`folders:*` or `folders:uid:alerts-folder`|
295
295
|`update_alert_rule`| Alerting | Update an existing alert rule |`alert.rules:write`|`folders:uid:alerts-folder`|
296
296
|`delete_alert_rule`| Alerting | Delete an alert rule by UID |`alert.rules:write`|`folders:uid:alerts-folder`|
297
-
|`list_contact_points`| Alerting |List notification contact points (Grafana-managed and Alertmanager)|`alert.notifications:read`| Global scope |
297
+
|`alerting_manage_routing`| Alerting |Manage notification policies, contact points, and time intervals |`alert.notifications:read`| Global scope |
298
298
|`list_oncall_schedules`| OnCall | List schedules from Grafana OnCall |`grafana-oncall-app.schedules:read`| Plugin-specific scopes |
299
299
|`get_oncall_shift`| OnCall | Get details for a specific OnCall shift |`grafana-oncall-app.schedules:read`| Plugin-specific scopes |
300
300
|`get_current_oncall_users`| OnCall | Get users currently on-call for a specific schedule |`grafana-oncall-app.schedules:read`| Plugin-specific scopes |
@@ -408,166 +407,6 @@ var GetAlertRuleByUID = mcpgrafana.MustTool(
408
407
mcp.WithReadOnlyHintAnnotation(true),
409
408
)
410
409
411
-
typeListContactPointsParamsstruct {
412
-
DatasourceUID*string`json:"datasourceUid,omitempty" jsonschema:"description=Optional: UID of an Alertmanager-compatible datasource to query for receivers. If omitted\\, returns Grafana-managed contact points."`
413
-
Limitint`json:"limit,omitempty" jsonschema:"description=The maximum number of results to return. Default is 100."`
414
-
Name*string`json:"name,omitempty" jsonschema:"description=Filter contact points by name"`
"Lists Grafana notification contact points, returning a summary including UID, name, and type for each. Optionally query Alertmanager receivers by providing datasourceUid. Supports filtering by name - exact match - and limiting the number of results.",
DatasourceUID*string`json:"datasourceUid,omitempty" jsonschema:"description=Optional: UID of an Alertmanager-compatible datasource to query for receivers. If omitted\\, returns Grafana-managed contact points."`
17
+
Limitint`json:"limit,omitempty" jsonschema:"description=The maximum number of results to return. Default is 100."`
18
+
Name*string`json:"name,omitempty" jsonschema:"description=Filter contact points by name"`
0 commit comments