Skip to main content
Glama

Write the DNS records to publish

generate_records

Returns the SPF, DKIM, DMARC and MX records the domain should publish, based on the providers it already uses, each marked add, replace, keep or configure, with the reason.

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

Input Schema

NameRequiredDescriptionDefault
domainYes
selectorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does valuable work disclosing the output structure — records tagged add/replace/keep/configure with reasons — and that results derive from the providers the domain already uses, implying it inspects existing state. However, it never resolves the ambiguity created by the 'Write' title and the name 'generate_records': whether any live DNS change is made, or whether this is purely advisory, and what access it needs to read current provider/DNS data.

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

Conciseness5/5

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

A single dense sentence, front-loaded with the returned record types and followed by the classification scheme and rationale. Nothing is padding; every clause carries information an agent needs to interpret the response.

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 two-parameter read-style tool with no annotations and no output schema, the description does well explaining return contents and provenance. It is incomplete on the operational side — the selector parameter and whether existing DNS is read or modified are unaddressed, which are exactly the gaps structured fields would otherwise cover.

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

Parameters2/5

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

Schema description coverage is 0% for two parameters, so the description must compensate and does not. 'Domain' is only obliquely referenced as 'the domain', and the 'selector' parameter — which matters for DKIM record generation — is never mentioned at all, leaving an agent to guess whether it is required for DKIM output or optional everywhere.

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 names a specific action and resource: it returns the SPF, DKIM, DMARC and MX records a domain should publish, with per-record disposition labels (add, replace, keep, configure) and reasons. That is far more specific than the name 'generate_records' alone. It stops short of contrasting itself with the sibling check_domain, so it lands at 4 rather than 5.

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?

Usage is only implied: an agent can infer this is the tool for obtaining the recommended DNS record set. There is no explicit statement of when to use this instead of check_domain, no prerequisites (does it require the domain to already resolve?), and no exclusions.

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