Skip to main content
Glama

Register a domain, no account (live price in sats)

domain_register

Registers a domain for the registrant your user names. The answer gives the domain token (jdd_...) that manages it: Keep the domain token (jdd_) secret, and keep the payment proof you used (the l402 value or the cashu token): calling again with the same arguments and proof within 24 h shows the same token, and domain_token_recover with the proof replaces a lost token at any time. Paid, no account: without payment it answers payment_required with this order's price (valid 15 minutes), a Lightning invoice (L402) and a Cashu request, after every free check passed (no invoice otherwise). Pay only within what your user allowed, then call again with exactly the same arguments plus l402=':' or cashu='' (a Cashu token is melted into the service's Lightning wallet at once; if the mint does not pay, the token stays yours). Free quote first: domain_check.

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>",
      "registrant": "<registrant>",
      "attestation": "<attestation>"
    },
    "name": "domain_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
l402NoLightning payment proof for a retry: '<macaroon>:<preimage>', where macaroon comes from the payment_required answer of the previous call and preimage is the 64-hex proof your wallet returns after paying its invoice. Use it with the same tool and arguments.
cashuNoCashu token (cashuA... or cashuB...) worth at least the price, from an accepted mint (see info). Pays without a previous call.
yearsNoYears, 1 to 10 (default 1).
domainYesThe domain, e.g. example.com (an offered TLD: info, domains.tlds).
host_zoneNoAlso host the zone here for a year (the hosting add-on); the answer then has a zone token (jdz_) too.
owner_npubNoOptional Nostr key (npub1... or 64 hex) whose account owns the domain from payment on and gets expiry reminders. Without it the domain token alone manages the domain.
registrantYesThe registrant of record: the real person or organization your user is, never you and never placeholders. Required: name, email (must accept mail: the registrar asks to confirm it within 15 days), phone (+CC.NUMBER, e.g. +1.6045551234), address1, city, postal_code, country (ISO 3166 two letters). Optional: organization, address2, state.
attestationYestrue only after your user confirmed: 'I am authorised by the named registrant to register this domain for them, and the registrant accepts the registration agreement' (https://satsdns.com/registration-agreement).
nameserversNoYour own nameservers (2-13 host names); leave out to use ours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only mark it as a non-read-only, open-world, non-idempotent, non-destructive write. The description goes far beyond: no-account payment model, payment_required response shape, 15-minute price validity, no invoice unless free checks pass, Cashu melt-at-once risk and mint-failure refund behavior, and the secrecy requirement for the jdd_ token. The retry-with-proof note does not contradict idempotentHint=false, since the arguments differ by the added proof.

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?

Front-loaded with purpose, then payment flow, then safety notes; every sentence carries operational content. It is dense and parenthetical-heavy, and 'Paid, no account' partly restates the title, but there is little true filler.

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 9-parameter, nested-object, no-output-schema mutation with a multi-step payment protocol, the description covers the quote step, the payment handshake, retry semantics, token custody, and failure modes. An agent has enough to call it correctly and safely without additional documentation.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds workflow-level meaning: l402/cashu are retry credentials that must be paired with the identical prior arguments, and the Cashu token is melted immediately with the mint-failure consequence spelled out. It also frames the returned jdd_/jdz_ tokens tied to host_zone, which the schema alone does not connect.

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?

Opens with a specific verb+resource ('Registers a domain') and names the actor ('the registrant your user names'). It also explicitly separates itself from the free-quote sibling ('Free quote first: domain_check') and the recovery sibling ('domain_token_recover with the proof'), so an agent can route without opening a schema.

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 the full operating procedure: run domain_check first for a free quote, call this tool, pay only within the user's allowance, then call again with identical arguments plus l402 or cashu. It also states the fallback for a lost token (domain_token_recover) and the 24-hour retry window, leaving nothing to inference.

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