diff --git a/content/en/bits_ai/mcp_server/setup/_index.md b/content/en/bits_ai/mcp_server/setup/_index.md index 11d353422c5..1e3d8ce0053 100644 --- a/content/en/bits_ai/mcp_server/setup/_index.md +++ b/content/en/bits_ai/mcp_server/setup/_index.md @@ -398,12 +398,20 @@ Aggregates CI pipeline events to produce statistics, metrics, and grouped analyt ### `get_datadog_flaky_tests` *Toolset: **software-delivery***\ -Searches Datadog [Test Optimization][25] for flaky tests and returns triage-ready details, including failure-rate stats, flaky state/category, ownership context (`codeowners`, `services`, `module`, `suite`), branch/SHA history, CI pipeline impact, and recent test-run metadata. Supports pagination with `page_cursor` and sorting by fields such as `failure_rate` or `pipelines_failed`. +Searches Datadog [Test Optimization][25] for flaky tests and returns triage details (failure rate, category, owners, history, CI impact), with pagination and sorting. - Find active flaky tests for the checkout service owned by `@team-abc`, sorted by failure rate. - Show flaky tests on branch `main` for repo `github.com/org/repo`, most recent first. - List flaky tests in the `timeout` category with high failure rate (50%+) so I can prioritize fixes. +### `aggregate_datadog_test_events` +*Toolset: **software-delivery***\ +Aggregates Datadog Test Optimization events to quantify reliability and performance trends with aggregation functions, optional metrics, group-by facets, and configurable test levels. + +- Count the number of failed tests over the last week, grouped by branch. +- Show me the 95th-percentile duration for each test suite to identify the slowest ones. +- Count all passing and failing tests, grouped by code owners. + ## Context efficiency The Datadog MCP Server is optimized to provide responses in a way that AI agents get relevant context without being overloaded with unnecessary information. For example: