Skip to main content
Glama

generate_dns_fix

Creates copy-pasteable DNS record snippets to fix specific issues like missing SPF or DKIM, with TTL recommendations and provider-specific notes for Cloudflare, Route53, or Google.

Instructions

Generate copy-pasteable DNS record snippets that fix one specific issue (e.g. spf_missing → suggested SPF record). Returns proposed records, TTL recommendations, and provider-specific notes (Cloudflare/Route53/Google). Read-only POST to /ai/fix — the API only suggests; it never modifies the user's zone. Provide domain and issue (enum); pass context from prior scan output for tailored output. Use after explain_issue or scan_domain identifies a problem; use lookup_dns afterwards to verify the user has applied the suggested record.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDomain name, e.g. example.com
issueYes
contextNoOptional issue context from scan output
Behavior5/5

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

With no annotations, the description fully discloses the tool's read-only nature ('the API only suggests; it never modifies the user's zone') and details the output (proposed records, TTL, provider-specific notes). This provides complete transparency.

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?

The description is two sentences: the first states purpose and output, the second covers usage, endpoint, and parameters. Every sentence adds value; no redundancy.

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?

Given the tool has 3 parameters and no output schema, the description explains the output format (records, TTL, notes), the read-only nature, and the appropriate workflow. It is complete for an agent to use effectively.

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?

The description explains the issue parameter as an enum with an example but does not list all possible values. It adds meaning by noting context should come from prior scan output. Schema coverage is 67% (issue lacks description in schema); the description partially compensates.

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 clearly states the tool generates copy-pasteable DNS record snippets to fix a specific issue, with concrete examples like spf_missing. It distinguishes itself from sibling diagnostic tools like check_spf and lookup_dns by focusing on generating fix suggestions rather than just checking.

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?

The description explicitly guides usage: 'Use after explain_issue or scan_domain identifies a problem; use lookup_dns afterwards to verify.' It also clarifies the tool is read-only and never modifies the zone, setting clear boundaries.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoscoNL/intodns-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server