Skip to main content
Glama

dns__UpdatePublicZoneStatus

Set a public DNS zone to enabled or suspended to control whether the domain resolves; requires the zone ID and target status.

Instructions

[DNS] 设置公网域名状态,支持暂停、启用域名。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "status": "<status>",
      "zone_id": "<zone_id>"
    },
    "name": "dns__UpdatePublicZoneStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes域名状态。 取值范围: ENABLE:启用解析 DISABLE:暂停解析
zone_idYes域名ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only restates the mutation. It does not disclose the practical consequence of pausing (public resolution stops, domain becomes unreachable), whether the change is reversible, what permissions are required, or what the call returns.

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?

A single front-loaded sentence identifies the action and scope with no filler. It is appropriately terse for a two-parameter toggle, though the space saved could have been used for the missing impact/usage information.

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 is simple (2 required params, no nesting, no output schema) and the schema is fully documented, so the description is minimally sufficient to invoke it correctly. It falls short for a destructive-in-effect status toggle by omitting what pausing actually does and when an agent should choose it over the batch or private-zone equivalents.

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?

Schema description coverage is 100%, with both 'status' (ENABLE/DISABLE semantics) and 'zone_id' (32-char ID) documented inline, so the schema does the heavy lifting. The description mentions pause/enable but adds no format, constraint, or state-transition detail beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource combination ('设置公网域名状态') and names the two supported target states (pause/enable). The '公网' (public) qualifier separates it from the private-zone sibling, though it does not explicitly contrast itself with dns__UpdatePublicZone (settings) or dns__BatchSetZonesStatus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of prerequisites, and no routing to alternatives such as the batch variant or the record-set-level status tool. The only usage signal is which two states are permitted, which is already implied by the required 'status' parameter.

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

Deploy Server

Other Tools