Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Search datadog hosts
DATADOG_MCP_SEARCH_DATADOG_HOSTSExplore Datadog hosts inventory with SQL. Queries run against the virtual 'hosts' table backed by "dd.hosts" (Advanced Query API), which exposes hostname, hostname_aliases (text[]; use hostname_aliases[1]), tags (hstore map; use tags->'key'), cloud_provider, resource_type, instance_type, os, os_version, agent_version, memory_mib, cpu (hstore map; use cpu->'key'), kernel (hstore map; use kernel->'key'), sources (text[]; use sources[1]), modification_detected_at (timestamp). DDSQL notes: DDSQL (Datadog SQL) is a PostgreSQL subset: every non-aggregated SELECT column must appear in GROUP BY, SELECT aliases cannot be reused in WHERE/GROUP BY/HAVING (repeat the full expression instead, e.g., GROUP BY DATE_TRUNC('hour', timestamp) not GROUP BY hour), and only declared table columns may be referenced. Use the -> operator or json_extract_path_text (cast as needed) for JSON access. Avoid unsupported constructs like ANY(), ->>, QUALIFY, information_schema, and current_timestamp. Column names containing special characters like '@' must be quoted (e.g., SELECT "@foo" FROM logs).
Search datadog incidents
DATADOG_MCP_SEARCH_DATADOG_INCIDENTSSearch Datadog incidents. Default sort: newest first. Supports filtering by state, severity, title, team, creation time, and more. Use `semantic_query` for natural-language search over AI-generated incident summaries. Prefer `query` first; only add `semantic_query` when query by keyword and metadata filters aren't sufficient to answer the question.
Search datadog k8s resources
DATADOG_MCP_SEARCH_DATADOG_K8S_RESOURCESSearch for Kubernetes resources. Use this tool instead of kubectl to determine the state of Kubernetes resources (for example, Kubernetes deployments or pods). This tool is preferred over kubectl because it does not require local cluster access, works across all clusters, and returns enriched data with tags.
Search datadog logs
DATADOG_MCP_SEARCH_DATADOG_LOGSSearch and retrieve raw log entries or log patterns. Do NOT use for counting or aggregations — use analyze_datadog_logs instead. Best for: viewing raw logs, discovering patterns (use_log_patterns=true), and discovering custom attributes via extra_fields for use as extra_columns in analyze_datadog_logs. Response shape (when extra_fields is set, output is YAML): three buckets — (1) top-level fields like env/host/service queried bare (`env:prod`); (2) `attributes:` map with source-prefixed keys — `custom.X` and `attributes.X` are queried as `@X` (strip the bucket prefix), but `error.X` keeps its prefix as `@error.X` because `error` is a real top-level attribute; (3) `tags:` list of `key:value` strings queried bare. Load the datadog/logs skill for the full key-translation table.
Search datadog metrics
DATADOG_MCP_SEARCH_DATADOG_METRICSList available metrics in Datadog with optional filtering by name and tags. Set use_cloud_cost=true to search Cloud Cost Management metrics.
Search datadog monitors
DATADOG_MCP_SEARCH_DATADOG_MONITORSList and retrieve information about Datadog monitors. This tool helps discover monitors, their status, configuration, and alerts. Use this tool when you need to find monitors for investigation, management, or analysis purposes.
Search datadog notebooks
DATADOG_MCP_SEARCH_DATADOG_NOTEBOOKSSearch Datadog notebooks. Use this tool when you need to find notebooks for investigation or monitoring purposes. Results can be filtered, for example by author, and sorted. This tool returns snippets of the original notebook. To fetch the entire notebook, use the get_datadog_notebook tool.
Search datadog rum events
DATADOG_MCP_SEARCH_DATADOG_RUM_EVENTSSearch and retrieve raw Datadog RUM events using advanced query syntax. Do NOT use for counts, aggregations, or grouped analysis. Best for: inspecting individual RUM events, debugging specific user experience issues, exploring available event attributes in raw or detailed_output responses before deciding what to aggregate. Supports filtering by event types (session, view, action, error, resource, long_task, vital, operation), user attributes, performance metrics, and more. Results include detailed event data for analysis.
Search datadog sdk
DATADOG_MCP_SEARCH_DATADOG_SDKRun JavaScript against the official SDK and code-exec extension catalog available to `execute_code`. The catalog contains only operations available to the current user and sandbox policy. Its data stays inside the sandbox; only the value you return enters the conversation. Quick start: filter the `catalog.operations` array, then look up type declarations in the `catalog.types` record by type ID. ```javascript const operations = catalog.operations .filter((operation) => operation.api === "MonitorsApi") .slice(0, 5); return operations.map((operation) => ({ operation, types: operation.typeRefs .map((id) => catalog.types[id]) .filter(Boolean), })); ``` There is no `search(...)` helper. `catalog.operations` is an array; `catalog.types` is a record keyed by type ID, not an array. Your code runs as the body of an async function. Write plain JavaScript, not TypeScript, and use `return` to return JSON. There is no `dd`, package loader, network, or Datadog API access in this metadata-only sandbox. Catalog operations have one of two honest surfaces. Official SDK operations use `version`, `api`, and `method` through `@datadog/datadog-api-client`. Extension operations use `surface: "code-exec"` plus their exact `module`, `export`, and `method` through the sandbox-only `@datadog/code-exec` package. Do not translate either surface to `dd.<namespace>`; product API/helper namespaces are not exposed on `dd`. For example, an operation with `version: "v2"`, `api: "SpansApi"`, and `method: "aggregateSpans"` is called as: ```javascript import { client, v2 } from "@datadog/datadog-api-client"; const spans = new v2.SpansApi(client.createConfiguration()); const request = { /* fields from v2.SpansApiAggregateSpansRequest */ }; const result = await spans.aggregateSpans(request); ``` ```typescript type SDKVersion = "v1" | "v2"; type TypeID = `${SDKVersion | "code-exec"}.${string}`; interface Catalog { readonly schemaVersion: 1 | 2; readonly operations: readonly (SDKOperation | ExtensionOperation)[]; readonly types: Readonly<Record<TypeID, TypeDefinition>>; } interface SDKOperation { readonly id: string; // for example, "v2.LogsApi.aggregateLogs" readonly version: SDKVersion; readonly api: string; readonly method: string; readonly summary: string; readonly httpMethod: string; readonly path: string; readonly tags: readonly string[]; readonly pagination: boolean; readonly signature: string; readonly typeRefs: readonly TypeID[]; readonly usageNotes: readonly string[]; } interface ExtensionOperation { readonly id: string; // for example, "code-exec.product.operation" readonly surface: "code-exec"; readonly module: "@datadog/code-exec"; readonly export: string; readonly method: string; readonly summary: string; readonly signature: string; readonly typeRefs: readonly TypeID[]; readonly usageNotes: readonly string[]; readonly readOnly: true; } interface TypeDefinition { readonly id: TypeID; readonly declaration: string; readonly refs: readonly TypeID[]; } declare const catalog: Catalog; ``` The catalog is function-free: there is no `describe`, `search`, continuation callback, or executable `next` value. Use normal array/object traversal. Search `catalog.operations` to choose an available operation. Before writing `execute_code`, return the selected operation together with a bounded closure of its `typeRefs`. This gives you the exact request and response declarations plus endpoint-specific usage notes in one call. Do not return the complete operations or types collections. Use this helper to collect a bounded type closure while following inheritance, unions, and nested request/response models: ```javascript function collectTypes(rootIds, maxTypes = 12, maxChars = 12000) { const definitions = []; const omittedTypeIds = []; const pending = [...rootIds]; const seen = new Set(); let chars = 0; while (pending.length > 0) { const id = pending.shift(); if (seen.has(id)) continue; seen.add(id); const definition = catalog.types[id]; if (!definition) continue; if ( definitions.length >= maxTypes || chars + definition.declaration.length > maxChars ) { omittedTypeIds.push(id); continue; } definitions.push(definition); chars += definition.declaration.length; pending.push(...definition.refs); } return { definitions, omittedTypeIds }; } ``` Keep matched operation objects and traverse their `typeRefs` in the same program; you don't need to know operation or type IDs before the search runs. Wrap a single `find` result directly with this helper before returning it; for `filter` results, map over them instead, for example: `matches.map((operation) => describeOperation(operation))`. ```javascript function describeOperation(operation, maxTypes = 12, maxChars = 12000) { if (!operation) return null; return { operation, types: collectTypes(operation.typeRefs, maxTypes, maxChars), }; } ``` Find an operation and return everything needed to write the call: ```javascript const operation = catalog.operations.find( (candidate) => candidate.id === "v2.MetricsApi.queryScalarData" ); if (!operation) return null; return { operation, types: collectTypes(operation.typeRefs), }; ``` Search for several products in one call. Keep each type result small when comparing multiple operations: ```javascript const targets = [ { name: "logs", api: "LogsApi", method: "aggregateLogs" }, { name: "spans", api: "SpansApi", method: "aggregateSpans" }, { name: "metrics", api: "MetricsApi", method: "queryScalarData" }, ]; return targets.map((target) => { const operation = catalog.operations.find( (candidate) => candidate.api === target.api && candidate.method === target.method ); if (!operation) return { name: target.name, operation: null }; return { name: target.name, operation: { id: operation.id, signature: operation.signature, summary: operation.summary, usageNotes: operation.usageNotes, }, rootTypes: operation.typeRefs .map((id) => catalog.types[id]) .filter(Boolean), }; }); ``` Search an endpoint family and return the matched operations with bounded type closures: ```javascript const matches = catalog.operations .filter( (operation) => typeof operation.path === "string" && operation.path.includes("/monitor") ) .slice(0, 3); return matches.map((operation) => describeOperation(operation, 4, 3000)); ``` Search type declarations directly when an operation references a union and you need one specific member: ```javascript return Object.values(catalog.types) .filter((definition) => /MetricsScalarQuery|ScalarFormulaRequestAttributes/.test(definition.id) ) .slice(0, 10); ``` Keep results focused so the response uses only the context needed for the follow-up `execute_code` call. For broad matches, lower `maxTypes` or `maxChars`, return only root types, or narrow the operation search with `filter`, `map`, and `slice`.
Search datadog security findings
DATADOG_MCP_SEARCH_DATADOG_SECURITY_FINDINGSFallback tool for retrieving full security finding details. Prefer analyze_datadog_security_findings (with get_datadog_security_findings_schema) for most findings analysis tasks. Use this tool ONLY when: 1) analyze_datadog_security_findings fails, or 2) you need complete finding details not available via SQL. Returns full finding objects which consume more context than SQL aggregations. DEEP LINKS: Always link to findings using the id field — format: <deep_link_base_url>/security/finding/<id>. The correct base URL is in every response as 'deep_link_base_url'. Tip: most users want open findings — include '@status:open' in your filter unless specifically asked for all statuses.
Search datadog security ioc indicators
DATADOG_MCP_SEARCH_DATADOG_SECURITY_IOC_INDICATORSList IoC Explorer indicators (IPs, domains, URLs, file hashes) matched against threat intel feeds. Returns IoC indicators, not security signals; `signal_count` is contextual (signals that referenced the indicator). Default sort is `score` desc, ties broken by `signal_count` then `log_count`. Pair with `get_datadog_security_ioc_indicator` for full detail and `update_datadog_security_ioc_indicator_triage` to mark reviewed.
Search datadog security signals
DATADOG_MCP_SEARCH_DATADOG_SECURITY_SIGNALSFilter and list security signals from Datadog Security Monitoring matching criteria (status, time range, rule type, severity, service). DO NOT use this tool for counts, aggregations, top-N, breakdowns, or trends — use analyze_datadog_security_signals instead. For a single signal by ID — use get_datadog_security_signal. IMPORTANT: If the user has NOT specified a signal product (Cloud SIEM / Log Detection, App & API Protection / Application Security, or Workload Protection / Workload Security), ASK them if they want to specify the product or rule type before calling this tool. IMPORTANT: Before using this tool, call get_datadog_security_signals_schema first to discover available fields for filtering and field selection. Filter signals by product with @workflow.rule.type: "Log Detection" (Cloud SIEM, from logs/audit events), "Application Security" (App & API Protection, from web spans), "Workload Security" (Workload Protection, from agent events on hosts). By default, only essential fields are returned to minimize response size. Use 'fields' to request specific additional fields, or 'full_signal: true' for complete data.
Search datadog slos
DATADOG_MCP_SEARCH_DATADOG_SLOSSearches Datadog SLOs by name, tags, or type. Filter with query syntax like 'service:my-service' or 'team:checkout'.
Search datadog spans
DATADOG_MCP_SEARCH_DATADOG_SPANSRetrieve raw Datadog APM spans matching a query. Do NOT use for counts, aggregations, or grouped analysis — use aggregate_spans instead. Best for: inspecting individual spans, debugging request flows and failures, and discovering span fields/attributes, including via custom_attributes, that you may want to aggregate or group by with aggregate_spans. IMPORTANT: When the user asks for 'security traces', 'AppSec traces', 'AAP traces', 'security activity', or 'security signals on traces', the query MUST start from `@appsec.security_activity:*`. Do NOT substitute keyword-based guesses like `service:*security*`, `resource_name:*auth*`, `@http.status_code:401`, etc. — those do not identify security traces. Application & API Protection (AAP) spans carry these standard attributes (all strings): `@appsec.security_activity` (`<category>.<type>`, e.g. `attack_attempt.sql_injection`, `business_logic.users.login.failure`; multi-valued when multiple rules match); `@appsec.category` (top-level classification, e.g. `attack_attempt`, `business_logic`); `@appsec.type` (specific threat/event type, e.g. `sql_injection`, `xss`, `users.login.failure`); `@appsec.rule_id` (AAP rule that matched, e.g. `crs-942-100`; multi-valued); `@appsec.blocked` (`true`/`false`, whether AAP blocked the request). Use these attributes to narrow AppSec queries (e.g. `@appsec.category:attack_attempt`, `@appsec.type:sql_injection`, `@appsec.blocked:true`). The response includes a traces_explorer_url for the overall query. To link to an individual trace in the Datadog UI, use the pattern: <base_url>/apm/trace/<trace_id> (e.g. https://app.datadoghq.com/apm/trace/abc123). The base_url for the user's org is available in the response metadata.
Search datadog spreadsheets
DATADOG_MCP_SEARCH_DATADOG_SPREADSHEETSSearch Datadog spreadsheets by name or owner. Returns a paginated list of spreadsheets with their IDs and names.
Search datadog test events
DATADOG_MCP_SEARCH_DATADOG_TEST_EVENTSSearch individual Datadog test events with execution metadata, error messages, stack traces, retry history, and flaky status. Use aggregate_datadog_test_events for counts, rates, and statistics. Keep page_limit small because each event can be large. If unsure whether a facet exists or needs an @ prefix, read the datadog://mcp/ci-test-facets resource.
Search datadog workflow actions
DATADOG_MCP_SEARCH_DATADOG_WORKFLOW_ACTIONSSearch the Datadog Workflow Automation action catalog. Actions are the building blocks of workflow steps. Each result exposes actionId; pass it to get_datadog_workflow_action and use the same value as the workflow step's actionId. Use query to search bundle names/integrations, action titles, keywords, and descriptions. Results are ranked by relevance. If query is omitted or empty, this returns the first maxResults actions visible to the org, sorted by actionId. That empty-query response is a lightweight catalog sample, not a curated recommendation list. Use maxResults to control how many sample or matching actions are returned. Search may append the HTTP action with score 0 when no stronger native result fills maxResults. Prefer a native action when it satisfies the request, and treat HTTP as a fallback rather than an equally relevant match. Search results are for discovery only. Before adding an action to a workflow spec, call get_datadog_workflow_action with its actionId to retrieve the authoritative action contract. When deriving query from a user request, pass a concise phrase for the desired catalog operation, service, and resource. Omit surrounding scaffolding such as “add a query to”, “create a query that”, or “create a workflow step to”. For example, use "list S3 buckets" instead of "create a query that lists S3 buckets." For general-purpose workflow actions, search these bundles directly: com.datadoghq.datatransformation for expressions and JavaScript or Python data transformations; com.datadoghq.core for conditions, branches, loops, variables, and waits; and com.datadoghq.dd.apps_datastore for persistent workflow data.
Search data entities
DATADOG_MCP_SEARCH_DATA_ENTITIESSearch for data entities in the data catalog. Parameters: - name: Entity name to search for. Supports wildcards anywhere in the value: prefix (stg_*), suffix (*_raw), and substring/infix (*orders*, fct_*_monthly). - text: Full-text search across entity name, type, and all attribute values. All words must match. Use this to find entities containing a substring (e.g. text="orders" finds tables, columns, and other entities whose name or attributes mention "orders"). Can be combined with other filters. - entity_type: Type of entity (default "table"). Valid values are the entity_type names from the catalog schema (call get_data_catalog_schema to discover them). Use * to match any type. - platform: Filter by warehouse platform (e.g. "snowflake", "bigquery", "databricks"). - schema: Filter by schema name. - database: Filter by database name. - account: Filter by account identifier. - limit: Max results (default 50, max 500). - with_attrs: If true, include all custom attributes in the response (default false). - query: Raw AASTRA query for advanced use (OR, negation, grouping). Overrides all other filters. All filter parameters are combined as AND conditions. To browse all entities of a non-table type with no filters (e.g. "list all schemas", "what databases exist"), set entity_type to the desired type and omit all other parameters. This is supported for any entity_type other than the default "table". Examples: name="orders" -> find tables named "orders" name="stg_*", entity_type="dbt_model" -> find dbt models starting with stg_ platform="snowflake", database="analytics" -> find snowflake tables in analytics db name="*_raw", schema="landing" -> find raw tables in landing schema name="*orders*" -> find tables whose name contains "orders" entity_type="schema" -> list all schemas in the catalog entity_type="account" -> list all accounts/warehouses in the catalog entity_type="dbt_model" -> list all dbt models For advanced queries requiring OR, negation, or grouping, use the query parameter with AASTRA syntax, e.g. query="search for table where `name:orders OR display_name:orders`".
Search dora events
DATADOG_MCP_SEARCH_DORA_EVENTSSearch DORA deployments or merged-and-deployed pull requests, or fetch one event by ID. For DORA trends and aggregates such as deployment frequency, change lead time, failure rate, and recovery time, use aggregate_dora_events instead. Pull-request search is only for deployed PRs; it is not an open-PR or review-status search.
Search llmobs spans
DATADOG_MCP_SEARCH_LLMOBS_SPANSSearch for LLM Observability spans. Entry point for trace analysis — use it to find spans before drilling in with **get_llmobs_trace**. **Prefer structured parameters** (`ml_app`, `tags`, `span_kind`, `span_name`) over the raw `query` string — they handle quoting and escaping automatically. Reach for `query` when you need OR/NOT, wildcards, ranges, or to filter on unindexed fields like `@meta.metadata.user_id:"u_1234"`. **Use cases:** - Recent traces for an ML app: set `ml_app` - Errors: set `query` to `@status:error` - Tag with a colon/UUID value: set `tags` to `{"conversation_id": "5b8d6ce1-..."}` — no escaping needed - Filter by unindexed metadata: `query="@meta.metadata.user_id:\"u_1234\""` (server-side) - Agent traces: set `span_kind` to `agent` and `root_spans_only` to true - Spans where a specific eval ran: `query="@evaluation.\"my-eval-name\".value:*"` (works for all eval types — boolean, score, categorical, json) **Response shape.** Each result is a rich, compact summary: base identifiers + timing + status, plus `service`, `intent`, `llm_info` (when present), and `input`/`output`/`expected_output`/`metadata` as `ContentPreview` envelopes. A preview has `kind` (`value`|`messages`|`metadata`), a size (`chars` for strings, `count` for arrays/maps), and a sampled `preview`. Each result also includes a `trace_url` — a ready-to-use deep link to that trace in /llm/traces. **Echo `trace_url` verbatim** when surfacing trace links to the user; do NOT construct your own /llm/traces URL (the LLMObs UI uses `?query=trace_id:<id>`, not the APM `?traceID=<id>` convention). One search typically gives enough context to answer discovery questions in a single round-trip. For the full payload of a specific field, call **get_llmobs_span_content**; for the full metadata map, call **get_llmobs_span_details**. **Typical workflow:** search_llmobs_spans → **get_llmobs_trace** → **get_llmobs_span_details** → **get_llmobs_span_content**