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 ndm device

    Get detailed information about a network device by its device_id. Use this to investigate device health and connectivity (ping status), get hardware details (vendor, model, serial number), check OS info for patching/compatibility, or view device location and tags. Workflow: Use search_ndm_devices first to get the device_id, then use this tool for full details. Use search_ndm_interfaces for interface-level investigation. The device_id parameter is a device identifier like 'goxzksskg7ly3w6' from search_ndm_devices results. Returns: JSON with device object containing device_id, name, ip_address, vendor, model, device_type, status, ping_status, description, serial_number, os_name, os_version, tags, and location. Check status and ping_status fields for health assessment.

  • Get network device configuration

    Retrieve the full text of an NDM network device configuration snapshot (running config or startup config) for review, compliance auditing, or troubleshooting. Use a config_id from search_network_device_configurations results. Returns the complete config_content along with metadata (config_type, config_source, created_at, tags).

  • Get network path test runs

    Search and retrieve Network Path test runs using a query. Network Path tests data contains traceroute runs and hop-by-hop data. **Query Syntax**: Use search syntax to filter test runs. Common query patterns include: - Search by test ID: 'test_id:abc123' - Search by source/destination: 'source.hostname:"my-server"' or 'destination.hostname:"target-server"' - Time-based queries: Use the 'from' and 'to' parameters for time ranges - Combine with AND/OR: 'source.hostname:"server-a" AND destination.hostname:"server-b"' - Use wildcards: 'source.hostname:prod-*' (do NOT quote wildcard values) **IMPORTANT - Quoting rules**: Always wrap filter values in double quotes, except: - Wildcard values containing * (quoting makes * literal): source.hostname:prod-* - Plain identifiers like test_id, test_config_id, test_result_id: test_id:abc123 Examples: source.hostname:"aws:ap-southeast-2" (correct) source.hostname:aws:ap-southeast-2 (WRONG - colon breaks query) source.hostname:prod-* (correct - wildcard, not quoted) source.hostname:"prod-*" (WRONG - * won't expand) **Response**: Returns network path test runs. The response <METADATA> includes 'network_path_map_url', a deep link to the Network Path Map visualization for the returned results. Always present this link to the user. Use this tool to: - Fetch Network Path test runs with hop-by-hop data. - Investigate failed network path tests - Analyze network performance between specific endpoints - Retrieve historical test run data

  • Get-onboarding-step

    Use this FIRST — before create-feature-flag — whenever a user asks to set up, add, or onboard Datadog feature flags in a project that doesn't have them yet: e.g. "set up feature flags", "add feature flags to my app", "get started with feature flags", "onboard this app onto feature flags", "start using Datadog feature flags", "install Datadog feature flags". Prefer it for any first-time/from-scratch feature-flag integration, since it enforces non-production safety gates and provides real end-to-end CDN verification (via verify-onboarding-flag) that create-feature-flag does not. Plan the next step of Datadog feature-flag onboarding. Read-only: it makes no writes and no upstream calls. Pass the current onboarding 'state' (empty to start). Returns the next instructions and the expected next-state shape. All onboarding branching lives here — call it at the start of each step and follow the returned instructions. Never put a client token in state.

  • Get popular warehouse tables by query frequency

    Rank database tables by query activity, broken out by who is querying them. Returns one signal per user type, each an independently ranked list of the top N tables for that user type sorted by query count: human — real users (engineers, analysts). Strongest signal for business-critical tables. bi_tool — BI tools (Metabase, Looker, Tableau, Sigma). Tables powering dashboards. orchestrator — pipeline tools (dbt, Airflow, Dagster, Prefect, Spark). etl_tool — ETL tools (Fivetran, Stitch, Airbyte, Matillion). internal_app — Snowflake IA_ service accounts and generic service accounts. User identity varies by platform: - Snowflake: "user" is the Snowflake username, "role" is the warehouse role (often reveals the actual human behind a service/compute user). - BigQuery: "user_email" is the primary identity (the GCP email of the querying user). "user" may be a project or service account. Cite whichever field best identifies the person for the platform in question. A table appearing in multiple signals (e.g. top human AND top bi_tool) is a stronger monitoring candidate than one appearing in only one. Use signal_type to scope to a single signal. Omit to return all signals. Combine with rank_entities_by_lineage_degree (lineage signal) and suggest_monitor_filters (grouping signal) to build a complete picture of which tables are most important to monitor. Available fields for additional_filter (Datadog log syntax): @platform:snowflake filter to a specific data platform @database:analytics filter to a specific database @schema:public filter to a specific schema @user:alice filter to a specific user (Snowflake username) @user_email:alice@co.com filter to a specific user email (BigQuery identity) @role:analyst_role filter to a specific warehouse role (Snowflake) @telemetry_source_type:... filter by how queries were captured To EXCLUDE specific values, prefix the filter with a dash: -@user:dbt_cloud_user exclude a specific user -@platform:bigquery exclude a platform -@schema:information_schema exclude a schema -@database:system exclude a database Multiple exclusions can be combined: -@user:dbt_cloud -@schema:information_schema Parameters: - time_period: How far back to look. Accepts days ("7d", "3d", "1d") or hours ("24h", "12h"). Default "7d". If a call times out, retry with a shorter period ("3d", then "24h") before giving up. - timeout: Override the default 2-minute deadline for the underlying query. Use a Go duration string (e.g. "5m", "10m"). Only set when the user explicitly asks to wait longer. - signal_type: Return only one signal. One of: human, bi_tool, orchestrator, etl_tool, internal_app. - additional_filter: Extra filter in Datadog log syntax, appended to the base query. - additional_group_by: Extra group-by field in Datadog log syntax (e.g. "@role" to break out by warehouse role). The value appears as group_by_value on each user entry. - top_n: Max tables per signal (default 20). Returns: signals array, each with signal_type and ranked tables (query_count, top_users, metadata).

  • Get profiling fields

    Discover available fields and facets that can be used for filtering and grouping profiling data. Use this to find what groupBy or filter fields are available for get_profiling_timeseries queries. Returned fields only applicable to get_profiling_timeseries queries. Returns an object with a "fields" array. Each element has: - "type": one of "frame" (stack frame attributes like function, file, package), "top_frame" (top-of-stack frame), "top_mycode_frame" (top user-code frame), "context" (label-based context like endpoint), "unknown" - "path": the field path to use in queries and groupBy (e.g. "@stack.function", "@labels.trace_endpoint") - "display_name": human-readable name for the field For tags (service, host, env, etc.) use get_profiling_tag_names/get_profiling_tag_values instead.

  • Get profiling field values

    Get the values for a specific profiling field/facet discovered via get_profiling_fields. Use this to discover what values a particular field has (e.g. all endpoint values, all function names). Returned field values only applicable to get_profiling_timeseries queries. For tag values (service, host, env, etc.) use get_profiling_tag_values instead. Returns an array of objects, each with: - "field": the value string (e.g. "web-server", "us-east-1"). This can be used to construct filter queries in get_profiling_timeseries - "value": the count/frequency of that value in the profiling data. Estimation, used only for ordering, not to be used to compute any actual values, ignore this field. Results are sorted by value (most common first).

  • Get profiling profile types

    Returns profile types and families that can be used by other profiling tools given a query context. You can either query by tags (queryString + timeFrame) or by trace context. When using trace context, the tool will find profiles associated with that specific trace and span.

  • Get profiling runtime ids

    Returns individual profiled runtime IDs (processes/containers). These are exact strings that can't be changed. For family, don't use ebpf.

  • Get profiling service insights

    Returns insights over the provided time window. These insights contain: - A high-level summary explaining the issue and why it matters - Contextual insights from profiling data (for example, affected methods, packages, or processes) - Recommended next steps to help you resolve the issue * Use get_profiling_tag_names/get_profiling_tag_values to discover available tags and their values for filtering in queryString. Syntax: tag:value pairs separated by spaces (implicit AND), tag:(v1 OR v2) for alternatives, -tag:value for negation, tag:prefix* for wildcards.

  • Get profiling services

    Returns profiled services along with their profiling families that can be queried for profiling data in the given query context. Note: results are in no particular order and do not indicate relative importance or activity level of services.

  • Get profiling tag names

    Discover available tag names (e.g. service, host, env, version, family, runtime-id) from the profile metadata track. Use this to find what tags are available for filtering profiling data. Common infrastructure tags include pod_name, container_id, container_name, availability-zone, datacenter, kube_deployment, kube_namespace. Returns at most 50 results sorted by relevance to the search parameter. Use the search parameter to narrow down results when looking for a specific tag.

  • Get profiling tag values

    Get the values for a specific tag (e.g. service, host, env, version, family, runtime-id) from the profile metadata track. Use get_profiling_tag_names first to discover available tags. Returns at most 50 results sorted by frequency. Use the valueSearch parameter to narrow down results when looking for a specific value.

  • Get profiling timeseries

    Query profiling data as timeseries, aggregated into time buckets. Use this to analyze trends, compare services, or identify performance regressions over time. Well suited for cross-service investigations — use groupBy to group by different fields, e.g. service or frame name or library. For single-service deep dives into stacktraces or call graphs, use explore_profiling_flame_graph or explore_profiling_call_graph. The profileType determines what is measured (all are RATES, not accumulated totals): - "cpu-time": CPU utilization rate. Unit: nanocores (1 core = 1,000,000,000 nanocores). Example: 5,700,000,000 nanocores = 5.7 CPU cores in use. This is NOT time — do NOT convert to seconds. - "wall-time": wall-clock time utilization rate. Unitless ratio (0.0 to 1.0 per thread). - "alloc-size": memory allocation rate. Unit: bytes per second. - "alloc-samples": allocation event rate. Unit: events per second. Values are aggregated using 'sum' within each time bucket. Response structure: - "unit": the unit of the values (e.g. "nanocore", "byte") - "timestamps": array of ISO8601 timestamps — one per time bucket - "groups": array of group results, each containing: - "group": string identifying the group (e.g. "@lastFrame.package:runtime") - "values": array of values — one per timestamp, values[j] = value at timestamps[j] Use get_profiling_tag_names/get_profiling_tag_values to discover available tags for filtering in queryString (e.g. service, host, env, pod_name). Use get_profiling_fields/get_profiling_field_values to discover available facet fields for groupBy (e.g. @lastFrame.function, @labels.trace_endpoint). When grouping or filtering by frame-related fields: - "@stack.*" (e.g. "@stack.function"): matches ANY frame in the full call stack. Never use this in groupBy, only for filtering. - "@lastFrame.*" (e.g. "@lastFrame.function"): matches only the leaf frame (where the sample was taken). - "@lastMyCodeFrame.*" (e.g. "@lastMyCodeFrame.function"): matches the first non-library frame. IMPORTANT: When using groupBy, the response contains groupByLimit x numBuckets values. To keep responses small: - If you only need to rank or compare groups, set intervalSeconds to the full time range to get a single bucket per group. - Only use multiple time buckets when the user needs to see trends over time. IMPORTANT: Always tell the user what time frame was used for the query. Lean towards using longer time durations (e.g 1 day) for more precise results. IMPORTANT: Empty Library field value means that library is unknown, not that it is user code.

  • Get prs by head branch

    Retrieves all pull requests for a repository that have a specific head branch. This is useful for finding active PRs associated with a particular feature branch or development branch.

  • Get reference table rows

    Retrieve specific rows from a reference table by their primary key values. Returns the row data in tab-separated format for easy readability. Use list_reference_tables first to discover table IDs.

  • Get replay summary

    Get an AI-generated play-by-play of what a user did during a session replay — what pages they visited, what actions they took, and what happened step by step. Use this tool when the user wants to understand the content of a specific session: "what did the user do", "summarize this session", "what happened in this replay", "give me a play-by-play". Typically called after search_replays to summarize a session from the results. Returns a natural language summary and time-based chapters, plus a direct link to the replay. Use "rum" datasource when working with RUM replays, or "product_analytics" (default) for Product Analytics replays. This should match the datasource used when you found the session via search_replays.

  • Get rum insight

    Get a pre-computed performance insight for a specific RUM view. Call this to diagnose a performance problem on a known view. Choose insight_name based on what you want to investigate: 'aggregated_waterfall' to find slow or blocking network requests (use when loading_time, LCP, or FCP is degraded); 'aggregated_long_tasks' to find JavaScript blocking the main thread (use when INP or interactivity is degraded); 'lcp_distribution' to see which DOM elements drive LCP and their CWV rating; 'inp_distribution' to see which interactions drive INP and their CWV rating; 'tag_analysis' to break down traffic by browser, device, country, OS, or app version (use to find if a regression is segment-specific). get_rum_summary recommends relevant insight types when it detects metric anomalies.

  • Get rum operation insights

    Investigate why a RUM operation is failing or slow. Accepts either operation_id or operation_name (at least one is required). You MUST call search_rum_operations first to confirm the operation exists (and to get its operation_id/application_id) — if it doesn't show up there, stop and do not call this tool, since a typo'd or nonexistent name will silently produce an empty/all-zero result instead of a clear error. Selected via 'mode': - failures: top failing endpoints, custom context attributes on failed runs, and correlated crash errors. - latency: slow-vs-fast cohort comparison (threshold auto-detected from p75 duration), top slow resources, and backend/frontend/resource-load signals. - abandonment: how often users give up vs complete, how long they wait, which views, which resources were still in flight, and where they navigate next — use when the operation is neither erroring nor merely slow but users are dropping out. Every mode returns structured JSON with sample_session_ids. If the operation has no traffic in the window, an empty result is returned rather than an error — do not fall back to get_rum_operation_summary to "confirm" health; report the empty result. Use case: checkout is slow. Call with operation_name="checkout-flow", mode="latency", lookback="4h". Use case: checkout completion rate dropped but there are no errors or SLO breaches. Call with operation_name="checkout-flow", mode="abandonment", lookback="1d".

  • Get rum operation summary

    Get a deep-dive health summary for a single RUM operation, identified by operation_id (preferred — skips name resolution) or operation_name (at least one is required). SDK-instrumented operation names come from application code and can repeat across RUM applications; pass application_id to disambiguate which one to summarize and to scope the health/latency figures to it — omitting it when a name collision exists resolves to an arbitrary matching operation. Returns structured JSON: the UI definition when one exists (operations can also be SDK-emitted, in which case it is omitted), health (volume, success rate, failure breakdown by reason, latency percentiles), a newest-first per-bucket success/failure trend, and related SLOs and monitors. Use it once you know which operation to look at, to answer "is this operation healthy, and has it changed?". Call search_rum_operations first to confirm the name exists: a typo'd or nonexistent operation_name is not an error — it returns an empty, all-zero summary, since an operation may legitimately be SDK-emitted with no stored definition. (An operation_id that matches nothing, with no operation_name to fall back on, does fail.) Do NOT use this tool to find or rank operations (use search_rum_operations), nor to root-cause a known failure or slowdown (use get_rum_operation_insights). Do not call this tool as a baseline step before get_rum_operation_insights — insights already returns the full diagnosis; a summary call adds no signal for a root-cause question. By default latency is evaluated across p50/p75/p95/p99 over successful operations only, returned as window baselines plus a warning when a sustained regression is detected — no per-bucket series. Pass 'percentile' (p50/p75/p95/p99) to evaluate just that one and also receive its full per-bucket latency_trend; pass 'status' (success/failure/all) to change which operations the latency figures cover — health.volume, success_rate and trend are always computed across all statuses. Set the window with from/to (RFC3339) or lookback (e.g. '24h', '7d'); default is the last 7 days. Limitations: one operation per call; no cross-operation ranking and no comparison against a previous period; p90 is not supported. Per-section upstream failures degrade into entries in the returned warnings[] array instead of failing the call, so check warnings[] before concluding a section genuinely has no data. Use case: success rate dropped on checkout. Call operation_name="checkout-flow", lookback="24h", percentile="p95" to get the p95 baseline and its per-bucket latency_trend alongside the success/failure trend.

PreviousPage 11 / 19Next