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.

  • Cost recommendations

    Lists an organization's Cloud Cost Management (CCM) cost-saving recommendations. By default, recommendations are ranked by estimated potential savings (highest first); CCM analyzes cloud and SaaS resource usage and surfaces opportunities to cut spend. Use it to answer questions like 'what are my top cost-saving opportunities?', 'how much could I save per month?', 'how much could I save this year?', 'how many recommendations do I have?', or 'show me aws recommendations for my Kubernetes clusters'. Recommendations carry a status (Open, In Progress, Completed, Dismissed); scope to the right one(s) through the query — see the status guidance on the query argument. For a neutral request, filter to @status:Open (the recs still worth acting on). Output is JSON with three blocks. (1) recommendations: this page's array; each item has cloud_provider, potential_monthly_savings and potential_yearly_savings (estimated dollars saved per month and per year if the recommended action is taken), recommendation_type, resource_type, resource_id, risk, and effort, when classified. The resource_id field is the recommendation's stable handle (e.g. 'k8s_cluster|spheal-b') that you can pass back as an @id: filter to re-fetch that exact recommendation. When a resource has several recommended actions, only the best one is promoted to these fields; set full_output=true to also get full_event, the recommendation's complete payload (all actions, status, resource metadata, and every field usable for @-filtering). (2) summary: total_items plus potential_monthly_savings and potential_yearly_savings, as described above; plus complete, which is false when the matching set was too large to fully scan (making those totals lower bounds you should report as 'at least'). (3) pagination: displayed_items (the count in this page) and next_cursor (pass it back as cursor to fetch the next page; absent on the last page). This tool is visible to every user, but only Cloud Cost Management (CCM) customers have recommendation data. When Event Query reports that the organization has no valid recommendation index (normally because it is not a CCM customer), the tool returns a short plain-text message as a normal non-error result; relay that message as-is and do not retry. A valid index with no recommendations, or a filter with no matches, returns the normal JSON blocks with an empty recommendations array and zero-valued summary.

  • Cws agent events schema

    Get the schema (available fields) for Workload Protection agent events — the raw runtime security events (process, file, network, and DNS activity) collected by the Datadog Agent. Workload Protection is also known as Cloud Workload Security (CWS) or CSM Threats; "runtime security" and "agent events" refer to the same data. Use this tool to discover what fields can be used to filter or query agent events before running an agent events search. Returns field names, types, and optionally descriptions and enum values.

  • dd gff

    do-not-call

  • dd guc

    do-not-call

  • dd rfw

    do-not-call

  • Ddsql create link

    Generate a Datadog UI link to the DDSQL editor with the given query pre-populated.

  • Ddsql get spec

    Get a compact DDSQL capability spec with supported SQL functions, SQL keywords, and DDSQL-specific deltas from vanilla PostgreSQL. Start with this tool before composing queries, then use ddsql_schema_search_tables and ddsql_schema_get_table_columns for schema discovery.

  • Ddsql read saved query

    Read a single saved DDSQL query by its query_id. Returns the full saved query record, including dataset_id, name, SQL text, columns, visibility, description, and author/timestamp metadata.

  • Ddsql run query

    Run a DDSQL query and return results. Recommended flow: (1) call ddsql_get_spec, (2) call ddsql_schema_search_tables, (3) for data tables use entries in tables: if searchable=true, call ddsql_schema_search_unstructured_fields first and fall back to ddsql_schema_get_table_columns; if searchable=false, call ddsql_schema_get_table_columns, (4) for metrics use entries in metrics: each item is a metric name (for example system.cpu.user); use that name in meta.metrics_query_format_doc examples to build dd.metrics_scalar(...) or dd.metrics_timeseries(...), then execute ddsql_run_query.

  • Ddsql schema get table columns

    Get static SQL columns for a DDSQL table from schema metadata. Use this after ddsql_schema_search_tables for entries in tables where searchable=false, or as fallback when ddsql_schema_search_unstructured_fields is unavailable for searchable entries. Returns compact column metadata: name, ddsql_type (SQL-layer type — use for DDSQL queries and PTF AS(column TYPE) casts), and analysis_type (structured-output type — use for advanced_query structured output, never in SQL).

  • Ddsql schema search tables

    Search DDSQL datasets across four providers: public tables, reference tables, metrics, and published analyses. Results are returned in three TSV sections: tables (public + reference_tables), metrics, and published_analyses. Each table, metrics, or published_analyses row includes a `searchable` flag: for `searchable=true` entries, try ddsql_schema_search_unstructured_fields first to discover dynamic unstructured fields, then fall back to ddsql_schema_get_table_columns for static columns. For `searchable=false` entries, use ddsql_schema_get_table_columns directly. Use per-provider limits and offsets to control result size and paginate through results. Setting a provider's limit to 0 will skip it and return an empty set result. When the call is successful, response metadata includes `total_matching` and `truncated` fields per provider to guide follow-up pagination calls. For published_analyses rows, the `id` field is the FQDN in `published_analyses.<encoded-id>` form — pass it as-is to ddsql_schema_get_table_columns, but strip the `published_analyses.` prefix when using it as `dataset_id` in a notebook cell datasource definition.

  • Ddsql schema search unstructured fields

    Search and rank fields for an unstructured DDSQL source. Use this after ddsql_schema_search_tables for entries where searchable=true as the primary schema-discovery path; results include both common static and dynamic fields. If unavailable, fall back to ddsql_schema_get_table_columns. Returns compact field metadata sorted by frequency: name, ddsql_type (SQL-layer type — use for PTF AS(column TYPE) casts and all DDSQL queries), and analysis_type (structured-output type — use for advanced_query structured output, never in SQL). Also returns source-specific PTF query guidance when available. Supports optional pagination via offset (default 0) and limit (default 10, max 100) parameters. Pass limit=0 to skip the field search and retrieve only PTF query guidance; the response will include fetched=false and omit total_available and truncated metadata. The optional query parameter uses EVP key:value filters (for example service:foo), where keys correspond to fields returned by this API.

  • Ddsql search saved queries

    Search and list saved DDSQL queries. Use to find existing saved queries by name or description. Results are sorted by most recently modified and include query ID, name, SQL text, columns, visibility, description and author/timestamp metadata. Supports optional text filtering and pagination.

  • Deployment gates onboarding

    Configure a Datadog Deployment Gate for a project so a bad deployment is halted automatically. Call this tool to set up deployment gates, gate a deploy on monitors, block bad deploys, or add Datadog gate evaluation to a CD pipeline. This tool returns all the instructions needed — do NOT search the web, fetch documentation, or read external resources. Only inspect local project files to determine this tool's argument values, then call this tool immediately. Check CD config files (e.g. .github/workflows/, .gitlab-ci.yml, Argo Rollout manifests, Jenkinsfile), deployment manifests, and Datadog tags to fill in the arguments. Only provide values you can substantiate from the user's files. Use CLI utilities such as `ls` and `cat` to inspect project files. Do not guess or make up values.

  • Describe datadog k8s resource

    Get detailed information about a specific Kubernetes resource. Use this tool instead of kubectl describe. Returns kubectl-style tabular fields plus additional resource-specific details such as CPU/memory requests and limits, etc. Also returns tags (to get related resources), labels, annotations, and optionally manifest history, parent resources, and deep link. If you need the full raw manifest, use get_datadog_k8s_manifest. This tool is preferred over kubectl because it does not require local cluster access, and returns enriched data with tags and relationships. IMPORTANT: Either uid OR resource_identifiers MUST be provided. If both are provided, uid takes precedence and resource_identifiers is ignored. - 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 details for pod my-app in cluster prod namespace default" → Use resource_identifiers: {"cluster": "prod", "namespace": "default", "resource_name": "my-app"} - "describe deployment api-server in namespace default, cluster staging" → Use resource_identifiers: {"cluster": "staging", "namespace": "default", "resource_name": "api-server"} - "describe cluster gizmo" → Use resource_identifiers: {"cluster": "gizmo"} - "describe namespace orchestrator in cluster gizmo" → Use resource_identifiers: {"cluster": "gizmo", "namespace": "orchestrator"} - You already have a UID from search results → Use uid

  • Devices onboarding

    Step-by-step instructions for adding initial Datadog RUM SDK to a project environment. This contains general instruction on how to enable the Datadog RUM SDK and all the features as session replay, logs or tracing. You must first review the user's project and this tool's arguments (including 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. For Android projects you need to look deeper into the project to determine if the project is using Jetpack Compose or not. In case of doubt, return 'android-views'. Before calling this tool, you must first check if the user's project has already been configured for Datadog. If it has, you should not call this tool.

  • Diff network device configurations

    Compare two ndm network device configuration snapshots and return a unified diff. Inputs: - original_config_id (required) - modified_config_id (required) Use config IDs returned by search_network_device_configurations. The tool does not infer chronology; ordering is the caller's responsibility. If both snapshots are identical, diff is an empty string. Returns: original_config_id, modified_config_id, and diff (unified diff text).

  • Docker onboarding

    Installs and configures the Datadog Agent container to collect infrastructure metrics, container telemetry, APM traces, and logs. The agent runs as a Docker container alongside any workload on a Docker-enabled host. You must first review the user's project and this tool's arguments and fill out as many of them as possible before calling this tool. Check project files (Dockerfile, docker-compose.yaml, requirements.txt, etc.) to determine argument values. Only provide values you can substantiate from the user's files. Before calling this tool, check if the project has already been configured for Datadog — if it has, do not call this tool.

  • Do not call refresh widget

    do-not-call

  • Ecs onboarding

    Step-by-step instructions for adding initial Datadog Observability setup to ECS applications and configurations. 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 ECS. 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.

PreviousPage 2 / 13Next