Skip to main content
Glama

dns__ListRecordSetsByZone

Lists DNS record sets within a specified zone, with optional filters for name, type, status, tags, and pagination to inspect or manage domain records.

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": {
      "zone_id": "<zone_id>"
    },
    "name": "dns__ListRecordSetsByZone"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo待查询的记录集ID。
nameNo待查询的记录集的域名中包含此name。
tagsNo资源标签。
typeNo待查询的记录集的类型。
limitNo每页返回的资源个数。
markerNo分页查询起始的资源ID,为空时为查询第一页。
offsetNo分页查询起始偏移量,表示从偏移量的下一个资源开始查询。
statusNo待查询的记录集的状态。 取值范围:ACTIVE、ERROR、DISABLE、FREEZE、PENDING_CREATE、PENDING_UPDATE、PENDING_DELETE
zone_idYes域名ID。
sort_dirNo查询结果中记录集列表的排序方式。
sort_keyNo查询结果中记录集列表的排序字段。
search_modeNo查询条件搜索模式。

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 discloses only that this is a query. It says nothing about pagination (despite limit/marker/offset params), sorting, whether results are filtered by status or tags, or permission requirements for the zone.

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 a leading [DNS] tag and no wasted words, so the purpose is front-loaded. Its brevity is efficient but borders on under-specification for a 12-parameter listing tool.

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?

With 12 parameters, no annotations, and no output schema, the definition should explain filtering, pagination, and sort behavior or the shape of returned records. The one-line description leaves all of that to the schema, which is insufficient for a tool of this complexity.

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%, so every one of the 12 parameters is already documented in the schema, including filter, pagination, and sort fields. The description adds no meaning beyond that, which is the expected baseline when the schema does the work.

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 names a specific verb and resource scoped to a zone ("query the record set list under a domain"), so an agent knows it returns record sets belonging to one zone. It does not differentiate itself from sibling list tools such as dns__ListRecordSets or dns__ListRecordSetsWithLine, leaving the 'ByZone' distinction to the name alone.

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 explicit when-to-use guidance, no prerequisites, and no mention of when to prefer a sibling list tool. The zone scope is only implied by the phrase 'under a domain', so an agent must infer the selection condition.

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