Skip to main content
Glama

Get a DNS record

lw_record_details
Read-onlyIdempotent

Retrieve one DNS record by ID and return parsed fields such as MX exchange and weight plus SRV port and target for accurate inspection.

Instructions

Get one DNS record by id (v1 Network/DNS/Record/details), including parsed fields such as exchange for MX or weight, port and target for SRV.

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": {
      "id": "<id>"
    },
    "name": "lw_record_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRecord id from lw_record_list.
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

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so safety is covered. The description adds genuine value beyond them by disclosing that the response includes parsed/decoded fields (exchange for MX, weight, port and target for SRV), which tells the agent what shape of data to expect.

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?

A single front-loaded sentence stating the operation, the identifier, the endpoint, and the notable response fields. There is no filler or redundancy.

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?

With rich annotations, full schema coverage and an output schema present, the description needn't explain return values or safety, and it correctly focuses on distinguishing the call and noting parsed fields. It is nearly complete; only explicit routing guidance versus siblings like lw_record_list or lw_dns_lookup is missing.

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 the id (record id from lw_record_list) and context (auth context name, omit for default) fully documented in the schema. The description adds no additional meaning about either parameter, so the baseline of 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 uses a specific verb and resource ('Get one DNS record by id') and pins it to an API path (v1 Network/DNS/Record/details), which clearly separates it from a listing tool like lw_record_list. It stops short of naming a sibling or stating an explicit contrast, so it lands just below the top score.

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 only implied: the single-record-by-id framing suggests it is the follow-up to a list call, and the schema's id description points at lw_record_list. There is no explicit when-to-use/when-not-to-use statement, nor a named alternative such as lw_dns_lookup for resolution queries.

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