Skip to main content
Glama

getDnsRecord

Read-onlyIdempotent

getDnsRecord: Get details of a specific DNS record by id. Requires authentication. Get the recordId from listDnsRecords. Returns the record's name, type, content, TTL, and priority.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesFully qualified domain name the record belongs to, e.g. 'example.com'.
recordIdYesIdentifier of the record to fetch, as returned by listDnsRecords.
sessionKeyNoSession key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / domain / description
      Added value: +"Fully qualified domain name the record belongs to, e.g. 'example.com'."
    • addedInput schema / properties / recordId / description
      Added value: +"Identifier of the record to fetch, as returned by listDnsRecords."
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish the read-only/idempotent/safe profile, and the description adds beyond that by disclosing the authentication requirement and the exact return fields (name, type, content, TTL, priority). For a simple read operation with no output schema, this is solid, though it does not cover error/not-found behavior.

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?

All content is front-loaded: purpose in the first clause, then prerequisite, auth, and output. Each sentence carries distinct information, and no filler words are present.

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?

For a low-complexity, read-only getter with a complete input schema and no output schema, the description supplies the missing output fields, auth context, and ID sourcing. Nothing required to call the tool successfully is absent.

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 the structured descriptions already fully explain domain, recordId, and sessionKey. The description reinforces that recordId comes from listDnsRecords, but that fact is already in the schema, so no additional parameter meaning is added.

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?

States a specific verb ('Get') and resource ('details of a specific DNS record') scoped by 'id', which clearly separates it from list and mutation DNS tools among siblings. It also names where the ID comes from (listDnsRecords), reinforcing its role as the single-record read companion.

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?

Provides clear context by instructing the agent to obtain recordId from listDnsRecords and noting that authentication is required. It does not explicitly enumerate when-not-to-use alternatives, so it misses the top-tier 'exclusions vs alternatives' bar.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.