Skip to main content
Glama

rent_domain

Rent a subdomain, paying per-transaction with USDC on Base (x402). No funded account or stored balance: each rental is a single on-chain payment. Requires agent authentication. Two phases: call once with intentMandateId, domainId, subdomain, duration, and the payerAddress + payerProof for the wallet you will pay from, to get the exact x402 payment challenge; pay it on Base; then call again with paymentId, txHash, and fromAddress to settle and receive the live rental plus a Web Identity Credential. Request an x402 payment challenge to rent a subdomain. Durations PT1H, PT4H, P1D, P7D, P30D. Returns the exact USDC amount and recipient on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
txHashNo(phase 2) The on-chain transaction hash of your USDC payment on Base.
domainIdYesThe unique ID of the domain to rent on
durationYesISO 8601 duration: PT1H (1 hour), PT4H (4 hours), P1D (1 day), P7D (1 week), P30D (30 days)
paymentIdNo(phase 2) The paymentId returned by the phase-1 challenge.
subdomainYesThe subdomain label to rent (e.g., 'myproject' for myproject.example.com)
payerProofNo(phase 1) EIP-191 personal_sign signature proving control of payerAddress. Always required with payerAddress.
fromAddressNo(phase 2) The wallet you paid from (must match the challenge's bound payer).
payerAddressNo(phase 1) The 0x wallet you will pay from. Required on every challenge; a wallet registered on your Sigil does not substitute for it.
intentMandateIdYesThe ID of the active Intent Mandate authorizing this purchase
payerProofIssuedAtNo(phase 1, optional) ISO 8601 timestamp of the payerProof, within 5 minutes of the request.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nextNo
reasonNo
rentalNo
statusNo
paymentNo
rentalIdNo
settleUrlNo
credentialNo
provisioningNo
tierProgressionNoCurrent enforced trust tier and when it is next evaluated. Present only once an identity exists.
sigilEligibilityNoIdentity standing: lifecycle status, canary screen result, and any hard gates.
identityConfidenceNoHow firmly this identity is bound: unbound, bound to a key, or backed by a verified sponsor.

TDQS

A4.6/5.0
Behavior5/5

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

Given annotations only signal readOnly=false and idempotent=false, the description supplies the critical behavioral model: a two-phase protocol where the tool returns an x402 payment challenge, the agent pays on Base, and a second call settles. It also discloses that no funded account is needed and that payment is a single on-chain transaction, which is exactly the kind of context annotations cannot 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?

The description is dense and roughly front-loaded, with the core purpose and payment model in the first sentence followed by a scannable phase walkthrough. It contains minor redundancy ('Request an x402 payment challenge' restates the mechanism, and durations repeat the schema enum), but every other sentence earns its place.

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 10-parameter, two-phase paid operation, the description is remarkably complete: it covers authentication, the exact phase-1 fields, the on-chain payment step, phase-2 settlement fields, and the outputs. It also supplies enough procedural detail for an agent to call it correctly despite the schema's required-field list omitting the phase-1 payer fields.

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?

The schema already documents each parameter at 100% coverage, so the description is not the primary source. It adds useful phase grouping—which parameters belong to the challenge call versus the settlement call—and reinforces that payerProof must accompany payerAddress and fromAddress must match the bound payer. This lifts it above the baseline but relies somewhat on schema-level detail.

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 description opens with a specific verb and resource—'Rent a subdomain'—and immediately distinguishes the tool by payment model: per-transaction USDC on Base via x402, no stored balance. It also clarifies the end state (live rental plus Web Identity Credential), so an agent can tell it apart from sibling lookup/trial/price tools.

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

Usage Guidelines4/5

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

It clearly states when to use the tool (to rent a subdomain) and the prerequisites: agent authentication, an active intentMandateId, and a payer wallet. It does not explicitly name alternatives such as try_domain or check_availability, so it stops short of full exclusion-based guidance.

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.

TDQS

A4/5.0
Disambiguation4/5

The tools cover distinct phases of the domain rental workflow: searching, checking availability, quoting, renting, and trial management. However, search_domains and check_availability overlap slightly (both deal with availability), and answer_trial_canary is a step within the trial flow that could be confused with try_domain. Descriptions help clarify, but there's minor ambiguity.

Naming Consistency5/5

All tool names use consistent snake_case with a verb_noun pattern (check_availability, get_price_quote, rent_domain, search_domains, try_domain, upgrade_trial, answer_trial_canary). The pattern is uniform and predictable.

Tool Count5/5

7 tools is well-scoped for a domain rental service covering discovery, pricing, acquisition, and trial conversion. Each tool serves a clear purpose without redundancy.

Completeness3/5

The set covers the entire acquisition lifecycle from search to paid rental, including a trial path. However, there's no tool for managing existing rentals (e.g., listing own domains, extending, or canceling), which is a notable gap for a rental service.