Home / Servers / Cloudflare API / zone_observability_tracing_settings_update

Update zone tracing settings

An MCP tool from the Cloudflare API server, hosted on mcp.hjlabs.in.

Update zone tracing settings Update the zone-level Cloudflare Traces settings. [PATCH /zones/{zone_id}/observability/tracing/settings]

Name on the gateway: cloudflare_api__zone_observability_tracing_settings_update · may change things.

Parameters

NameTypeDescription
zone_id requiredstringzone_id parameter
destinationsarrayUp to 100 OpenTelemetry destination identifiers…
enabledbooleanWhether Cloudflare Traces is enabled for the zone.
forward_contextbooleanWhether trace context is sent externally or…
persistbooleanWhether traces are persisted in Cloudflare.
propagation_policyaccept | authenticated | rejectWhen inbound trace context may be continued.…
sampling_rationumberThe ratio of requests sampled for tracing, from…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "cloudflare_api__zone_observability_tracing_settings_update",
  "arguments": {
    "zone_id": "…"
  }
}

Or connect the Cloudflare API server directly, which lists 3,127 tools including this one:

Run in your terminal
claude mcp add --transport http hj-cloudflare-api https://mcp.hjlabs.in/mcp/cloudflare-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update zone tracing settings tool with zone_id set to ….

More from Cloudflare API