Skip to main content
Glama

dns__ShowDomainQuota

Checks a tenant's DNS quotas for public/private domains, record sets, reverse resolution, custom lines, line groups, inbound/outbound endpoints, and forwarding rules to verify capacity and limits.

Instructions

[DNS] 查询租户在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": {
      "domain_id": "<domain_id>"
    },
    "name": "dns__ShowDomainQuota"
  }
}

Input Schema

NameRequiredDescriptionDefault
domain_idYes租户ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It makes clear this is a read-only quota query and usefully enumerates the quota categories the response covers, but it says nothing about authorization constraints, whether quotas are per-region, or failure behavior for an invalid/foreign tenant ID.

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?

One sentence, front-loaded with the action and resource, then the enumeration. The quota list is long but each item conveys real scope information; only the trailing 等 is mildly redundant.

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?

There is no output schema, so the description's enumeration of returned quota categories does real work in telling the agent what comes back. Given a single required ID parameter and a read-only query with no annotations, this is close to complete; only the tenant-scoping semantics and error cases are unaddressed.

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 coverage is 100% — domain_id is documented as 租户ID with a pattern constraint — so the baseline is 3. The description adds no extra meaning about the parameter (e.g., whether it must be the caller's own tenant or can be any tenant), so it does not rise above baseline.

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 names a specific verb+resource (查询...资源配额) scoped to DNS, and the [DNS] prefix plus enumeration of quota categories (公网域名, 内网域名, 记录集, 反向解析, etc.) makes it unmistakable which of the many sibling *Quota tools this is.

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

Usage Guidelines3/5

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

Usage is implied by the phrasing: fetch the tenant's DNS quota picture. There are no explicit when-to-use/when-not conditions, no comparison against sibling quota tools (iam__ShowDomainQuota, vpc__ShowQuota), and no note about permissions or whether domain_id must be the caller's own tenant.

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