Skip to content

Commit e446352

Browse files
committed
docs: update README with new Datadog downtime management functions
Add documentation for two new Datadog downtime management functions: - `list_downtimes`: Retrieve scheduled downtimes with optional filtering - `schedule_downtime`: Create downtimes with advanced configuration options - `cancel_downtime`: Cancel a specific scheduled downtime Expand README to provide comprehensive details about input parameters and return values for these new downtime management tools.
1 parent 825c6a6 commit e446352

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

+33
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,44 @@ MCP server for the Datadog API, enabling incident management and more.
107107
- **Returns**: Success status and confirmation message.
108108

109109
11. `unmute_host`
110+
110111
- Unmute a host in Datadog.
111112
- **Inputs**:
112113
- `hostname` (string): The name of the host to unmute.
113114
- **Returns**: Success status and confirmation message.
114115

116+
12. `list_downtimes`
117+
118+
- List scheduled downtimes from Datadog.
119+
- **Inputs**:
120+
- `currentOnly` (optional boolean): Return only currently active downtimes when true.
121+
- `monitorId` (optional number): Filter by monitor ID.
122+
- **Returns**: Array of scheduled downtimes with details including scope, monitor information, and schedule.
123+
124+
13. `schedule_downtime`
125+
126+
- Schedule a downtime in Datadog.
127+
- **Inputs**:
128+
- `scope` (string): Scope to apply downtime to (e.g. 'host:my-host').
129+
- `start` (optional number): UNIX timestamp for the start of the downtime.
130+
- `end` (optional number): UNIX timestamp for the end of the downtime.
131+
- `message` (optional string): A message to include with the downtime.
132+
- `timezone` (optional string): The timezone for the downtime (e.g. 'UTC', 'America/New_York').
133+
- `monitorId` (optional number): The ID of the monitor to mute.
134+
- `monitorTags` (optional array): A list of monitor tags for filtering.
135+
- `recurrence` (optional object): Recurrence settings for the downtime.
136+
- `type` (string): Recurrence type ('days', 'weeks', 'months', 'years').
137+
- `period` (number): How often to repeat (must be >= 1).
138+
- `weekDays` (optional array): Days of the week for weekly recurrence.
139+
- `until` (optional number): UNIX timestamp for when the recurrence ends.
140+
- **Returns**: Scheduled downtime details including ID and active status.
141+
142+
14. `cancel_downtime`
143+
- Cancel a scheduled downtime in Datadog.
144+
- **Inputs**:
145+
- `downtimeId` (number): The ID of the downtime to cancel.
146+
- **Returns**: Confirmation of downtime cancellation.
147+
115148
## Setup
116149

117150
### Datadog Credentials

0 commit comments

Comments
 (0)