Skip to main content
Glama

Apply a DNS template

apply_dns_template
DestructiveIdempotent

FREE one-call DNS setup for a domain you own. template: vercel | netlify (params.site) | github-pages (params.user) | google-workspace | microsoft-365 | zoho-mail (params.region: com|eu|in|com.au). Replaces only the conflicting web or MX/SPF records.

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>",
      "template": "<template>"
    },
    "name": "apply_dns_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYes
paramsNo
templateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and openWorld=true, so the safety profile is covered; the description adds the crucial detail of what exactly is overwritten — only conflicting web or MX/SPF records — plus the 'FREE'/no-cost fact. It does not say whether the replacement is reversible or what is returned, but that is secondary against the annotation coverage.

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?

Front-loaded with the outcome and cost, then the template-to-param mapping; zero filler sentences. The dense pipe notation is terse to the point of requiring a second read, which costs it a point.

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?

For a 3-param, nested-object, destructive tool with no output schema, the definition covers template semantics, per-template params, and the write footprint. Only edge behavior (failure modes, what the call returns, whether the domain must already be in the account) is unaddressed.

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 0%, so the description carries the full burden and largely does: it maps each template to its extra param (netlify→params.site, github-pages→params.user, zoho-mail→params.region with the enum values com|eu|in|com.au). Remaining gaps are the `domain` format (apex vs. full name) and whether params is required per template.

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?

States a specific verb and resource (apply a DNS template) plus the concrete outcome — "one-call DNS setup" — and enumerates the six supported templates. An agent can tell it apart from generic 'set_dns' by the template-driven, predefined-record nature, though it never names that sibling explicitly.

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

Usage Guidelines3/5

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

"for a domain you own" gives a precondition, and "one-call" implies this is the shortcut versus hand-writing records. But there is no explicit when-not clause and no named alternative (set_dns, get_dns) to route the agent when a template doesn't fit.

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.

Resources