Skip to main content
Glama

Mailrun Agent Identity

Domain nameservers

get_domain_nameservers
Idempotent

The nameservers to delegate a root domain to. nameservers_required=false (always the case for a subdomain) means there is nothing to delegate: do not ask the user to change nameservers or add NS records. If none are assigned yet for a root domain this performs an upstream refresh and may answer 202 nameservers_pending with a receipt; each call is a refresh under the normal read quota. get_operation_status on the receipt is passive; another refresh is another call to this tool.

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_nameservers"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain name as returned by list_domains.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The description explains the surprising behavior behind readOnlyHint=false: an unassigned root domain triggers an upstream refresh and may return 202 nameservers_pending with a receipt. It adds quota context (each call is a refresh under the normal read quota) and states that polling the receipt is passive rather than triggering refresh — none of which the annotations convey.

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?

Dense but front-loaded: delegation semantics, the subdomain guardrail, the 202/receipt behavior, and the quota note each earn their place. The first sentence is a fragment and the run of clauses in the third sentence is packed, but no content is redundant.

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?

Covers the asynchronous edge case (202 + receipt), the correct follow-up tool, quota cost, and the no-op subdomain case, which is what an agent needs to call it safely. The success payload itself is only implied by the opening noun phrase rather than described, a minor gap given there is no output schema.

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 a single parameter at 100% schema coverage, the schema already documents 'domain' as the name returned by list_domains. The description adds only indirect meaning — that root vs. subdomain changes refresh behavior — without expanding on the parameter itself, so the baseline 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 opening sentence identifies the resource precisely — the nameservers a root domain is delegated to — and the rest distinguishes this tool's behavior from get_operation_status, which it names explicitly. It lacks an explicit verb phrase ("returns/retrieves"), so the read action is inferred from the name rather than stated, but an agent can still tell what it gets.

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

Usage Guidelines5/5

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

Gives concrete when/when-not guidance: when nameservers_required=false (always true for subdomains) the agent must not ask the user to change nameservers or add NS records. It also routes the agent between this tool and get_operation_status on the receipt, and clarifies that a further refresh requires another call here.

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.

Resources