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
| Name | Type | Description |
|---|---|---|
zone_id required | string | zone_id parameter |
destinations | array | Up to 100 OpenTelemetry destination identifiers… |
enabled | boolean | Whether Cloudflare Traces is enabled for the zone. |
forward_context | boolean | Whether trace context is sent externally or… |
persist | boolean | Whether traces are persisted in Cloudflare. |
propagation_policy | accept | authenticated | reject | When inbound trace context may be continued.… |
sampling_ratio | number | The 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:
{
"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:
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 ….