Skip to main content
Glama

Apply domain DNS records

apply_domain_dns
DestructiveIdempotent

Apply Groundmail DNS records for a domain through Cloudflare, Vercel, GoDaddy, Netlify, DigitalOcean or DNSimple, using the provider account connected in the dashboard. Providers are connected at https://app.groundmail.dev/integrations; without one, the records can be published by hand.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "domain": "<domain>",
      "provider": "<provider>"
    },
    "name": "apply_domain_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name or id of a domain already added to this account (example.com)
providerYesDNS provider that hosts the domain

Output Schema

NameRequiredDescriptionDefault
domainYesDomain the records belong to
recordsNoDNS records to publish for the domain
resultsYesOutcome for each record
providerYesDNS provider the records were written to

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / records / items / properties / already_set
      Added value: +{
      +  "description": "True when the domain already publishes a record that does this job (its own DMARC record). The value is what is there now: nothing to add or change, never publish a second one",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "cloudflare",
      -  "godaddy",
      -  "vercel"
      -]New value: +[
      +  "cloudflare",
      +  "godaddy",
      +  "vercel",
      +  "netlify",
      +  "digitalocean",
      +  "dnsimple"
      +]
  3. Changed1 schema field changed
    • removedInput schema / properties / credentials
      Removed value: -{
      -  "description": "Optional one-time credentials: Cloudflare apiToken (and zoneId), Vercel apiToken (and teamId), or GoDaddy apiKey and apiSecret",
      -  "type": "object"
      -}
  4. Changed1 schema field changed
    • changedInput schema / properties / credentials / description
      Previous value: -"Optional inline registrar credentials (GoDaddy api key/secret)"New value: +"Optional one-time credentials: Cloudflare apiToken (and zoneId), Vercel apiToken (and teamId), or GoDaddy apiKey and apiSecret"
  5. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already disclose destructiveHint, idempotentHint, openWorldHint, and readOnlyHint=false, so the safety profile is largely covered. The description adds useful auth/connection context and a manual fallback, but it does not explain what existing DNS records may be overwritten or what the destructive behavior means in practice.

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 action and provider scope are front-loaded, followed by the integration prerequisite and manual fallback. The repeated provider list is slightly redundant with the enum, but the description remains short and purposeful.

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

Completeness4/5

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

Given the output schema and detailed annotations, the description covers the essential action and the connected-provider prerequisite. The main remaining gap is the lack of explicit explanation about overwriting existing records, but the destructive annotation supplies that warning.

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 100%, with the domain field and provider enum already documented. The description repeats the provider names but adds no new meaning about parameter syntax, selection, or constraints beyond the schema.

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 description states a specific verb and resource: applying Groundmail DNS records for a domain through named DNS providers. It is clear what the tool does, but it does not explicitly distinguish this action from siblings such as verify_domain or create_domain.

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

Usage Guidelines4/5

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

It gives a clear prerequisite: the provider account must be connected in the dashboard, and it names the integrations URL. It also explains the fallback of publishing records by hand when no provider is connected, though it does not explicitly compare usage against sibling tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.