@@ -88,28 +88,40 @@ MCP server for the Datadog API, enabling incident management and more.
8888 - ` operation ` (optional string): Filter by operation name.
8989 - ** Returns** : Array of matching traces from Datadog APM.
9090
91- 9 . ` list_hosts `
91+ 9 . ` list_spans `
9292
93- - Get list of hosts from Datadog.
93+ - Get a list of spans matching a search query ( Datadog Spans Search API) .
9494 - ** Inputs** :
95- - ` filter ` (optional string): Filter string for search results.
96- - ` sort_field ` (optional string): Field to sort hosts by.
97- - ` sort_dir ` (optional string): Sort direction (asc/desc).
98- - ` start ` (optional number): Starting offset for pagination.
99- - ` count ` (optional number): Max number of hosts to return (max: 1000).
100- - ` from ` (optional number): Search hosts from this UNIX timestamp.
101- - ` include_muted_hosts_data ` (optional boolean): Include muted hosts status and expiry.
102- - ` include_hosts_metadata ` (optional boolean): Include host metadata (version, platform, etc).
103- - ** Returns** : Array of hosts with details including name, ID, aliases, apps, mute status, and more.
104-
105- 10 . ` get_active_hosts_count `
95+ - ` query ` (string): Search query following spans syntax.
96+ - ` from ` (number): Minimum timestamp for requested spans (epoch seconds).
97+ - ` to ` (number): Maximum timestamp for requested spans (epoch seconds).
98+ - ` sort ` (optional string): Order of spans in results ('timestamp' | '-timestamp').
99+ - ` cursor ` (optional string): Pagination cursor from previous request.
100+ - ` limit ` (optional number): Maximum number of spans to return (default 100).
101+ - ** Returns** : Spans list, count, and next cursor when available.
102+
103+ 10 . ` list_hosts `
104+
105+ - Get list of hosts from Datadog.
106+ - ** Inputs** :
107+ - ` filter ` (optional string): Filter string for search results.
108+ - ` sort_field ` (optional string): Field to sort hosts by.
109+ - ` sort_dir ` (optional string): Sort direction (asc/desc).
110+ - ` start ` (optional number): Starting offset for pagination.
111+ - ` count ` (optional number): Max number of hosts to return (max: 1000).
112+ - ` from ` (optional number): Search hosts from this UNIX timestamp.
113+ - ` include_muted_hosts_data ` (optional boolean): Include muted hosts status and expiry.
114+ - ` include_hosts_metadata ` (optional boolean): Include host metadata (version, platform, etc).
115+ - ** Returns** : Array of hosts with details including name, ID, aliases, apps, mute status, and more.
116+
117+ 11 . ` get_active_hosts_count `
106118
107119 - Get the total number of active hosts in Datadog.
108120 - ** Inputs** :
109121 - ` from ` (optional number): Number of seconds from which you want to get total number of active hosts (defaults to 2h).
110122 - ** Returns** : Count of total active and up hosts.
111123
112- 11 . ` mute_host `
124+ 12 . ` mute_host `
113125
114126 - Mute a host in Datadog.
115127 - ** Inputs** :
@@ -119,22 +131,22 @@ MCP server for the Datadog API, enabling incident management and more.
119131 - ` override ` (optional boolean): If true and the host is already muted, replaces existing end time.
120132 - ** Returns** : Success status and confirmation message.
121133
122- 12 . ` unmute_host `
134+ 13 . ` unmute_host `
123135
124136 - Unmute a host in Datadog.
125137 - ** Inputs** :
126138 - ` hostname ` (string): The name of the host to unmute.
127139 - ** Returns** : Success status and confirmation message.
128140
129- 13 . ` list_downtimes `
141+ 14 . ` list_downtimes `
130142
131143 - List scheduled downtimes from Datadog.
132144 - ** Inputs** :
133145 - ` currentOnly ` (optional boolean): Return only currently active downtimes when true.
134146 - ` monitorId ` (optional number): Filter by monitor ID.
135147 - ** Returns** : Array of scheduled downtimes with details including scope, monitor information, and schedule.
136148
137- 14 . ` schedule_downtime `
149+ 15 . ` schedule_downtime `
138150
139151 - Schedule a downtime in Datadog.
140152 - ** Inputs** :
@@ -152,20 +164,20 @@ MCP server for the Datadog API, enabling incident management and more.
152164 - ` until ` (optional number): UNIX timestamp for when the recurrence ends.
153165 - ** Returns** : Scheduled downtime details including ID and active status.
154166
155- 15 . ` cancel_downtime `
167+ 16 . ` cancel_downtime `
156168
157169 - Cancel a scheduled downtime in Datadog.
158170 - ** Inputs** :
159171 - ` downtimeId ` (number): The ID of the downtime to cancel.
160172 - ** Returns** : Confirmation of downtime cancellation.
161173
162- 16 . ` get_rum_applications `
174+ 17 . ` get_rum_applications `
163175
164176 - Get all RUM applications in the organization.
165177 - ** Inputs** : None.
166178 - ** Returns** : List of RUM applications.
167179
168- 17 . ` get_rum_events `
180+ 18 . ` get_rum_events `
169181
170182 - Search and retrieve RUM events from Datadog.
171183 - ** Inputs** :
@@ -175,7 +187,7 @@ MCP server for the Datadog API, enabling incident management and more.
175187 - ` limit ` (optional number): Maximum number of events to return (default: 100).
176188 - ** Returns** : Array of RUM events.
177189
178- 18 . ` get_rum_grouped_event_count `
190+ 19 . ` get_rum_grouped_event_count `
179191
180192 - Search, group and count RUM events by a specified dimension.
181193 - ** Inputs** :
@@ -185,7 +197,7 @@ MCP server for the Datadog API, enabling incident management and more.
185197 - ` groupBy ` (optional string): Dimension to group results by (default: "application.name").
186198 - ** Returns** : Grouped event counts.
187199
188- 19 . ` get_rum_page_performance `
200+ 20 . ` get_rum_page_performance `
189201
190202 - Get page (view) performance metrics from RUM data.
191203 - ** Inputs** :
@@ -195,7 +207,7 @@ MCP server for the Datadog API, enabling incident management and more.
195207 - ` metricNames ` (array of strings): Array of metric names to retrieve (e.g., 'view.load_time', 'view.first_contentful_paint').
196208 - ** Returns** : Performance metrics including average, min, max, and count for each metric.
197209
198- 20 . ` get_rum_page_waterfall `
210+ 21 . ` get_rum_page_waterfall `
199211
200212 - Retrieve RUM page (view) waterfall data filtered by application name and session ID.
201213 - ** Inputs** :
@@ -243,7 +255,7 @@ pnpm watch # for development with auto-rebuild
243255
244256To use this with Claude Desktop, add the following to your ` claude_desktop_config.json ` :
245257
246- On MacOS: ` ~/Library/Application Support/Claude/claude_desktop_config.json `
258+ On MacOS: ` ~/Library/Application Support/Claude/claude_desktop_config.json `
247259On Windows: ` %APPDATA%/Claude/claude_desktop_config.json `
248260
249261``` json
0 commit comments