Skip to main content
Glama

Exact DNS records to point a domain at a service

dns_records
Read-onlyIdempotent

Get the exact DNS records that point one domain at one service from list_services, for any domain at any DNS provider: name, type, TTL and values to set, and values to remove. The domain's current records are read from public DNS, so an existing SPF is merged and an existing CAA extended, the same way pekt changes its own zones (one planner). Use it when the user must point a domain at their app, site or mail provider, or asks which records to add. Read-only: nothing changes. how_to_apply says how the records get written: by the user at their DNS provider, or by pekt after the owner approves when the domain is at pekt. blocked=true means the change would break something (see findings) and no records are given; an error with retryable=true means a lookup failed, so try again after retry_after seconds.

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>",
      "service": "<service>"
    },
    "name": "dns_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain itself, e.g. example.no (Unicode such as blåbær.no is fine). Any registrar, any DNS provider.
paramsNoThe inputs that service needs (see list_services), copied from the provider. Omit for services with no required inputs.
serviceYesA service key from list_services, e.g. the web or mail service the user named.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, and the description adds substantially beyond them: records are read from public DNS, an existing SPF is merged, an existing CAA extended, how_to_apply states who actually writes the records (user vs. pekt after owner approval), blocked=true means a breaking change with findings and no records, and retryable=true errors specify retry_after. That is exactly the non-obvious behavior an agent needs before calling.

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?

Purpose, return fields, usage, safety, failure semantics are front-loaded in a single dense paragraph with little filler. The parenthetical '(one planner)' and the self-referential note about how pekt changes its own zones are the only marginally decorative elements, and the run-on structure slightly reduces scanability.

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?

There is no output schema, but the description covers return contents (record fields, values to set and remove, how_to_apply, blocked, findings), the read-only guarantee, and the error/retry contract. For a three-parameter tool with nested params and full annotation coverage, nothing material an agent needs to call it correctly is missing.

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%, so the schema already documents domain, service and the params object. The description contributes mainly the cross-reference that 'service' is a key from list_services and that params are copied from the provider, which is largely mirrored in the schema text; it adds little new per-parameter meaning, so the baseline 3 applies.

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 opens with a specific verb and resource: 'Get the exact DNS records that point one domain at one service from list_services,' and immediately enumerates the returned fields (name, type, TTL, values to set/remove). It ties the 'service' input back to the sibling list_services, so an agent can distinguish it from check_domain or check_pointing without opening a schema.

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 trigger: 'Use it when the user must point a domain at their app, site or mail provider, or asks which records to add,' and notes the prerequisite that the service key comes from list_services. It stops short of explicitly naming when NOT to use it (e.g. when the user only wants to verify existing pointing, which check_pointing would cover), so it is strong but not complete routing guidance.

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