Skip to main content
Glama

List IPs and their reverse DNS

lw_reverse_dns
Read-onlyIdempotent

Lists assignable IPv4 addresses with current PTR records, server domains, and IDs, filtered by IP or partial domain, so you can verify PTR values before setting reverse DNS.

Instructions

List IPv4 addresses on the account that can have a PTR record, with the current PTR, the server's domain and uniq_id (bleed Network/DNS/Reverse/assignableIps). Filter by ip or a partial domain. Use before lw_reverse_dns_set, for example to match PTR to the mail server's HELO name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "lw_reverse_dns"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNoOnly this IP.
domainNoPartial match on the server domain or current PTR.
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description still adds real behavior beyond that: only assignable IPs are returned, and the response includes PTR, domain and uniq_id. The cryptic '(bleed Network/DNS/Reverse/assignableIps)' parenthetical is opaque jargon, and there is no word on pagination or result limits for an open-world listing.

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?

Two sentences, front-loaded with the resource and result fields, with the workflow hint last. The internal '(bleed Network/DNS/Reverse/assignableIps)' tag is noise that costs the reader without adding usable meaning.

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

Completeness5/5

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

With an output schema present, return values need not be explained, and annotations cover the safety profile; the description still supplies scope, filters and the natural follow-up tool. An agent can decide to call it, know what it returns, and know what to do next without opening anything else.

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%, so ip, domain and context are each described in the schema itself, including the partial-match semantics and the regex pattern. The description only restates 'Filter by ip or a partial domain', adding no syntax, default, or interaction detail beyond the structured fields. Baseline 3 applies when the schema carries the parameter burden.

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 and resource ('List IPv4 addresses on the account that can have a PTR record') and enumerates what comes back (current PTR, server domain, uniq_id). The 'can have a PTR record' qualifier scopes it away from a generic IP listing, though it never explicitly contrasts with the nearby lw_ip_list or lw_dns_lookup siblings.

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

Usage Guidelines4/5

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

Gives a concrete sequencing rule ('Use before lw_reverse_dns_set') plus a motivating example (matching PTR to the mail server's HELO name), which is exactly the kind of guidance an agent needs to place this in a workflow. It lacks any explicit when-not-to-use condition, keeping it short of a 5.

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