Skip to main content
Glama

Search domain availability

search_domains
Read-onlyIdempotent

Use this when the user asks whether a domain name is available or what it costs to register: call it directly with the names, with no account and no confirmation needed. That includes a name for a site the user built, or is building, with ChatGPT Sites. Read-only availability and pricing lookup for domain names, and the first step of buying one from the chat: the call itself creates no order and charges nothing. Preferred input: domains, 1 to 200 fully-qualified names (e.g. ['acme.com', 'acme.io']); results cover exactly those domains. When every one is taken, alternatives lists any of the same labels on other endings that are available to buy here, each with a checkout_url; it is often empty. Fallback input: query, free text (one or more names, comma- or space-separated); names given without a TLD are expanded to popular TLDs (com/io/ai/co/net). Each result includes whether the domain is available, whether it is a premium name, the registration price and the renewal price. Both prices are totals for one full registration term of that ending, not per-year rates: one year on most endings, but two years on .ai, whose registry mandates a two-year term. Do not divide or multiply a returned price by a number of years. Available non-premium results also carry a checkout_url: give it to the user to buy the name, and they confirm and pay on justdomain.ai in their browser. Premium names cannot be registered through Just Domain yet and carry no checkout_url.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_domains"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoFree-text fallback when exact FQDNs aren't known: one or more names, comma- or space-separated. Names without a TLD are expanded to popular TLDs (com/io/ai/co/net). Ignored when `domains` is provided.
domainsNoFully-qualified domains to check, e.g. ['acme.com', 'acme.io', 'acme.ai']. Each entry must include the TLD. Maximum 200 per request. Preferred over `query`.

Output Schema

