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.

  • Search ndm devices

    Search SNMP-monitored network devices (routers, switches, firewalls) in Datadog NDM. Use to investigate device health, interface bandwidth saturation, LACP/LAG/port-channel issues, topology neighbors (LLDP/CDP), QoS queue drops, or discover devices by vendor/location/type. Use search_ndm_devices first to get device_id values, then get_ndm_device for full details or search_ndm_interfaces for interface status. To map a WiFi BSSID / radio MAC address (e.g. from wifi metrics tagged with 'bssid') to the access point broadcasting it, set the bssid argument (colon form 'aa:bb:cc:dd:ee:ff'); the response is the access point (device_type access_point) or wireless controller (wlc) device(s). An empty result means the BSSID is not mapped to an NDM-managed access point.

  • Search ndm interfaces

    Get all network interfaces (e.g., GigabitEthernet0/0/1, Vlan100) for a device. Use this to troubleshoot connectivity by checking interface status (up/down/warning), identify problematic interfaces during outages, get IP address assignments for topology mapping, or audit interface configuration. Workflow: Use search_ndm_devices first to get the device_id, then use this tool to check interface status. The device_id parameter is a device identifier like 'goxzksskg7ly3w6' from search_ndm_devices results. Set include_ip_addresses to true to include IP addresses for each interface. This adds detail but increases response size for devices with many interfaces. Returns: JSON with device_id, interfaces array (interface_id, name, index, status, description, alias, mac_address, optionally ip_addresses), and summary object (total_count and status_counts). The summary.status_counts shows how many interfaces are up/down/off/warning - useful for quick health checks. Returns all interfaces in a single response (no pagination).

  • Search network device configurations

    Search NDM network device configuration snapshots (running config, startup config) for change tracking, config drift detection, or compliance auditing. Returns config metadata and IDs — use get_network_device_configuration to retrieve full config content, or diff_network_device_configurations to compare two snapshots. Also returns active_running_config_id for the device. Requires a device_id from search_ndm_devices.

  • Search pr insights

    Retrieves issues blocking a pull request to help resolve and fix problems. Provides insights on failed tests, flaky tests, code quality problems, security vulnerabilities, and failed CI jobs.

  • Search replays

    Search Datadog Session Replay recordings and return a list of sessions with replay links. Only returns sessions that have a replay recording available. Two modes: • Session filter mode (default): Filter replays by session attributes such as user identity, device, error count, or any RUM facet. Use `filter` with Datadog search syntax, or leave it empty to get the most recent replays. • Journey search mode: Find replays where users followed a specific sequence of events. Provide `steps` as an ordered array of facet/value pairs (e.g. [{"facet":"@view.name","value":"/home"},{"facet":"@action.name","value":"Click Checkout"}]). Optionally add `filter` to restrict all funnel events to a global RUM condition. After finding sessions of interest, call get_replay_summary with the session_id to get an AI-generated play-by-play of what the user did during that session. If you have not already done so in this conversation, invoke the datadog/session-replay skill first to learn how to discover the correct facet keys and values for your query.

  • Search rum applications

    Search RUM applications in the organization. Returns application_id (UUID), name, type, is_active, rum_event_processing_state (ALL/ERROR_FOCUSED_MODE/NONE), product_analytics_retention_state (MAX/NONE), tags, and creator_email. Use this to discover application_id values required by RUM tools. Filter by name, application_id (exact match), and/or creator_email (substring match). By default only active applications are returned (active_only=true); pass active_only=false to include inactive ones.

  • Search rum metrics

    Search the organization's RUM metrics. Two kinds share the same shape: "custom" metrics are user-defined timeseries computed from RUM events, and "ootb" metrics are Datadog-predefined (server-managed). Omit type to return both with a source discriminator on each row. Examples: (no params) -> list every metric id in the org (custom + ootb) type="custom" -> list only user-defined metrics type="ootb" -> list only Datadog-predefined metrics type="ootb", application_id="<uuid>" -> include which OOTB tags this app actually attaches name="checkout" -> find metric ids containing "checkout" name="dashboard", include_full_details=true -> inspect filter and compute for dashboard-related metrics event_type="error" -> list every error-event metric name="latency", event_type="view" -> view-event metrics about latency LIMITATIONS: - Read-only. To create or update: use upsert_rum_metric. To delete: use delete_rum_metric. - Returns the metric definition (filter, compute, group_by_tags), not its values or ingestion volume. - name is substring, not regex or wildcard. Omit it to list every metric. Note: To query a metric's VALUES (not its definition), use get_datadog_metric, or ddsql_run_query against dd.metrics_scalar / dd.metrics_timeseries.

  • Search rum operations

    Search or list RUM operations in the organization. Discovers all operations (SDK-instrumented and UI-configured) via the rum.measure.operation metric, then enriches with metadata (id, display_name, tags) from configured operations. Operations only observed via the SDK have no id. Returns each operation's id (configured ops only), name, display_name, application_id, and tags. The query is a case-insensitive substring match on the operation name. from/to/lookback default to the last 7 days and control the metric time window. Use this tool to discover or confirm an operation before investigating it: call it first to confirm an operation exists and to get its operation_id/application_id before get_rum_operation_insights or delete_rum_operation — a typo'd or nonexistent name silently returns empty results from those tools, and resolving by name here avoids investigating or deleting the wrong operation.

  • Search rum retention filters

    Search RUM retention filters for an application. Retention filters control which RUM events are indexed and retained. Provide application_id to list filters for that application, optionally narrowed by name (case-insensitive substring), event_type (one of session, view, action, error, resource, long_task, vital, operation), or enabled_only. Results are paginated client-side: use limit (default 50, max 100) with offset (zero-based, default 0) to walk through matches. The response is {filters, total, hasMore, nextOffset}: total is the post-filter count before paging so callers know the full match size; when hasMore is true, pass the returned nextOffset back as offset to retrieve the next page. This tool is read-only. To create a filter use append_new_rum_retention_filter; to update one in place use update_rum_retention_filter; to change the evaluation order use reorder_rum_retention_filters; to remove one use delete_rum_retention_filter. For questions about how filters evaluate events, permanent filters, or cross-product APM traces filters, call load_datadog_skill with skill_name=datadog/rum and resource_path=references/retention_filters.md. For debugging why a session was or wasn't retained, auditing filter ordering, or suggesting filter layouts, call load_datadog_skill with skill_name=datadog/rum and resource_path=references/retention_filters_best_practices.md.

  • Serverless onboarding

    Step-by-step instructions for instrumenting serverless workloads with Datadog. This tool helps configure Datadog metrics, server-side APM tracing, and logs for serverless platforms such as AWS Lambda, Vercel, GCP Cloud Run, GCP Cloud Run functions (Gen 2), and Azure Container Apps. Asking to monitor or instrument any of these workloads is enough to start this flow. This tool does not set up browser-side RUM or error tracking. You must first review the user's project and fill out as many arguments as possible before calling this tool. Use serverlessComputeType gcp-cloud-run for Cloud Run services (containers); use gcp-cloud-run-functions for Cloud Run functions Gen 2 (dedicated flow with Gen 2 confirmation); use azure-container-apps for Azure Container Apps. IMPORTANT: For GCP Cloud Run and Azure Container Apps, this tool will ask you mandatory questions before generating any code. You MUST answer all questions before proceeding.

  • Source map uploads

    Step-by-step instructions for configuring source map uploads for a project to Datadog. You must first review the user's project and fill out as many arguments as possible before calling this tool. Only call this tool if the user's project has a supported bundler.

  • Studio onboarding

    Step-by-step instructions for adding Datadog Studio to a project. You must first review the user's project and fill out as many arguments as possible before calling this tool. Check project files and dependencies to determine the argument values, focusing on dependency files, build configuration files, and project structure. Only provide values you can substantiate from the user's files. If you are not sure about file content or codebase structure pertaining to the user's request, use your tools to read files and gather the relevant information: do NOT guess or make up an answer.

  • Suggest data observability monitor filters

    Analyze a set of entities to find common attributes and naming patterns, then suggest monitor filter expressions that group subsets of those entities for use in monitor definitions. Pass entity IDs from prior tool results (rank_data_entities_by_lineage_degree, get_popular_warehouse_tables_by_query_frequency, search_data_entities, etc.) to discover what the most important tables have in common. The tool detects: - Shared core attributes (platform, schema, database, account) across all or subsets of entities - Common name prefixes (e.g. "stg_*", "fact_*") and suffixes (e.g. "*_raw", "*_daily") Each suggested filter is a condition expression (e.g. "platform:snowflake AND schema:staging") that can be: - Passed to search_data_entities via the query parameter to see ALL tables matching the filter - Used as a monitor filter to cover a group of tables without naming each one Workflow: 1. Gather high-priority entity IDs from lineage, query activity, and coverage tools 2. Call suggest_data_observability_monitor_filters with those entity IDs 3. Pass a suggested filter to search_data_entities (via query param) to verify the scope 4. Narrow the filter if needed (add schema, database, or name conditions) Parameters: - entity_ids: List of hex entity ID strings to analyze (minimum 2, from prior tool results). Returns: suggested filters sorted by match count, common attributes shared by all input entities.

  • Summarize data entity lineage

    Get aggregate statistics about the lineage graph reachable from anchor entities. Use this BEFORE get_data_entity_lineage when dealing with large or unknown graphs. It returns counts and breakdowns without the full node/edge payload, so it works on graphs of any size. Typical workflow: 1. summarize_data_entity_lineage to understand graph shape (total nodes, types, depth distribution) 2. get_data_entity_lineage with a small max_depth (and specific anchors) to pull the actual nodes + edges for a region of interest 3. get_data_entity_details for full attributes on specific entities Filtering by node/edge type and per-attribute breakdowns are supported here (include/exclude_node_types, group_by_attrs); get_data_entity_lineage returns the raw graph and does not filter. Parameters: - anchor_entity_ids: one or more hex entity IDs (required). Use search_data_entities to find IDs. - direction: "downstream" (default) or "upstream". If both are needed, make two summarize_data_entity_lineage calls - max_depth: Maximum BFS depth (default 50). Higher than get_data_entity_lineage since no payload concern. - group_by_attrs: Attribute names to aggregate (e.g. ["platform", "schema", "database"]). - include_node_types: Only include these node types. Empty = all. - exclude_node_types: Exclude these node types (e.g. ["dbt_model", "s3_bucket"]). - include_edge_types: Only include these edge types. Empty = all. - exclude_edge_types: Exclude these edge types. Returns: - total_nodes, total_edges: aggregate counts. total_nodes INCLUDES the anchor entities themselves (they sit at depth 0). - anchor_node_count: how many of total_nodes are the anchors you queried (depth 0). - connected_node_count: nodes connected by lineage beyond the anchors (= total_nodes - anchor_node_count). Use this when reporting "how many dependencies/connections", not total_nodes. - max_depth_reached: deepest BFS level with nodes - nodes_by_type: type → count breakdown - nodes_by_attr: attr_name → value → count (for each group_by_attrs entry) - edges_by_type: edge type → count breakdown - depth_levels: per-depth summary with node counts, type breakdown, and attribute breakdown. depth 0 is the anchor entities themselves; depth >= 1 are connected lineage. - note: human-readable summary, including the anchor-vs-connected breakdown.

  • Test optimization onboarding

    Step-by-step instructions for adding Datadog Test Optimization setup this project. You must first review the user's project and this tool's arguments (including any nested arguments) and fill out as many of them as possible before calling this tool. Check project files and dependencies to determine the argument values, focusing on dependency files and imports. Only provide values you can substantiate from the user's files. If you are not sure about file content or codebase structure pertaining to the user's request, use your tools to read files and gather the relevant information: do NOT guess or make up an answer. Before calling this tool, you must first check if the user's project has already been configured for Datadog. If it has, you should further check if the project has already been configured for Test Optimization. If it has, you should not call this tool. Use CLI utilities, such as `ls` and `cat` when checking if the project contains existing env files and viewing their contents, respectively.

  • Validate dashboard widget

    Validate a widget definition against the dashboard schema. Call when generating a widget JSON.

  • Validate datadog workflow

    A read-only check of a complete candidate workflow spec. It does not create or change a workflow. Semantic invalidity returns isValid: false and validationErrors. Malformed tool arguments can still produce a tool error. Validation does not prove external credentials, permissions, or third-party runtime behavior.

  • Validate monitor definition

    Validates a monitor JSON definition. Always use before create_datadog_monitor.

  • Verify-onboarding-flag

    Verify a client-side onboarding flag through the public Datadog CDN using the user's own client token — the same path browser/mobile client SDKs use. Returns {ok:true, value:true, variation_key:"<served variant>"} only when the flag serves the boolean value true from the normal CDN cache. variation_key reflects whichever variant actually served true, not necessarily "enabled" — a flag created manually in the UI may name its variants differently than create-onboarding-flag's fixed "enabled"/"disabled" shape. The client_token is sensitive: it is used only for this call, never logged, and never stored in onboarding state.

PreviousPage 13 / 13