Skip to main content
Glama

Batch DNS Records

batch_dns_records
Destructive

Send multiple DNS record changes (deletes, patches, puts, posts) together in one Cloudflare batch request.

Instructions

Send a Batch of DNS Record API calls to be executed together.

Notes:

  • Although Cloudflare will execute the batched operations in a single database transaction, Cloudflare's distributed KV store must treat each record change as a single key-value pair. This means that the propagation of changes is not atomic. See the documentation for more information.

  • The operations you specify within the /batch request body are always executed in the following order:

    • Deletes

    • Patches

    • Puts

    • Posts Every change requires explicit confirmation; never repeat an unknown outcome automatically.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoExact private profile label. Account/zone defaults route inputs; token permissions remain provider controlled.
confirmNoSet true only when the user asked for exactly this action.
payloadNoComplete current native JSON request body. Do not mix with payload_file.
zone_idNo
payload_fileNoRegular non-symlink local JSON request file, at most 1 MiB. No credentials in public files.
include_shadow_metadataNoWhether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed155 schema fields changedv3.0.1
    • addedInput schema / $defs / dns-records_dns-record-post / $ref
      Added value: +"#/$defs/dns-records_dns-record-patch"
    • removedInput schema / $defs / dns-records_dns-record-post / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-without-data"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-with-data"
      -  }
      -]
    • removedInput schema / $defs / dns-records_dns-record-post / type
      Removed value: -"object"
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be true for the exact selected mutation, target and reviewed request."New value: +"Set true only when the user asked for exactly this action."
    • addedInput schema / properties / payload / $defs / dns-records_AAAARecord / $ref
      Added value: +"#/$defs/dns-records_AAAARecord"
    • removedInput schema / properties / payload / $defs / dns-records_AAAARecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "A valid IPv6 address.",
      -        "format": "ipv6",
      -        "type": "string"
      -      },
      -      "private_routing": {
      -        "default": false,
      -        "description": "Enables private network routing to the origin.",
      -        "type": "boolean"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "AAAA"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_AAAARecord / title
      Removed value: -"AAAA Record"
    • removedInput schema / properties / payload / $defs / dns-records_AAAARecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_ARecord / $ref
      Added value: +"#/$defs/dns-records_ARecord"
    • removedInput schema / properties / payload / $defs / dns-records_ARecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "A valid IPv4 address.",
      -        "format": "ipv4",
      -        "type": "string"
      -      },
      -      "private_routing": {
      -        "default": false,
      -        "description": "Enables private network routing to the origin.",
      -        "type": "boolean"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "A"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_ARecord / title
      Removed value: -"A Record"
    • removedInput schema / properties / payload / $defs / dns-records_ARecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_CAARecord / $ref
      Added value: +"#/$defs/dns-records_CAARecord"
    • removedInput schema / properties / payload / $defs / dns-records_CAARecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted CAA content. See 'data' to set CAA properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a CAA record.",
      -        "properties": {
      -          "flags": {
      -            "description": "Flags for the CAA record.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "tag": {
      -            "description": "Name of the property controlled by this record (e.g.: issue, issuewild, iodef).",
      -            "type": "string"
      -          },
      -          "value": {
      -            "description": "Value of the record. This field's semantics depend on the chosen tag.",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "CAA"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_CAARecord / title
      Removed value: -"CAA Record"
    • removedInput schema / properties / payload / $defs / dns-records_CAARecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_CERTRecord / $ref
      Added value: +"#/$defs/dns-records_CERTRecord"
    • removedInput schema / properties / payload / $defs / dns-records_CERTRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted CERT content. See 'data' to set CERT properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a CERT record.",
      -        "properties": {
      -          "algorithm": {
      -            "description": "Algorithm.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "certificate": {
      -            "description": "Certificate.",
      -            "type": "string"
      -          },
      -          "key_tag": {
      -            "description": "Key Tag.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "type": {
      -            "description": "Type.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "CERT"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_CERTRecord / title
      Removed value: -"CERT Record"
    • removedInput schema / properties / payload / $defs / dns-records_CERTRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_CNAMERecord / $ref
      Added value: +"#/$defs/dns-records_CNAMERecord"
    • removedInput schema / properties / payload / $defs / dns-records_CNAMERecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "A valid hostname. Must not match the record's name.",
      -        "type": "string"
      -      },
      -      "settings": {
      -        "properties": {
      -          "flatten_cname": {
      -            "default": false,
      -            "description": "If enabled, causes the CNAME record to be resolved externally and the resulting address records (e.g., A and AAAA) to be returned instead of the CNAME record itself. This setting is unavailable for proxied records, since they are always flattened.",
      -            "type": "boolean"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "CNAME"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_CNAMERecord / title
      Removed value: -"CNAME Record"
    • removedInput schema / properties / payload / $defs / dns-records_CNAMERecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_DNSKEYRecord / $ref
      Added value: +"#/$defs/dns-records_DNSKEYRecord"
    • removedInput schema / properties / payload / $defs / dns-records_DNSKEYRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted DNSKEY content. See 'data' to set DNSKEY properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a DNSKEY record.",
      -        "properties": {
      -          "algorithm": {
      -            "description": "Algorithm.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "flags": {
      -            "description": "Flags.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "protocol": {
      -            "description": "Protocol.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "public_key": {
      -            "description": "Public Key.",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "DNSKEY"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_DNSKEYRecord / title
      Removed value: -"DNSKEY Record"
    • removedInput schema / properties / payload / $defs / dns-records_DNSKEYRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_DSRecord / $ref
      Added value: +"#/$defs/dns-records_DSRecord"
    • removedInput schema / properties / payload / $defs / dns-records_DSRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted DS content. See 'data' to set DS properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a DS record.",
      -        "properties": {
      -          "algorithm": {
      -            "description": "Algorithm.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "digest": {
      -            "description": "Digest.",
      -            "type": "string"
      -          },
      -          "digest_type": {
      -            "description": "Digest Type.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "key_tag": {
      -            "description": "Key Tag.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "DS"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_DSRecord / title
      Removed value: -"DS Record"
    • removedInput schema / properties / payload / $defs / dns-records_DSRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_HTTPSRecord / $ref
      Added value: +"#/$defs/dns-records_HTTPSRecord"
    • removedInput schema / properties / payload / $defs / dns-records_HTTPSRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted HTTPS content. See 'data' to set HTTPS properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a HTTPS record.",
      -        "properties": {
      -          "priority": {
      -            "description": "Priority.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "target": {
      -            "description": "Target.",
      -            "type": "string"
      -          },
      -          "value": {
      -            "description": "Value.",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "HTTPS"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_HTTPSRecord / title
      Removed value: -"HTTPS Record"
    • removedInput schema / properties / payload / $defs / dns-records_HTTPSRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_LOCRecord / $ref
      Added value: +"#/$defs/dns-records_LOCRecord"
    • removedInput schema / properties / payload / $defs / dns-records_LOCRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted LOC content. See 'data' to set LOC properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a LOC record.",
      -        "properties": {
      -          "altitude": {
      -            "description": "Altitude of location in meters.",
      -            "maximum": 42849672.95,
      -            "minimum": -100000,
      -            "type": "number"
      -          },
      -          "lat_degrees": {
      -            "description": "Degrees of latitude.",
      -            "maximum": 90,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "lat_direction": {
      -            "description": "Latitude direction.",
      -            "enum": [
      -              "N",
      -              "S"
      -            ],
      -            "type": "string"
      -          },
      -          "lat_minutes": {
      -            "description": "Minutes of latitude.",
      -            "maximum": 59,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "lat_seconds": {
      -            "description": "Seconds of latitude.",
      -            "maximum": 59.999,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "long_degrees": {
      -            "description": "Degrees of longitude.",
      -            "maximum": 180,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "long_direction": {
      -            "description": "Longitude direction.",
      -            "enum": [
      -              "E",
      -              "W"
      -            ],
      -            "type": "string"
      -          },
      -          "long_minutes": {
      -            "description": "Minutes of longitude.",
      -            "maximum": 59,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "long_seconds": {
      -            "description": "Seconds of longitude.",
      -            "maximum": 59.999,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "precision_horz": {
      -            "description": "Horizontal precision of location.",
      -            "maximum": 90000000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "precision_vert": {
      -            "description": "Vertical precision of location.",
      -            "maximum": 90000000,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "size": {
      -            "description": "Size of location in meters.",
      -            "maximum": 90000000,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "LOC"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_LOCRecord / title
      Removed value: -"LOC Record"
    • removedInput schema / properties / payload / $defs / dns-records_LOCRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_MXRecord / $ref
      Added value: +"#/$defs/dns-records_MXRecord"
    • removedInput schema / properties / payload / $defs / dns-records_MXRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "A valid mail server hostname.",
      -        "format": "hostname",
      -        "type": "string"
      -      },
      -      "priority": {
      -        "$ref": "#/$defs/dns-records_priority"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "MX"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_MXRecord / title
      Removed value: -"MX Record"
    • removedInput schema / properties / payload / $defs / dns-records_MXRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_NAPTRRecord / $ref
      Added value: +"#/$defs/dns-records_NAPTRRecord"
    • removedInput schema / properties / payload / $defs / dns-records_NAPTRRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted NAPTR content. See 'data' to set NAPTR properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a NAPTR record.",
      -        "properties": {
      -          "flags": {
      -            "description": "Flags.",
      -            "type": "string"
      -          },
      -          "order": {
      -            "description": "Order.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "preference": {
      -            "description": "Preference.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "regex": {
      -            "description": "Regex.",
      -            "type": "string"
      -          },
      -          "replacement": {
      -            "description": "Replacement.",
      -            "type": "string"
      -          },
      -          "service": {
      -            "description": "Service.",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "NAPTR"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_NAPTRRecord / title
      Removed value: -"NAPTR Record"
    • removedInput schema / properties / payload / $defs / dns-records_NAPTRRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_NSRecord / $ref
      Added value: +"#/$defs/dns-records_NSRecord"
    • removedInput schema / properties / payload / $defs / dns-records_NSRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "A valid name server host name.",
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "NS"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_NSRecord / title
      Removed value: -"NS Record"
    • removedInput schema / properties / payload / $defs / dns-records_NSRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_OPENPGPKEYRecord / $ref
      Added value: +"#/$defs/dns-records_OPENPGPKEYRecord"
    • removedInput schema / properties / payload / $defs / dns-records_OPENPGPKEYRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "A single Base64-encoded OpenPGP Transferable Public Key (RFC 4880 Section 11.1)",
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "OPENPGPKEY"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_OPENPGPKEYRecord / title
      Removed value: -"OPENPGPKEY Record"
    • removedInput schema / properties / payload / $defs / dns-records_OPENPGPKEYRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_PTRRecord / $ref
      Added value: +"#/$defs/dns-records_PTRRecord"
    • removedInput schema / properties / payload / $defs / dns-records_PTRRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Domain name pointing to the address.",
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "PTR"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_PTRRecord / title
      Removed value: -"PTR Record"
    • removedInput schema / properties / payload / $defs / dns-records_PTRRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_SMIMEARecord / $ref
      Added value: +"#/$defs/dns-records_SMIMEARecord"
    • removedInput schema / properties / payload / $defs / dns-records_SMIMEARecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted SMIMEA content. See 'data' to set SMIMEA properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a SMIMEA record.",
      -        "properties": {
      -          "certificate": {
      -            "description": "Certificate.",
      -            "type": "string"
      -          },
      -          "matching_type": {
      -            "description": "Matching Type.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "selector": {
      -            "description": "Selector.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "usage": {
      -            "description": "Usage.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "SMIMEA"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_SMIMEARecord / title
      Removed value: -"SMIMEA Record"
    • removedInput schema / properties / payload / $defs / dns-records_SMIMEARecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_SRVRecord / $ref
      Added value: +"#/$defs/dns-records_SRVRecord"
    • removedInput schema / properties / payload / $defs / dns-records_SRVRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Priority, weight, port, and SRV target. See 'data' for setting the individual component values.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a SRV record.",
      -        "properties": {
      -          "port": {
      -            "description": "The port of the service.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "priority": {
      -            "$ref": "#/$defs/dns-records_priority"
      -          },
      -          "target": {
      -            "description": "A valid hostname.",
      -            "format": "hostname",
      -            "type": "string"
      -          },
      -          "weight": {
      -            "description": "The record weight.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "SRV"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_SRVRecord / title
      Removed value: -"SRV Record"
    • removedInput schema / properties / payload / $defs / dns-records_SRVRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_SSHFPRecord / $ref
      Added value: +"#/$defs/dns-records_SSHFPRecord"
    • removedInput schema / properties / payload / $defs / dns-records_SSHFPRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted SSHFP content. See 'data' to set SSHFP properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a SSHFP record.",
      -        "properties": {
      -          "algorithm": {
      -            "description": "Algorithm.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "fingerprint": {
      -            "description": "Fingerprint.",
      -            "type": "string"
      -          },
      -          "type": {
      -            "description": "Type.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "SSHFP"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_SSHFPRecord / title
      Removed value: -"SSHFP Record"
    • removedInput schema / properties / payload / $defs / dns-records_SSHFPRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_SVCBRecord / $ref
      Added value: +"#/$defs/dns-records_SVCBRecord"
    • removedInput schema / properties / payload / $defs / dns-records_SVCBRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted SVCB content. See 'data' to set SVCB properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a SVCB record.",
      -        "properties": {
      -          "priority": {
      -            "description": "Priority.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "target": {
      -            "description": "Target.",
      -            "type": "string"
      -          },
      -          "value": {
      -            "description": "Value.",
      -            "type": "string"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "SVCB"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_SVCBRecord / title
      Removed value: -"SVCB Record"
    • removedInput schema / properties / payload / $defs / dns-records_SVCBRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_TLSARecord / $ref
      Added value: +"#/$defs/dns-records_TLSARecord"
    • removedInput schema / properties / payload / $defs / dns-records_TLSARecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted TLSA content. See 'data' to set TLSA properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a TLSA record.",
      -        "properties": {
      -          "certificate": {
      -            "description": "Certificate.",
      -            "type": "string"
      -          },
      -          "matching_type": {
      -            "description": "Matching Type.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "selector": {
      -            "description": "Selector.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "usage": {
      -            "description": "Usage.",
      -            "maximum": 255,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "TLSA"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_TLSARecord / title
      Removed value: -"TLSA Record"
    • removedInput schema / properties / payload / $defs / dns-records_TLSARecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_TXTRecord / $ref
      Added value: +"#/$defs/dns-records_TXTRecord"
    • removedInput schema / properties / payload / $defs / dns-records_TXTRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Text content for the record. The content must consist of quoted \"character strings\" (RFC 1035), each with a length of up to 255 bytes. Strings exceeding this allowed maximum length are automatically split.\n\nLearn more at <https://www.cloudflare.com/learning/dns/dns-records/dns-txt-record/>.",
      -        "type": "string"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "TXT"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_TXTRecord / title
      Removed value: -"TXT Record"
    • removedInput schema / properties / payload / $defs / dns-records_TXTRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_URIRecord / $ref
      Added value: +"#/$defs/dns-records_URIRecord"
    • removedInput schema / properties / payload / $defs / dns-records_URIRecord / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-shared-fields"
      -  },
      -  {
      -    "properties": {
      -      "content": {
      -        "description": "Formatted URI content. See 'data' to set URI properties.",
      -        "type": "string"
      -      },
      -      "data": {
      -        "description": "Components of a URI record.",
      -        "properties": {
      -          "target": {
      -            "description": "The record content.",
      -            "type": "string"
      -          },
      -          "weight": {
      -            "description": "The record weight.",
      -            "maximum": 65535,
      -            "minimum": 0,
      -            "type": "number"
      -          }
      -        },
      -        "type": "object"
      -      },
      -      "priority": {
      -        "$ref": "#/$defs/dns-records_priority"
      -      },
      -      "type": {
      -        "description": "Record type.",
      -        "enum": [
      -          "URI"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_URIRecord / title
      Removed value: -"URI Record"
    • removedInput schema / properties / payload / $defs / dns-records_URIRecord / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_comment / $ref
      Added value: +"#/$defs/dns-records_comment"
    • removedInput schema / properties / payload / $defs / dns-records_comment / description
      Removed value: -"Comments or notes about the DNS record. This field has no effect on DNS responses."
    • removedInput schema / properties / payload / $defs / dns-records_comment / type
      Removed value: -"string"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-batch-delete / $ref
      Added value: +"#/$defs/dns-records_dns-record-batch-delete"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-delete / allOf
      Removed value: -[
      -  {
      -    "properties": {
      -      "id": {
      -        "$ref": "#/$defs/dns-records_identifier"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-delete / required
      Removed value: -[
      -  "id"
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-delete / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-batch-patch / $ref
      Added value: +"#/$defs/dns-records_dns-record-batch-patch"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-patch / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-patch"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-patch / properties
      Removed value: -{
      -  "id": {
      -    "$ref": "#/$defs/dns-records_identifier"
      -  }
      -}
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-patch / required
      Removed value: -[
      -  "id"
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-patch / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-batch-post / $ref
      Added value: +"#/$defs/dns-records_dns-record-batch-post"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-post / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-post"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-post / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-batch-put / $ref
      Added value: +"#/$defs/dns-records_dns-record-batch-put"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-put / allOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-post"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-put / properties
      Removed value: -{
      -  "id": {
      -    "$ref": "#/$defs/dns-records_identifier"
      -  }
      -}
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-put / required
      Removed value: -[
      -  "id"
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-batch-put / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-patch / $ref
      Added value: +"#/$defs/dns-records_dns-record-patch"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-patch / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-without-data"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-with-data"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-patch / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-post / $ref
      Added value: +"#/$defs/dns-records_dns-record-patch"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-post / anyOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-without-data"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_dns-record-with-data"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-post / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-shared-fields / $ref
      Added value: +"#/$defs/dns-records_dns-record-shared-fields"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-shared-fields / properties
      Removed value: -{
      -  "comment": {
      -    "$ref": "#/$defs/dns-records_comment"
      -  },
      -  "name": {
      -    "$ref": "#/$defs/dns-records_name"
      -  },
      -  "proxied": {
      -    "$ref": "#/$defs/dns-records_proxied"
      -  },
      -  "settings": {
      -    "$ref": "#/$defs/dns-records_settings"
      -  },
      -  "tags": {
      -    "$ref": "#/$defs/dns-records_tags"
      -  },
      -  "ttl": {
      -    "$ref": "#/$defs/dns-records_ttl"
      -  }
      -}
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-shared-fields / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-with-data / $ref
      Added value: +"#/$defs/dns-records_dns-record-with-data"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-with-data / oneOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_CAARecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_CERTRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_DNSKEYRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_DSRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_HTTPSRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_LOCRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_NAPTRRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_SMIMEARecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_SRVRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_SSHFPRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_SVCBRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_TLSARecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_URIRecord"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-with-data / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_dns-record-without-data / $ref
      Added value: +"#/$defs/dns-records_dns-record-without-data"
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-without-data / oneOf
      Removed value: -[
      -  {
      -    "$ref": "#/$defs/dns-records_ARecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_AAAARecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_CNAMERecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_MXRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_NSRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_OPENPGPKEYRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_PTRRecord"
      -  },
      -  {
      -    "$ref": "#/$defs/dns-records_TXTRecord"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_dns-record-without-data / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_identifier / $ref
      Added value: +"#/$defs/dns-records_identifier"
    • removedInput schema / properties / payload / $defs / dns-records_identifier / description
      Removed value: -"Identifier."
    • removedInput schema / properties / payload / $defs / dns-records_identifier / maxLength
      Removed value: -32
    • removedInput schema / properties / payload / $defs / dns-records_identifier / type
      Removed value: -"string"
    • addedInput schema / properties / payload / $defs / dns-records_name / $ref
      Added value: +"#/$defs/dns-records_name"
    • removedInput schema / properties / payload / $defs / dns-records_name / description
      Removed value: -"Complete DNS record name, including the zone name, in Punycode."
    • removedInput schema / properties / payload / $defs / dns-records_name / maxLength
      Removed value: -255
    • removedInput schema / properties / payload / $defs / dns-records_name / minLength
      Removed value: -1
    • removedInput schema / properties / payload / $defs / dns-records_name / type
      Removed value: -"string"
    • addedInput schema / properties / payload / $defs / dns-records_priority / $ref
      Added value: +"#/$defs/dns-records_priority"
    • removedInput schema / properties / payload / $defs / dns-records_priority / description
      Removed value: -"Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map."
    • removedInput schema / properties / payload / $defs / dns-records_priority / maximum
      Removed value: -65535
    • removedInput schema / properties / payload / $defs / dns-records_priority / minimum
      Removed value: -0
    • removedInput schema / properties / payload / $defs / dns-records_priority / type
      Removed value: -"number"
    • addedInput schema / properties / payload / $defs / dns-records_proxied / $ref
      Added value: +"#/$defs/dns-records_proxied"
    • removedInput schema / properties / payload / $defs / dns-records_proxied / default
      Removed value: -false
    • removedInput schema / properties / payload / $defs / dns-records_proxied / description
      Removed value: -"Whether the record is receiving the performance and security benefits of Cloudflare."
    • removedInput schema / properties / payload / $defs / dns-records_proxied / type
      Removed value: -"boolean"
    • addedInput schema / properties / payload / $defs / dns-records_settings / $ref
      Added value: +"#/$defs/dns-records_settings"
    • removedInput schema / properties / payload / $defs / dns-records_settings / description
      Removed value: -"Settings for the DNS record."
    • removedInput schema / properties / payload / $defs / dns-records_settings / properties
      Removed value: -{
      -  "ipv4_only": {
      -    "default": false,
      -    "description": "When enabled, only A records will be generated, and AAAA records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6.",
      -    "type": "boolean"
      -  },
      -  "ipv6_only": {
      -    "default": false,
      -    "description": "When enabled, only AAAA records will be generated, and A records will not be created. This setting is intended for exceptional cases. Note that this option only applies to proxied records and it has no effect on whether Cloudflare communicates with the origin using IPv4 or IPv6.",
      -    "type": "boolean"
      -  }
      -}
    • removedInput schema / properties / payload / $defs / dns-records_settings / type
      Removed value: -"object"
    • addedInput schema / properties / payload / $defs / dns-records_tags / $ref
      Added value: +"#/$defs/dns-records_tags"
    • removedInput schema / properties / payload / $defs / dns-records_tags / default
      Removed value: -[]
    • removedInput schema / properties / payload / $defs / dns-records_tags / description
      Removed value: -"Custom tags for the DNS record. This field has no effect on DNS responses."
    • removedInput schema / properties / payload / $defs / dns-records_tags / items
      Removed value: -{
      -  "description": "Individual tag of the form name:value (the name must consist of only letters, numbers, underscores and hyphens)",
      -  "type": "string"
      -}
    • removedInput schema / properties / payload / $defs / dns-records_tags / type
      Removed value: -"array"
    • addedInput schema / properties / payload / $defs / dns-records_ttl / $ref
      Added value: +"#/$defs/dns-records_ttl"
    • removedInput schema / properties / payload / $defs / dns-records_ttl / anyOf
      Removed value: -[
      -  {
      -    "maximum": 86400,
      -    "minimum": 30,
      -    "type": "number"
      -  },
      -  {
      -    "enum": [
      -      1
      -    ],
      -    "type": "number"
      -  }
      -]
    • removedInput schema / properties / payload / $defs / dns-records_ttl / default
      Removed value: -1
    • removedInput schema / properties / payload / $defs / dns-records_ttl / description
      Removed value: -"Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones."
    • removedInput schema / properties / payload / $defs / dns-records_ttl / type
      Removed value: -"number"
  2. First observedv2.0.0

TDQS

B3.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, but the description adds real behavior beyond them: non-atomic propagation via the distributed KV store, and the deterministic execution order (deletes, patches, puts, posts). The warning not to auto-repeat an unknown outcome reinforces the non-idempotent hint with actionable caution. It stops short of describing the response or failure/rollback semantics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in one sentence, and the following notes are compact and additive rather than repetitive. The execution-order list earns its place because it materially affects how the payload must be composed, though the odd indentation adds minor noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, nested-object, no-output-schema tool, the description covers the critical atomicity and ordering hazards well. However it omits return-value expectations and any routing context relative to preview_dns_batch/apply_dns_batch, leaving gaps an agent would need to resolve elsewhere.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 83%, so the schema already documents account, confirm, payload/payload_file, zone_id and include_shadow_metadata, giving a baseline of 3. The description adds nothing about any parameter, so it does not earn above baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource: batching DNS Record API calls into a single request, executed together. It is clear on its own, but it never distinguishes itself from close siblings like preview_dns_batch or apply_dns_batch, which an agent would need to choose between.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, and no mention of the obvious alternative preview_dns_batch for dry-running a batch. The only usage constraint offered is the confirmation note ('Every change requires explicit confirmation'), which is a safety rule rather than routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.