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.

  • Upsert datadog security trace passlist

    Create or update an AAP (App & API Protection) passlist/allowlist entry — also known as a WAF exclusion filter — that exempts traces from WAF analysis/blocking. AAP traces only; unrelated to Cloud SIEM signal suppression. Use this tool when a user asks to exclude/exempt WAF traces, allowlist an IP/service/path, or add a WAF exception. To remove an entry, use delete_datadog_security_trace_passlist. Actions: - "create": needs "description" + "enabled". - "update": partial patch keyed by "exclusion_filter_id". Omitted fields are preserved (the tool re-sends them from the current entry, so nothing is silently cleared). Call get_datadog_security_trace_passlist first for the right exclusion_filter_id and a snapshot of overwritable fields. No shaping fields (ip_list, path_glob, parameters, rules_target, scope) ⇒ matches ALL AAP traffic. The frontend editor shows a live preview query for the traces that would be filtered; without filters that query is unbounded. Always include at least one shaping field unless the user explicitly wants a global exemption. Category (controlled by "on_match"): - "monitor" → Monitored: traces emitted, blocking suppressed. - omitted on create → Unmonitored: no traces emitted. - On update, omitting "on_match" preserves it. To move Monitored → Unmonitored, pass "on_match":"unmonitored" (tool-only sentinel that clears the field). Don't pass "on_match" on update unless the user explicitly wants a category change. Shaping fields (create + update; omit on update to keep current): - ip_list: CIDR/IP strings. - path_glob: URL path glob (e.g. "/api/v1/health"). - parameters: query/body parameter names (dot notation for nested). - rules_target: [{rule_id?, tags?: {category?, type?}}] — scope to WAF rules. - scope: [{env?, service?}] — scope to services/envs. After create/update: call search_datadog_spans with a query mirroring the entry's filters (service, env, path, IPs) to estimate affected traces, and report the count to the user as a blast-radius check. Keywords: AAP, ASM, passlist, allowlist, exclusion filter, WAF exception, exclude WAF traces, exempt traces, monitored, unmonitored.

  • Upsert datadog spreadsheet

    Create or update a Datadog spreadsheet's tables, sheets, and pivots in a single call. Always create pivots embedded within a sheet (in sheets[].pivots), not as standalone tabs. To delete the spreadsheet itself, use delete_datadog_spreadsheet. Before calling this tool: 1. Load the datadog/sheets skill — pivot placement, time_frame format, column rename cascade. 2. Call get_datadog_spreadsheet_reference for each of table, sheet, or pivot you are constructing (section: "table", "sheet", "pivot"). For tables, also call the schema discovery tool — never invent field names. 3. On update: call get_datadog_spreadsheet(spreadsheet_id) — never use a cached response, it omits fields and causes 400 errors. If is_truncated=true, retry with higher max_tokens. Copy name and time_frame verbatim. Omit array params you are not touching. For each table or pivot you include, copy its full definition verbatim and change only what you intend to modify. For sheets, cells and styles are patch-merged — send only the entries you want to add or change. Ids: for new tables or sheets use "new_table_N" or "new_sheet_N"; for new pivots use "new_pivot_N" — N is a unique integer per type within this call (e.g. new_table_1, new_table_2). For existing tabs or pivots use the UUID from get_datadog_spreadsheet. Use the same placeholder in both the id and any referencing field to cross-reference within a call. All sub-object id fields anywhere inside tables, pivots, or sheets — except top-level id and reference fields (i.e., sheets[].pivots[].id, pivots[].source, lookups.tablesheet_lookups[].source_params.tablesheet_id) which follow the Ids rule above — require valid UUID v4: 3rd group starts with "4", 4th with "8/9/a/b", all other digits independently randomized. Do not copy, derive, or increment from these examples — generate your own: Bad: a1b2c3d4-e5f6-4001-8abc-000000000001 / a1b2c3d4-e5f6-4001-8abc-000000000002. Good: 7f3a9c2e-1d84-4b56-9af3-c820e74d1b93 / 3e6c0f21-8a47-4d92-b1e5-90f3724ca815. Exception: some fields must reuse an existing column UUID rather than create a new one — do not generate a UUID for these. Each guide marks which fields are references. Naming: names MUST reflect user intent (e.g. "Error Logs by Service", not "Logs Table"). Array params (tables, pivots, sheets): omit = unchanged; "[]" = delete ALL (requires delete_all_* boolean). Pivots MUST be embedded in a sheet tab — never standalone.

  • Upsert data observability monitor annotations

    Create, update, or extend Data Quality monitor annotations. Monitor IDs are stable request identifiers, but when a monitor name has already been resolved, use the name as the primary user-facing label and put the ID in parentheses. Never mention group_hash when it is "0"; mention a non-default group hash only when needed to distinguish multiple groups. Present annotation ranges using RFC3339 UTC timestamps, not raw Unix timestamps; retain Unix values only for tool calls. Do not ask the user for a time range merely because they omitted one. First call inspect_data_observability_monitor_annotations for the selected monitor and entity and infer the range from latest_out_of_bounds_interval. When that interval exists, proactively recommend it as the default candidate and ask whether to apply it. For recurring anomalies, propose only that latest interval unless the user explicitly asks to annotate historical occurrences or says the model is not learning a recurring normal pattern. Never combine intervals across valid or missing points. Only propose their first-to-last envelope when the user wants an ignore annotation to forget the whole history. Ask the user for a range only when inspection finds no candidate or leaves multiple materially different choices. If monitor selection is ambiguous, resolve the monitor first, then inspect it before asking about time. Choose the annotation type by its effect on future alerts: - new_baseline (“Until this happens again”): accept the current state temporarily, but alert on a comparable future change. Prefer it for a sustained level shift or a one-off episode whose recurrence should alert. Do not use it for points within bounds. - expected_occasionally (“Until there’s a bigger anomaly”): remember this event persistently so a similar jump, drop, flatline duration, freshness delay, or percentage value is accepted and only a larger event alerts. Prefer it for valid recurring behavior that users do not want to be alerted about. Do not use it for points within bounds. - false_negative: mark specific in-bounds behavior as anomalous because it should have alerted. Do not use it on an already out-of-bounds point. - ignore: remove invalid or untrustworthy measurements, a bad backfill, or history that is no longer representative of expected future behavior from model history. Do not use it merely to suppress a valid alert. When intent is unclear, ask one outcome-focused question: “Should this same behavior alert next time?” Yes implies new_baseline; no, unless it is larger, implies expected_occasionally. Recurrence is evidence for expected_occasionally, and a sustained step is evidence for new_baseline, but neither overrides the user's judgment that the behavior is valid. Applying no annotation is valid. Normal annotations affect future model behavior and should target points that were outside their contemporaneous bounds; false_negative targets points that were inside them. When an annotation's from and to identify one observation, the tool automatically normalizes the stored boundaries so that observation remains the only included point. Treat this as an implementation detail: present only the final RFC3339 annotation time range. Use action "create" for new annotations, "update" to change existing annotations, and "extend" to change an existing annotation's end time. Update and extend require annotation id. Create requires type and from. During a dry-run preview, an omitted to for create or extend resolves to the current server-side UTC time. Times in a dry run accept relative values such as "now-7d" and "now", RFC3339 timestamps, or Unix seconds encoded as strings. Always call with dry_run true before asking the user for final confirmation. A preview returns the resolved range, compact monitor summaries, proposed annotations, and actionable conflicts only when conflicts exist. Ask for confirmation using only the preview's proposed RFC3339 annotation time range; do not discuss internal boundary normalization. Then call again with dry_run false using the absolute from and to timestamps from proposed_annotations so the applied range exactly matches what the user approved. Applying a create requires both absolute timestamps. Applying an extend requires its absolute to timestamp. For an update, omit unchanged time fields and use the preview's absolute timestamp for each changed time field.

  • Upsert llmobs annotations

    Write label values onto interactions queued in an annotation queue — the graded judgement itself. Read the queue's labels with **get_llmobs_annotation_label_schema** first: values are keyed by `label_schema_id`, and each label constrains what a valid value is (a score's range, a categorical's allowed strings). Passing `label_name` instead resolves the id for you at the cost of an extra lookup. Upsert semantics: an item without `annotation_id` updates your own existing annotation on that interaction, or creates one when there is none. Returns `annotations` (the stored result) and `errors`. **Partial success is normal** — read `errors` rather than assuming every item landed. These are recorded as your judgement, attributed to the calling user. State the basis for each value rather than guessing at labels you cannot evaluate, and use `reasoning` where the label allows it.

  • Upsert reference table rows

    Insert new rows or update existing rows in a reference table. If a row with the same primary key already exists its values are overwritten; if it does not exist it is created. Composite primary keys are not supported. Each row must include all required schema fields including the primary key field. Use list_reference_tables to discover table IDs and schemas first.

  • Upsert rum metric

    Create or update a RUM custom metric. If the metric does not exist it is created; if it already exists its mutable fields (filter, group_by, include_percentiles) are updated. IMMUTABLE after creation: event_type, aggregation, path. To change these, call delete_rum_metric first then re-create. metric_id naming: rum.<event_type>.<description> (e.g. rum.error.checkout_errors). Must start with a letter, alphanumerics/underscores/periods only. Must not start with "rum.measure" (OOTB reserved) or "rum.investigate" (reserved prefix). uniqueness_when: required for event_type=session or view. "match" (default): count on the first event matching the filter. "end": count when the session/view ends — use for duration or completion metrics (e.g. final LCP). Not allowed for other event types. **metric_id, event_type, aggregation, and path are immutable after creation.** To change these, delete the metric and re-create it. **Always confirm the exact change with the user before calling. Never create or update a metric speculatively.** aggregation=distribution requires path. include_percentiles only valid for distribution. group_by_path: RUM attributes to group by (e.g. ["@geo.country","@service"]). High-cardinality attributes (per-event IDs, raw URLs, user identifiers) warn but proceed with confirm: true — each unique value is a separate time series. Prefer bucketed forms like @view.url_path_group, and filter aggressively since even bucketed paths can be large. group_by_tag is optional: tag names are derived from the path when omitted. Examples: Count checkout errors by service: metric_id="rum.error.checkout_errors", event_type="error", aggregation="count", filter="@error.resource.url:*checkout*", group_by_path=["@service"] P95 LCP by country (use "end" to capture the final LCP value at view close): metric_id="rum.view.lcp_by_country", event_type="view", aggregation="distribution", path="@view.largest_contentful_paint", include_percentiles=true, group_by_path=["@geo.country"], uniqueness_when="end" LIMITATIONS: - To query metric values (not definition), use get_datadog_metric or ddsql_run_query. - To list existing metrics: search_rum_metrics with type=custom. - To delete: delete_rum_metric.

  • 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 19 / 19