Skip to main content
Glama

delete_dns_policy

Remove an existing DNS policy from a UniFi site by providing host, site, and policy ID. Simplifies DNS rule management through the UniFi Fabric API.

Instructions

Delete a DNS policy.

host: console name, ID, or composite ID (MAC:numericId format). site: site name or ID. policy_id: REQUIRED. The policy's id; obtain it from list_dns_policies (its id field).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYes
siteYes
policy_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, yet it only repeats the destructive verb without stating consequences such as irreversibility, prerequisite policy state, or potential failures. It does not contradict the schema, but it fails to add meaningful behavioral context beyond the word 'Delete.'

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 short and front-loaded, with the action stated in the first sentence and parameter details in a compact list. Every clause adds useful information, with no filler.

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 description provides enough param semantics to call the tool and an output schema exists, so return-value documentation is not needed. However, the absence of behavioral warnings about deletion, and the incomplete 'REQUIRED' emphasis, leave gaps for a destructive operation with no annotations.

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?

Since schema description coverage is 0%, the description supplies valuable parameter guidance: host may be a console name, ID, or composite MAC:numericId, site is a name or ID, and policy_id is obtained from list_dns_policies. It could be clearer that all three parameters are required, given the schema lists all as required and only policy_id is marked REQUIRED.

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 first sentence, 'Delete a DNS policy,' uses a specific verb and resource, exactly matching the tool's purpose. Among many delete_* siblings, the DNS policy resource is unambiguous and distinct.

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 expected workflow by telling the agent to obtain policy_id from list_dns_policies. It does not explicitly state when not to use this tool or name alternatives, but no alternative deletion tool for DNS policies exists, so the context is clear enough.

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

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/swkstudios/unifi-fabric-mcp-server'

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