Menu

MCP: names

Free names: a site from storage under weird's own domains

Toolsetnames (default)
Tools6
Permissions granted by weird mcp setupnames:read, names:write
With --read-onlynames:read
Turn it onon by default

weird_names_bases#

Free name bases and rules. List the weird domains free names are claimed under (open or closed), the label rules, the limits per account, and the periods: idle days before release, notice days, quarantine days. Small credit charge per successful request (charge key names.reads per_request in weird_credits_charges); failed calls are free. Read it before offering a free name, to tell the user these periods.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistFreeNameBases

No arguments.

weird_names_check#

Check a free name. Say whether a label (such as ana) can be claimed as a free name under a base now, and if not why: reserved, not allowed, taken, already the user's, recently released, or a closed base. Small credit charge per successful request (charge key names.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallscheckFreeName

Arguments:

  • base, string — an open base from weird_names_bases; leave it out for the first open one
  • label, string, required — one label: letters a-z, digits and inner hyphens, such as ana

weird_names_list#

List free names. List the user's free names with their state (claimed with nothing on it, serving a site, held under review) and, while nothing is attached, when each would be released. Small credit charge per successful request (charge key names.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistFreeNames

No arguments.

weird_names_get#

Free name details. Show one of the user's free names by id: state, claim and first-serving dates, the storage hostname serving it, and the release date if nothing is attached. Small credit charge per successful request (charge key names.reads per_request in weird_credits_charges); failed calls are free. Ids are in weird_names_list.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallsgetFreeName

Arguments:

  • id, string, required — the free name's id, from weird_names_list

weird_names_claim#

Claim a free name. Claim a free name for the user, to put a site from their storage on with weird_storage_domain_attach (the name as hostname); it is not a domain they hold. COSTS CREDITS: charge key names.free-claim (quote it from weird_credits_charges). Before confirming, tell the user plainly: the name is lent, not sold, and not theirs the way a registered domain is; with nothing attached it is released after the idle period (they are told first), and after any release nobody may claim it for the quarantine period; only a site from their storage can go on it, no other records and no mail. Check it with weird_names_check first.

Changes somethingyes
Needs confirmed: trueyes (costs credits)
Call firstweird_names_check
CallsclaimFreeName

Arguments:

  • base, string — an open base from weird_names_bases; leave it out for the first open one
  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • label, string, required — one label: letters a-z, digits and inner hyphens, such as ana

weird_names_release#

Release a free name. Give one of the user's free names back: the site on it stops being served (the content stays in storage) and nobody, the user included, may claim it again during the quarantine. Free. Cannot be undone. To keep the site, serve that content at a hostname of a domain the user holds (weird_storage_domain_attach) before releasing.

Changes somethingyes
Needs confirmed: trueyes (cannot be undone)
CallsreleaseFreeName

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • id, string, required — the free name's id, from weird_names_list
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used

This page is generated from the weird CLI; it changes when the CLI does.