Skip to main content
Glama

Renew a domain registered here, no account (live price in sats)

domain_renew

Renews a domain registered here by 1-10 years; anyone may pay, no token needed or given. Domains without an owner account get no expiry reminders. 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>"
    },
    "name": "domain_renew"
  }
}

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).

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 this as a non-read-only, non-destructive, non-idempotent, open-world call; the description goes far beyond that by describing the payment_required response shape, the 15-minute price validity, the L402 and Cashu payment paths, and the Cashu melt risk ('if the mint does not pay, the token stays yours'). It also discloses a side effect not in annotations: ownerless domains get no expiry reminders.

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?

Purpose is front-loaded and no sentence is filler, but the body is a dense run-on of parentheticals mixing payment mechanics, reminders, and quoting. Slightly better paragraph breaks would make the retry flow easier to scan.

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?

With no output schema, the description compensates by describing the payment_required answer and what each credential yields, which is exactly what an agent needs to complete a paid call. Nothing essential for correct invocation is missing.

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; the description still adds value by tying l402 to the previous call's payment_required answer and by stating the cashu path pays 'without a previous call'. It reinforces but does not exceed the schema's own field descriptions substantially.

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?

The opening clause states a specific verb and resource ('Renews a domain registered here by 1-10 years') plus the scope qualifier that no account/token is involved. This separates it from registration and from the free domain_check sibling without needing to open the 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?

Explicitly directs the agent to call domain_check first for a free quote, and gives the exact retry condition ('call again with exactly the same arguments plus l402=... or cashu=...'). It also states the payment-gating rule: no invoice is issued until every free check passed.

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