Skip to main content
Glama

Renew a domain

renew_domain
Destructive

Renew a domain you own. Returns USDC payment requirements (402), or pay_with=balance to renew instantly from prepaid balance. dry_run=true previews quote, new expiry and blockers without charging.

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": "renew_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNopayment network (default base). hyperevm = HyperEVM (chain 999, USDC/USDT0), bsc = BNB Chain (56, 18-decimal USDC/USDT)
tokenNostablecoin (default USDC)
yearsNo
domainYes
api_keyNoOptional. Guest or dashboard API key (sd_live_…). Prefer Authorization: Bearer <key> on the MCP connection; if your client cannot set headers, pass the key here.
dry_runNopreview only, nothing charged
pay_withNo
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Optional. Guest or dashboard API key (sd_live_…). Prefer Authorization: Bearer <key> on the MCP connection; if your client cannot set headers, pass the key here.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "preview only, nothing charged",
      +  "type": "boolean"
      +}
  3. Changed3 schema fields changed
    • removedInput schema / properties / pay_with / description
      Removed value: -"crypto (default: USDC/USDT, x402 or transfer), balance (prepaid balance), or card: returns a single-use Stripe pay link that a person opens and pays; the agent does not pay by card itself"
    • changedInput schema / properties / pay_with / enum
      Previous value: -[
      -  "crypto",
      -  "balance",
      -  "card"
      -]New value: +[
      +  "crypto",
      +  "balance"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "body": {
      -      "type": [
      -        "object",
      -        "array",
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "card": {
      -      "properties": {
      -        "card_fee_usd": {
      -          "type": "string"
      -        },
      -        "card_pay_url": {
      -          "type": "string"
      -        },
      -        "code": {
      -          "enum": [
      -            "SCA_REQUIRED"
      -          ],
      -          "type": "string"
      -        },
      -        "message": {
      -          "type": "string"
      -        },
      -        "order_id": {
      -          "type": "string"
      -        },
      -        "price_usd": {
      -          "type": "string"
      -        },
      -        "status": {
      -          "enum": [
      -            "needs_human"
      -          ],
      -          "type": "string"
      -        },
      -        "total_usd": {
      -          "type": "string"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "http_status": {
      -      "type": "integer"
      -    },
      -    "order": {
      -      "properties": {
      -        "checkout_url": {
      -          "type": "string"
      -        },
      -        "domain": {
      -          "type": "string"
      -        },
      -        "id": {
      -          "type": "string"
      -        },
      -        "kind": {
      -          "type": "string"
      -        },
      -        "price_usd": {
      -          "type": "string"
      -        },
      -        "status": {
      -          "type": "string"
      -        },
      -        "years": {
      -          "type": "integer"
      -        }
      -      },
      -      "type": "object"
      -    }
      -  },
      -  "required": [
      -    "http_status",
      -    "body"
      -  ],
      -  "type": "object"
      -}New value: +null
  4. Changed3 schema fields changed
    • addedInput schema / properties / pay_with / description
      Added value: +"crypto (default: USDC/USDT, x402 or transfer), balance (prepaid balance), or card: returns a single-use Stripe pay link that a person opens and pays; the agent does not pay by card itself"
    • changedInput schema / properties / pay_with / enum
      Previous value: -[
      -  "crypto",
      -  "balance"
      -]New value: +[
      +  "crypto",
      +  "balance",
      +  "card"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "body": {
      +      "type": [
      +        "object",
      +        "array",
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "card": {
      +      "properties": {
      +        "card_fee_usd": {
      +          "type": "string"
      +        },
      +        "card_pay_url": {
      +          "type": "string"
      +        },
      +        "code": {
      +          "enum": [
      +            "SCA_REQUIRED"
      +          ],
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        },
      +        "order_id": {
      +          "type": "string"
      +        },
      +        "price_usd": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "enum": [
      +            "needs_human"
      +          ],
      +          "type": "string"
      +        },
      +        "total_usd": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "http_status": {
      +      "type": "integer"
      +    },
      +    "order": {
      +      "properties": {
      +        "checkout_url": {
      +          "type": "string"
      +        },
      +        "domain": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "kind": {
      +          "type": "string"
      +        },
      +        "price_usd": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "years": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "http_status",
      +    "body"
      +  ],
      +  "type": "object"
      +}
  5. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotentHint=false; the description adds genuinely new behavior: the first call returns 402 payment requirements rather than renewing, pay_with=balance charges a prepaid balance immediately, and dry_run previews quote/expiry/blockers without charging. It does not disclose that repeated calls are non-idempotent or why idempotency_key exists, which is a notable gap for a charged mutation.

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?

Two tight sentences, front-loaded with the core action and followed by the two decision-relevant flags. No filler; the parenthetical 402 is the only piece of jargon that costs the reader a beat.

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?

For a money-moving, destructive, non-idempotent tool with no output schema, the description covers the essential flow (quote → pay → renew) and the safe preview path. It stops short of describing failure modes (insufficient prepaid balance, domain not owned or past grace period) that an agent would want before charging.

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 only 50% schema coverage across 8 parameters, the description compensates for dry_run (previews quote, expiry, blockers) and pay_with (balance = instant charge), and implies the stablecoin/payment-network nature of token/chain. It says nothing about years, idempotency_key, or the domain parameter's expected format, leaving half the surface undocumented.

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?

States a specific verb and resource ('Renew a domain you own') and immediately explains the two execution modes (402 payment requirements vs. pay_with=balance). An agent can tell this apart from buy/transfer siblings, though it never explicitly contrasts with set_auto_renew or buy_with_balance.

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

Usage Guidelines3/5

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

It explains the modes of use (payment-required flow vs. prepaid balance, and dry_run for previewing) but gives no guidance on when this tool is preferred over siblings like set_auto_renew or buy_with_balance, nor any prerequisites such as ownership verification or sufficient balance.

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