IT & Security

Datadog MCP

Investigate Datadog telemetry, incidents, dashboards, and service health.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get datadog database explain plans

    Retrieve explain plans for a query or plan signature within a timeframe. Returns simplified plan structures optimized for analysis, including operator trees, index usage, estimated costs, and temporal metadata (first seen, last seen, occurrence count). Plans are sorted by estimated cost in descending order. When you already know the plan signature, pass plan_signature — a query-signature-only search returns at most the 50 most frequent plans and can miss a target, especially EXPLAIN ANALYZE plans which vary more than generic explains. Note: For SQL Server stored procedures with multiple statements, the simplified_plan field describes the first statement only; additional statements in the procedure are not currently surfaced.

  • Get datadog database health signals

    Run database health checks to identify potential issues. Returns evidence-based signals about database health including CPU saturation, restarts, query latency, blocking, and more. Compares a regression timeframe (showing the issue) against a baseline period.

  • Get datadog database query performance

    Analyze a specific SQL query's performance — use when investigating slow queries, high database load, or resource-intensive queries. Returns throughput, average latency, execution time, rows per execution, cache hit ratio, I/O stats, connection activity, wait events, and transaction duration. Each metric includes overall statistics and time-bucketed analysis. Requires a query_signature and a database_instance.

  • Get datadog database query statement

    Retrieve the SQL statement text for a given query signature. The query signature is a stable hash fingerprint of the normalized SQL; use this tool to map signatures back to concrete SQL for investigation and reporting.

  • Get datadog database recommendations

    Retrieve live database recommendations for a database, query, table, host, or index. Returns the matching recommendations, current status, severity, raw recommendation context, and a normalized scope block that highlights affected database instances, query signatures, tables, indexes, services, plans, and infrastructure identifiers.

  • Get datadog database schemas

    Fetch schema definitions (columns, indexes, foreign keys, partitions) for one or more database objects. Accepts a list of database objects with varying levels of specificity — from just a table name to a fully qualified table+schema+database+instance. Indexes, foreign keys, and partitions are not part of the table signature and can differ across instances. Matching schema metadata is grouped into table_instances, each listing the hosts and databases it applies to. table_instances is capped. If truncated is true, pass database_instance to fetch a specific host. Returns the current schema definitions. If investigating a past incident, schemas may have changed since then.

  • Get datadog error tracking issue

    Get detailed information about a specific Error Tracking Issue from Datadog. Use this tool to retrieve full details for a single Issue by its ID. The Issue ID can be obtained from the search_datadog_error_tracking_issues tool or from Logs, Traces or RUM Errors (issue.id attribute).

  • Get datadog flaky tests

    Search flaky tests from Datadog Test Optimization. Results include failure-rate stats, flaky state and category, ownership context, branch and SHA history, test-run metadata, and CI-pipeline impact. Use page cursors from meta.pagination.next_page to continue a search.

  • Get datadog flaky tests management policies

    Return Flaky Tests Management policies for a repository, including quarantine, disable, and attempt-to-fix settings.

  • Get datadog form

    Get a specific Datadog form by its ID, including full metadata and datastore configuration.

  • Get datadog incident

    Get detailed information about a specific Datadog incident by ID, including status, severity, timeline, associated users, and attachments.

  • Get datadog k8s manifest

    Get the YAML manifest for a specific Kubernetes resource. Use this tool instead of kubectl get -o yaml. Returns the manifest in YAML format. If the manifest exceeds max_tokens, it will be truncated and metadata will indicate truncation occurred. Use json_path to extract a specific subtree (e.g., 'spec.containers') when the full manifest is too large. Note: json_path is applied after concise filtering and exclude_fields, so fields removed by either are not available via json_path. Use exclude_fields to remove specific top-level or nested paths (e.g., 'status', 'metadata.managedFields') from the full manifest while preserving everything else, including empty fields. This is useful when you want a full manifest minus specific fields without the broader stripping done by concise=true. exclude_fields is applied after concise filtering and before json_path. IMPORTANT - Parameter Precedence: 1. If 'hash' is provided → it takes precedence and is used directly (uid and resource_identifiers are ignored) 2. Else if 'uid' is provided → it takes precedence over resource_identifiers (resource_identifiers is ignored); fetches the latest manifest by uid 3. Else 'resource_identifiers' must be provided to fetch the latest manifest - Use 'resource_identifiers' when you know the resource details (cluster, namespace, name) - DO NOT search first - Use 'uid' ONLY if you obtained it from a previous search NOTE: For crd kind, use resource_identifiers with resource_name in the format: <kind-plural>.<group> (e.g., "datadogagents.datadoghq.com"). Examples: - "get manifest for pod my-app in cluster prod namespace default" → Use resource_identifiers: {"cluster": "prod", "namespace": "default", "resource_name": "my-app"} - "get container ports for deployment api-server in namespace default, cluster staging" → Use resource_identifiers: {"cluster": "staging", "namespace": "default", "resource_name": "api-server"} with json_path: "spec.template.spec.containers[*].ports[*].containerPort" - "get manifest for namespace orchestrator in cluster gizmo" → Use resource_identifiers: {"cluster": "gizmo", "namespace": "orchestrator"} - You already have a UID from search results → Use uid - "get container names from pod my-app" → json_path: "spec.containers[*].name" - "get first container image" → json_path: "spec.containers[0].image"

  • Get datadog metric

    Query metrics data from Datadog. Use response_format='timeseries' (default) to get time-indexed data points for graphs and trend analysis. Use response_format='scalar' to get a single aggregated value per group, useful for current state, summaries, and comparisons. For response_format='scalar', use structured query objects; the aggregator field controls how the time window collapses to a single value and defaults to avg if omitted. The query prefix, such as avg: or sum:, is not the scalar aggregator field. Supports multiple queries in one call plus formula expressions. Query syntax: grouping must come before modifiers, e.g. 'sum:trace.http.request.errors{env:prod} by {service}.as_count()', not '.as_count() by {service}'. Within {...}, do not mix comma-separated tag filters with boolean filters; if any top-level filter uses AND, OR, NOT, or IN, join top-level filters with explicit AND and parenthesize OR groups, e.g. '{(service:api OR service:worker) AND datacenter:us1.prod.dog}', not '{service:api OR service:worker,datacenter:us1.prod.dog}'.

  • Get datadog metric context

    Get metadata (description, type, unit, integration), available tags/dimensions, and optionally related assets for a metric. Useful for exploring metrics before querying them. Set use_cloud_cost=true for Cloud Cost Management metrics.

  • Get datadog notebook

    Retrieve information about a specific Datadog notebook by ID. This tool provides details including name, status, and associated author. The ID can also be extracted from a URL. The ID will be the last component, for example, <host>/notebook/<ID>.

  • Get datadog security aap blocking config

    Get the org-wide AAP (App & API Protection, formerly ASM / Application Security Monitoring) blocking configuration. Returns blocking_enabled, which controls default AAP attack blocking, and denylist_enabled, which controls whether AAP denylist entries are enforced. Call this FIRST when a user reports that AAP/ASM attacks are being detected but not blocked — org-wide blocking being disabled is the most common root cause. Call this for questions about global AAP blocking mode or denylist enforcement status, including: "is AAP blocking or only monitoring by default", "is AAP denylist enforcement enabled", "would adding an IP to the AAP denylist actually block it", "why might AAP monitor attacks instead of blocking them", "attacks detected but not blocked", "ASM not blocking requests", "why are my security traces not being blocked", "traces show blocked:false". Use this for global blocking status and enforcement mode. NOT for listing denylist entries, passlist entries, or custom WAF rules - use those dedicated tools when the user asks for entries/rules. Keywords: AAP, ASM, App and API Protection, Application Security Monitoring, WAF, blocking config, blocking configuration, blocking_enabled, denylist_enabled, denylist enforcement, global blocking mode, monitoring mode, attacks not blocked, detected but not blocked, blocked:false.

  • Get datadog security aap custom rules

    Get AAP (App & API Protection, formerly ASM / Application Security Monitoring) WAF custom rules — user-authored in-app WAF rules that match request traffic and either monitor it or block it. Each rule has match conditions, an optional service/env scope, and a category + type tag. Answers: "what custom WAF rules do we have", "list our custom AAP/ASM rules", "is any rule blocking traffic", "what in-app rules are monitoring vs blocking", "show custom rule X", "do we block requests matching Y", "what custom rules apply to service Z in staging". Pass rule_id to fetch one rule by id; omit it to enumerate every custom rule. Each rule reports a derived status: disabled (not enabled), monitoring (enabled, flags only), or blocking (enabled, blocks on match). Filter client-side with category, status, service, and env. max_tokens caps the response; on truncation metadata sets is_truncated=true — widen the budget or filter harder. NOT Cloud SIEM / security-monitoring detection rules (signals over logs) — use the detection-rule tools for those. NOT the AAP trace passlist/allowlist (exclusions) or denylist (blocked IPs/users) — use those tools instead. Keywords: AAP, ASM, App and API Protection, Application Security Monitoring, WAF, custom rule, custom WAF rule, in-app WAF rule, in-app protection rule, blocking rule, monitoring rule, request matching rule.

  • Get datadog security aap denylist

    List AAP (App & API Protection) denylist entries — IPs, users, user-agents AAP currently BLOCKS or monitors via automated security response. Each entry = Security Response Entity (aka "ASM Block" / "AAP block"). Store: ASM_DATA + RC. Answers: "what's blocked", "who/what is AAP blocking", "show blocklist/denylist/blocked IPs/users/user-agents", "blocking attacker X?", "is this IP denied?", "active blocks?", "list ASM blocks". IPs / users / user-agents in the trace passlist / allowlist will NOT be blocked, even if they are in the denylist. NOT for passlist / exclusion-filter / WAF exception queries — use get_datadog_security_trace_passlist. Each entry has exactly one of ip/user/useragent set, plus optional expiration: zero/missing = permanent block; future = block until then; past = UNBLOCKED. Expired filtered out by default; include_expired=true surfaces recently-unblocked. Filtering is client-side: entity_type narrows category; value = case-insensitive substring vs ip/user/useragent. max_tokens caps response; on truncation metadata sets is_truncated=true — widen budget or filter harder. Keywords: AAP, ASM, App and API Protection, denylist, deny list, blocklist, block list, blocked, blocking, ASM block, security response, blocked IPs, blocked users, blocked user agents, attacker block.

  • Get datadog security detection rules

    Get security detection rules. This tool supports two modes based on the arguments provided: 1. Get a single rule by ID: provide rule_id — always returns the full rule object regardless of fields or full_rule. 2. List rules: call without rule_id (optionally filter with query, limit response with max_tokens). IMPORTANT: there may be a high volume of rules. Use the query parameter to filter as often as possible unless the user is clearly asking for all rules indiscriminately. rule_id and query are mutually exclusive. When rule_id is provided, max_tokens, fields, and full_rule are ignored. List mode default subset (when neither fields nor full_rule is set): id, name, type, options.detectionMethod, metadata.sources, isEnabled, isDefault. Pass fields to request a different subset, or full_rule: true to receive all fields.

  • Get datadog security detection rules schema

    Return the schema / authoring reference for Datadog Cloud SIEM detection rules. Includes log_detection plus supported workload_security, application_security, api_security, and ai_guard sections. Customer-authorable detection methods covered here are threshold, new_value, anomaly_detection, impossible_travel, third_party, and sequence_detection. Use this before calling create_datadog_security_detection_rule / update. Also useful when authoring a rule's own detection query: the tag_conventions and query_syntax sections document the log-search grammar and tag namespaces used inside queries[].query (e.g. source:cloudtrail, technique:T1110*, env:prod). For the separate `query` argument of get_datadog_security_detection_rules, which filters the list of rules themselves, see the rule_search_facets section instead. Every response section is filterable — pass `sections`, `rule_types`, `detection_methods`, or set `include_examples: false` to trim the payload to what the agent actually needs. Static content — no network call.

PreviousPage 7 / 19Next