Skip to main content
Glama

Get a domain

get_domain
Read-only

Retrieve a domain's hosts, current and required DNS records, state, renewal details, and history to audit or troubleshoot DNS and domain configuration.

Instructions

A domain's hosts and states, the DNS records to add with what DNS shows now, renewal details and history.

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": {
      "domain": "<domain>"
    },
    "name": "get_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain id or name
workspaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value by naming the returned facets (hosts/states, desired vs. observed DNS, renewal history), which is important since there is no output schema — but it says nothing about failure modes, pagination, or freshness of the DNS data.

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 compact sentence with no filler, front-loading the most distinctive payload (hosts/states, DNS diff, renewal). It is grammatical as a fragment rather than a clause, which slightly weakens clarity but wastes nothing.

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

Completeness3/5

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

With no output schema, the description must carry the return-value burden, and it does partially by listing the data sections returned. However, for a detail-fetch tool with an undocumented 'workspace' parameter, the definition leaves gaps an agent would want closed before calling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%: 'domain' is documented ('Domain id or name') but 'workspace' has no description in either the schema or the description text. The description adds no parameter meaning at all, so it fails to compensate for the uncovered workspace parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun phrase enumerating returned data ('hosts and states', 'DNS records', 'renewal details and history') rather than stating a verb, so the retrieval action is only implied by the title. The content enumeration does help distinguish it from list_domains/search_domains, but it never contrasts with check_domain or connect_domain, which share the 'domain' subject.

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 statement and no alternatives named, despite four sibling tools operating on domains (list_domains, search_domains, check_domain, connect_domain). An agent must infer from the noun list that this is the detail-fetch counterpart to listing/searching.

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