Skip to main content
Glama

dns__BatchSetZonesStatus

Enable or disable multiple DNS zones in one request by providing up to 50 zone IDs and the target status. Use it to batch-update zone availability without changing each zone individually.

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_ids": "<zone_ids>"
    },
    "name": "dns__BatchSetZonesStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYes待设置域名状态,支持DISABLE或ENABLE。
zone_idsYes待设置域名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 says 'set status'. It does not disclose that this is a mutation affecting DNS resolution, whether it applies to public or private zones, whether the batch is atomic or can partially succeed, or what permissions are needed.

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 short sentence with the action front-loaded and no filler or redundancy. Its brevity is efficient, though it borders on under-specification rather than ideal economy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an unannotated batch mutation on DNS zones with no output schema, the definition should explain scope (public vs private), the consequence of disabling a zone, and batch failure behavior. None of that is present, leaving significant gaps for an agent deciding whether and how to call it.

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' (DISABLE|ENABLE) and 'zone_ids' documented in the schema. The description adds no meaning beyond that — it does not explain the effect of DISABLE versus ENABLE or ordering/partial-failure semantics for the ID list, so the baseline 3 applies.

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 ('批量设置域名状态' – batch set domain status), and the word '批量' (batch) combined with the required zone_ids array of up to 50 conveys multi-zone scope. It is clear what the tool does but never contrasts itself with the single-zone siblings such as UpdatePrivateZoneStatus/UpdatePublicZoneStatus or with BatchSetRecordSetsStatus, so it stops short of a 5.

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 guidance on when to choose this over the single-zone status tools or the record-set batch status tool, and no prerequisites, exclusions, or preconditions are stated. The agent must infer usage entirely from the name and schema.

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