Skip to main content
Glama
bitfiction
by bitfiction

push_dns_to_cloudflare

Destructive

Push a deployment's certificate-validation and routing DNS records to the linked Cloudflare zone. Requires deployment and domain IDs and user authorization; preserves nameservers and mail records.

Instructions

Push a deployment's certificate-validation and website-routing DNS records into the customer's linked Cloudflare zone. This is an external DNS write, although it is idempotent and never changes nameservers or mail records. First call get_deployment and select the exact dns item whose action is OFFER_CLOUDFLARE_PUSH; pass the deployment response's id as deploymentId and that DNS item's domainId as domainId. Present the intended action and obtain the user's authorization before calling. Do not infer a domain ID, use this for MANUAL_RECORDS_AT_REGISTRAR, or describe it as DNS delegation. Present the returned message and every per-record error. Manual records at the current provider remain the fallback.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainIdYesExact domainId from the OFFER_CLOUDFLARE_PUSH item in get_deployment.dns
deploymentIdYesDeployment ID returned by get_deployment

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesParsed JSON response from the Staticbot public API

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations indicate non-read-only and destructive, and the description adds meaningful context: it is an external DNS write, idempotent, never changes nameservers or mail records, and requires user authorization. This goes beyond the bare annotations, though it doesn't explicitly mention that existing DNS records may be overwritten (inferred by 'push' and destructiveHint). No contradiction with annotations.

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 description is longer than a simple two-liner, but every sentence earns its place: purpose, effects, prerequisite call, parameter sourcing, authorization, exclusions, output handling, and fallback. It is well-structured and front-loaded with the core action, even if slightly dense.

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

Completeness5/5

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

For a high-risk external DNS write, the description covers the full invocation path: how to prepare, what to pass, what to avoid, what to present to the user, and how to handle the response. With an existing output schema and annotations already covering return structure and safety flags, this description is effectively complete.

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

Parameters4/5

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

Schema coverage is 100%, with both parameters already described. The description adds value by explaining where the IDs come from (deployment response and DNS item) and explicitly warns 'Do not infer a domain ID,' which is not fully captured in the schema alone.

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

Purpose5/5

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

The description states a specific verb and resource: 'Push ... certificate-validation and website-routing DNS records into the customer's linked Cloudflare zone.' It further distinguishes itself by noting it never changes nameservers or mail records, which clearly separates it from other DNS-related sibling tools like recheck_dns_verification or preflight_cloudflare_hosting.

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

Usage Guidelines5/5

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

Explicitly instructs to first call get_deployment, select the OFFER_CLOUDFLARE_PUSH item, and use the returned deployment id and domainId. It also gives clear when-not-to-use guidance: 'Do not infer a domain ID, use this for MANUAL_RECORDS_AT_REGISTRAR, or describe it as DNS delegation,' and names the fallback (manual records at the current provider).

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