Skip to main content
Glama

Managerewrites

manageRewrites

Create, list, or delete DNS rewrite entries for a NextDNS profile to redirect hostnames to custom IPs or block domains.

Instructions

Manage DNS rewrite entries for a NextDNS profile.

Rewrites let you return a custom answer for a hostname. Typical uses:

  • Point an internal hostname to a private IP.

  • Block a domain by rewriting it to 0.0.0.0.

Operations: - list: Show existing rewrites. - add: Create a rewrite (requires name and content). - delete: Remove a rewrite (requires entry_id from list).

Examples: - list: manageRewrites(operation="list", profile_id="abc123") - add: manageRewrites(operation="add", profile_id="abc123", name="router.home", content="192.168.1.1") - delete: manageRewrites(operation="delete", profile_id="abc123", entry_id="router.home")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
contentNo
entry_idNo
operationYes
profile_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.1.3
  2. Removedv3.1.2
  3. Addedv3.0.1

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that delete consumes an entry_id obtained from list and that add requires name+content, but says nothing about whether delete/add are irreversible, what permissions the profile requires, or rate-limit behavior — a real gap for a mutating tool.

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 a one-line purpose followed by scannable operation and example blocks; each line earns its place. The examples are somewhat repetitive of the operation list, which keeps it short of a 5.

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?

With an output schema present, return values need no explanation, and the description covers purpose, operations, parameter roles, and concrete calls. It is nearly complete for a 5-param multi-operation tool, missing only mutability/safety context that no annotations supply.

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 0%, so the description must compensate, and it largely does: it defines the enum values of operation, the meaning of name/content, and the provenance of entry_id ('from list'). profile_id is only shown by example rather than explained, leaving a small residual gap.

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?

States a specific verb+resource ('Manage DNS rewrite entries for a NextDNS profile') and explains what a rewrite actually is, so an agent can distinguish it from manageProfiles, manageSettings, and the other siblings without opening the 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?

Enumerates the three operations and states the required fields for each ('add' needs name+content, 'delete' needs entry_id from list), which is clear routing context. It does not say when to prefer this tool over a sibling or when not to use it, so it stops short of full when/when-not guidance.

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