Skip to main content
Glama

Manage DNS Entry

manage_dns_entry
DestructiveIdempotent

Add or remove static DNS records (A, CNAME, TXT) on a MikroTik router. Idempotent by name and type to avoid duplicates.

Instructions

Add or remove a static DNS entry. Idempotent by name+type: add returns already_exists if the same record already exists.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
routerIdNoRouter ID; omit to use the default router.
actionYesAction to perform
nameYesHostname for the DNS record (e.g. server.example.com)
typeNoDNS record typeA
addressNoIP address (required for A records)
cnameNoTarget hostname (required for CNAME records)
textNoText value (required for TXT records)
ttlNoTTL value (e.g. 1d, 00:05:00)
commentNoOptional comment
disabledNoWhether the entry should be disabled
dryRunNoPreview changes without applying.
confirmationTokenNoToken from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action.
Behavior4/5

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

Annotations indicate destructiveHint and idempotentHint. The description adds that the tool is idempotent by name+type and returns 'already_exists' for duplicates. This aligns with annotations and provides extra clarity beyond the structured fields.

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?

Two sentences with no waste. The core purpose is front-loaded, and additional behavioral info is efficiently provided.

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?

The tool has 12 parameters and no output schema. The description only mentions one return case (already_exists), leaving response format and error states undocumented. More detail on return values or typical responses would improve completeness.

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 description coverage is 100%, so the baseline is 3. The description adds value by explaining the idempotency constraint and the 'already_exists' return, which helps the agent understand parameter interactions beyond the schema.

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 'Add or remove a static DNS entry', specifying the verb and resource. It also distinguishes from siblings by noting idempotency and the 'already_exists' return for adds, making the tool's unique function clear.

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?

The description implies the tool is for adding/removing DNS entries, contrasting with listing tools like list_dns_entries. However, it does not explicitly state when to use alternatives or provide exclusion criteria, which is a minor gap.

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/AliKarami/MikroMCP'

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