NameRequiredDescriptionDefault
errorNoSet when the search could not be completed (e.g. invalid query, provider failure).
domainsYesThe exact domains requested by the caller, echoed back.
resultsYes
warningsNo
next_actionNoAn instruction for the assistant reading this response, or the string 'none' when there is nothing extra to do. It is set in two cases. When no requested domain and no alternative in this response can be registered through Just Domain, it tells you how to search again. When at least one domain carries a `checkout_url`, it tells you to make the name of each such domain you mention in your reply a clickable link to its `checkout_url`. When it is not 'none', carry it out in this same turn before or while replying to the user; it is written to be executable as-is.none
alternativesNoAvailable domains the caller did not ask about, offered only when every requested domain came back unavailable. Same label the caller typed, on a different ending; nothing is invented and nothing here duplicates a name in `results`. Every entry is available, non-premium and carries a `checkout_url`, so it can be offered to the user directly. Empty is not an error. It means one of three things: recovery is switched off for this deployment, or the search was not a dead end, or the same label is taken on the other endings too, which is the normal outcome for a common dictionary word. Do not tell the user that other endings were checked unless this list is non-empty. Do not re-check these; they were checked live in this same call.
error_messageNo
component_hintNodomain_search_results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / next_action / description
      Previous value: -"An instruction for the assistant reading this response, or the string 'none' when there is nothing extra to do. It is set only when no requested domain and no alternative in this response can be registered through Just Domain. When it is not 'none', carry it out in this same turn before replying to the user; it is written to be executable as-is."New value: +"An instruction for the assistant reading this response, or the string 'none' when there is nothing extra to do. It is set in two cases. When no requested domain and no alternative in this response can be registered through Just Domain, it tells you how to search again. When at least one domain carries a `checkout_url`, it tells you to make the name of each such domain you mention in your reply a clickable link to its `checkout_url`. When it is not 'none', carry it out in this same turn before or while replying to the user; it is written to be executable as-is."
  2. Changed2 schema fields changed
    • removedOutput schema / properties / next_action / const
      Removed value: -"none"
    • addedOutput schema / properties / next_action / description
      Added value: +"An instruction for the assistant reading this response, or the string 'none' when there is nothing extra to do. It is set only when no requested domain and no alternative in this response can be registered through Just Domain. When it is not 'none', carry it out in this same turn before replying to the user; it is written to be executable as-is."
  3. Changed2 schema fields changed
    • addedOutput schema / properties / alternatives
      Added value: +{
      +  "description": "Available domains the caller did not ask about, offered only when every requested domain came back unavailable. Same label the caller typed, on a different ending; nothing is invented and nothing here duplicates a name in `results`. Every entry is available, non-premium and carries a `checkout_url`, so it can be offered to the user directly. Empty is not an error. It means one of three things: recovery is switched off for this deployment, or the search was not a dead end, or the same label is taken on the other endings too, which is the normal outcome for a common dictionary word. Do not tell the user that other endings were checked unless this list is non-empty. Do not re-check these; they were checked live in this same call.",
      +  "items": {
      +    "properties": {
      +      "available": {
      +        "type": "boolean"
      +      },
      +      "checkout_url": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "URL on the Just Domain website where the user completes payment. Set for available domains we can actually register; null for unavailable ones, for premium names (the checkout API refuses them), and for endings whose registry requires registrant data we cannot supply yet. The MCP tool handler fills this in after the bare service call so the UI widget's Buy button can open checkout directly in one click."
      +      },
      +      "fqdn": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "premium": {
      +        "default": false,
      +        "type": "boolean"
      +      },
      +      "price": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "amount_minor": {
      +                "description": "Amount in the smallest currency unit (e.g. cents).",
      +                "type": "integer"
      +              },
      +              "currency": {
      +                "description": "ISO-4217 currency code.",
      +                "maxLength": 3,
      +                "minLength": 3,
      +                "type": "string"
      +              },
      +              "formatted": {
      +                "description": "Human-readable price, e.g. '$12.99'.",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "amount_minor",
      +              "currency",
      +              "formatted"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Registration price: the total for ONE full registration term of this ending, not a per-year rate. One year on most endings; two years on .ai, whose registry mandates a two-year term."
      +      },
      +      "renewal_price": {
      +        "anyOf": [
      +          {
      +            "properties": {
      +              "amount_minor": {
      +                "description": "Amount in the smallest currency unit (e.g. cents).",
      +                "type": "integer"
      +              },
      +              "currency": {
      +                "description": "ISO-4217 currency code.",
      +                "maxLength": 3,
      +                "minLength": 3,
      +                "type": "string"
      +              },
      +              "formatted": {
      +                "description": "Human-readable price, e.g. '$12.99'.",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "amount_minor",
      +              "currency",
      +              "formatted"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Renewal price: the total for ONE further registration term, on the same basis as `price`. What a later term would cost at today's rate, not a figure anyone has been charged or quoted for a specific renewal. An owner renews, and turns auto-renew on or off, on their own dashboard at https://justdomain.ai/dashboard, which is the only authoritative source for one domain's renewal state."
      +      },
      +      "requires_additional_data": {
      +        "anyOf": [
      +          {
      +            "type": "boolean"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "description": "Does this ending's registry demand registrant data beyond standard contact details - a nexus declaration, a national ID, a professional credential? TRI-STATE: true / false / null = we do not know. Just Domain cannot collect or submit that data yet, so a true (or unknown) value means the name is reported honestly but carries no `checkout_url`."
      +      },
      +      "status": {
      +        "description": "Raw provider status, e.g. 'free', 'active', 'premium'.",
      +        "type": "string"
      +      },
      +      "term_years": {
      +        "default": 1,
      +        "description": "Length in years of ONE registration term for this ending, and therefore the period `price` and `renewal_price` each cover. 1 on most endings; 2 on .ai, whose registry mandates a two-year term with no one-year option. Read this before describing any price as annual.",
      +        "type": "integer"
      +      },
      +      "tld": {
      +        "type": "string"
      +      },
      +      "warnings": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "fqdn",
      +      "name",
      +      "tld",
      +      "available",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / results / items / properties / renewal_price / description
      Previous value: -"Renewal price: the total for ONE further registration term, on the same basis as `price`. What a later term would cost at today's rate; Just Domain does not yet run renewals."New value: +"Renewal price: the total for ONE further registration term, on the same basis as `price`. What a later term would cost at today's rate, not a figure anyone has been charged or quoted for a specific renewal. An owner renews, and turns auto-renew on or off, on their own dashboard at https://justdomain.ai/dashboard, which is the only authoritative source for one domain's renewal state."
  4. Changed2 schema fields changed
    • changedOutput schema / properties / results / items / properties / checkout_url / description
      Previous value: -"URL on the Just Domain website where the user completes payment. Set for available domains we can actually register; null for unavailable ones and for premium names, which the checkout API refuses. The MCP tool handler fills this in after the bare service call so the UI widget's Buy button can open checkout directly in one click."New value: +"URL on the Just Domain website where the user completes payment. Set for available domains we can actually register; null for unavailable ones, for premium names (the checkout API refuses them), and for endings whose registry requires registrant data we cannot supply yet. The MCP tool handler fills this in after the bare service call so the UI widget's Buy button can open checkout directly in one click."
    • addedOutput schema / properties / results / items / properties / requires_additional_data
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Does this ending's registry demand registrant data beyond standard contact details - a nexus declaration, a national ID, a professional credential? TRI-STATE: true / false / null = we do not know. Just Domain cannot collect or submit that data yet, so a true (or unknown) value means the name is reported honestly but carries no `checkout_url`."
      +}
  5. Changed3 schema fields changed
    • changedOutput schema / properties / results / items / properties / price / description
      Previous value: -"First-year registration price."New value: +"Registration price: the total for ONE full registration term of this ending, not a per-year rate. One year on most endings; two years on .ai, whose registry mandates a two-year term."
    • changedOutput schema / properties / results / items / properties / renewal_price / description
      Previous value: -"Annual renewal price (charged each year after registration)."New value: +"Renewal price: the total for ONE further registration term, on the same basis as `price`. What a later term would cost at today's rate; Just Domain does not yet run renewals."
    • addedOutput schema / properties / results / items / properties / term_years
      Added value: +{
      +  "default": 1,
      +  "description": "Length in years of ONE registration term for this ending, and therefore the period `price` and `renewal_price` each cover. 1 on most endings; 2 on .ai, whose registry mandates a two-year term with no one-year option. Read this before describing any price as annual.",
      +  "type": "integer"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / properties / results / items / properties / checkout_url / description
      Previous value: -"URL on the Just Domain website where the user completes payment. Set for available domains; null for unavailable. The MCP tool handler fills this in after the bare service call so the UI widget's Buy button can open checkout directly in one click."New value: +"URL on the Just Domain website where the user completes payment. Set for available domains we can actually register; null for unavailable ones and for premium names, which the checkout API refuses. The MCP tool handler fills this in after the bare service call so the UI widget's Buy button can open checkout directly in one click."
  7. Changed9 schema fields changed
    • addedInput schema / properties / domains / anyOf
      Added value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 200,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / domains / default
      Added value: +null
    • changedInput schema / properties / domains / description
      Previous value: -"Fully-qualified domains to check, e.g. ['acme.com', 'acme.io', 'acme.ai']. Each entry must include the TLD. Maximum 200 per request."New value: +"Fully-qualified domains to check, e.g. ['acme.com', 'acme.io', 'acme.ai']. Each entry must include the TLD. Maximum 200 per request. Preferred over `query`."
    • removedInput schema / properties / domains / items
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / domains / maxItems
      Removed value: -200
    • removedInput schema / properties / domains / minItems
      Removed value: -1
    • removedInput schema / properties / domains / type
      Removed value: -"array"
    • addedInput schema / properties / query
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Free-text fallback when exact FQDNs aren't known: one or more names, comma- or space-separated. Names without a TLD are expanded to popular TLDs (com/io/ai/co/net). Ignored when `domains` is provided."
      +}
    • removedInput schema / required
      Removed value: -[
      -  "domains"
      -]
  8. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Well beyond the annotations, it discloses that the call creates no order, charges nothing, and needs no account, which matters for the 'no confirmation' claim. It also explains the downstream contract: `checkout_url` is handed to the user who confirms and pays in the browser, and premium names cannot be registered yet and carry no URL.

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 the trigger, then the preferred input, then the fallback, then the return semantics and the pricing caveat — a logical order. Some material restates the schema (the 1-to-200 limit, TLD expansion), which costs a little length, but almost every sentence carries usable information.

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?

Despite a simple two-parameter schema, the description covers the full picture an agent needs: result fields (availability, premium flag, registration and renewal price), the `alternatives` array, `checkout_url` handling, and the non-obvious .ai two-year term pricing rule. Nothing material is left to inference.

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 already 100%, so the parameters are documented. The description still adds meaning the schema lacks: that `results` covers exactly the domains submitted, that `alternatives` only appears when all names are taken, and that TLD-less names expand to com/io/ai/co/net and are ignored when `domains` is set.

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?

States a specific verb and resource ('read-only availability and pricing lookup for domain names') plus its role in a larger flow ('the first step of buying one from the chat'). An agent can immediately distinguish it from check_domain_transfer and check_trademark based on the resource and operation described.

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?

Opens with an explicit trigger ('when the user asks whether a domain name is available or what it costs to register') and adds that no account or confirmation is required, so an agent need not hedge. It also gives explicit selection rules between the two inputs: `domains` is preferred, `query` is the fallback for names without known exact FQDNs.

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.