Skip to main content
Glama

replaceAllowlist

Replace the entire allowlist with a new set of domain entries for a NextDNS profile. This operation removes all existing allowed domains and substitutes them with the specified list.

Instructions

Replaces the entire allowlist with the provided list of domains.

Warning: This operation removes all existing entries and replaces them. Safety Note: Only use with designated test profiles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
profile_idYesProfile ID (6-character alphanumeric identifier)
bodyYesArray of domain entry objects to set as the complete allowlist
Behavior4/5

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

With no annotations provided, the description carries the full burden. It explicitly states the destructive nature: 'Warning: This operation removes all existing entries and replaces them.' This is a critical behavioral trait for an AI agent. It also includes a safety note about test profiles. The description does not contradict any annotations (none exist), and it adds value beyond the schema by highlighting the replacement semantics.

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 extremely concise, consisting of two sentences plus a warning and safety note. Every sentence is necessary: it states the main action, warns about destructive behavior, and restricts usage. There is no redundant or filler content. The structure is front-loaded and easy to parse.

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?

Given the tool's low complexity (2 required params, no output schema, no nested objects), the description sufficiently covers what the agent needs to know: it replaces the entire allowlist, it is destructive, and it should only be used on test profiles. It does not detail edge cases like empty body (would clear list) or error handling, but these are minor given the straightforward operation. The description is complete enough for safe and correct invocation.

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?

Both parameters are fully described in the schema (100% coverage), so the baseline is 3. The description reinforces that the 'body' array replaces the entire list, but the schema already states 'set as the complete allowlist'. No additional semantic clarification is provided for 'profile_id' beyond the schema. The description adds marginal value over the structured input 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 the action ('Replaces the entire allowlist') and the resource ('allowlist'). It explicitly mentions 'entire allowlist' and 'replaces', distinguishing it from sibling tools like 'addToAllowlist' (additive) and 'updateAllowlistEntry' (partial update). The verb and resource are specific and unambiguous.

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 provides a clear usage context with the safety note: 'Only use with designated test profiles.' This tells the agent when to use the tool (test profiles) and implicitly when not to use (production profiles). However, it does not explicitly mention alternative tools like 'addToAllowlist' for additive operations, missing an opportunity for complete guidance.

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/dmeiser/nextdns-mcp'

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