Skip to main content
Glama

List DNS templates

list_dns_templates
Read-onlyIdempotent

Lists backend-defined DNS record templates for a native forward zone, so you can choose configurations for web services, Google Workspace, Microsoft 365, mail security, Null MX, and CAA lockdown.

Instructions

List backend-defined DNS record templates for a native forward zone, such as web service, Google Workspace, Microsoft 365, mail security, Null MX and CAA lockdown. Requires dns:read when using an API key.

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": "list_dns_templates"
  }
}

Input Schema

NameRequiredDescriptionDefault
zone_idYesDNS zone ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds non-annotation context the agent needs: the required dns:read permission when authenticating with an API key, and the constraint that results are limited to native forward zones.

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?

Two tight sentences: the enumeration scope leads, the permission note follows. Every clause carries information and nothing is padded or repeated from the schema.

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?

No output schema exists, so the description does useful work by naming the kinds of templates returned, letting the agent anticipate the payload. It stops short of describing list size, ordering or whether templates are zone-specific vs global, minor gaps for a single-parameter read tool whose safety traits are already annotated.

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?

With one parameter at 100% schema coverage and its own description ('DNS zone ID', exclusiveMinimum 0), the schema does the heavy lifting; the description adds no format, type or sourcing detail about zone_id beyond what is already structured. Baseline 3 is appropriate here.

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?

States a specific verb (List) and resource (backend-defined DNS record templates) and scopes them to a 'native forward zone', with concrete examples (web service, Google Workspace, Null MX, CAA lockdown) that make the resource unambiguous. It does not explicitly name the sibling it complements (apply_dns_template), so an agent must infer the list-vs-apply distinction from the verb alone.

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?

The description implies usage (enumerate templates that a forward zone can adopt, presumably ahead of apply_dns_template) but never states when to call this versus alternatives or any preconditions beyond the zone type. 'For a native forward zone' is the only scoping guidance, and the when-not case is absent.

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