Skip to main content
Glama

Create company

well_create_company

Create a new company in the current workspace.

Use this tool when the user asks to create, add, or register a new company.

REQUIRED: name OPTIONAL: description, domain, is_company, registry_ref

Pass domain when the person gives the company's website or e-mail domain ("with the domain acme.com"): Well stores it, so a later search of the company's mail (well_list_project_files) reads the mail sent from it.

Well treats registry search results as candidates. Pass registry_ref (the id of a well_search_company_registry hit) only when the person picked that registry entry. Without that pick, the company is saved by name alone and registry_match is null.

A name that is the full name of a person already held in the workspace, with no legal form, company number or website, is refused: bill that person instead (well_define_customer with entity_kind person). Pass is_company true only when the user says it is a company.

When a company_name_near_match refusal lists candidates, ask whether the person meant one and write nothing. If yes, use that company's company_id. If no, retry with every listed company_id in distinct_from_company_ids.

After creation, enrichment (logo, domain, industry, tax ID, description fill-in) runs asynchronously in the background. The new company is available immediately for follow-up actions, but enriched fields may take a few seconds to populate — re-query after a brief delay to see them.

Returns { success: true, company_id, name, registry_match } on success, or { success: false, error } on failure.

Input Schema

NameRequiredDescriptionDefault
nameYesCompany name (required)
domainNoThe company's website or e-mail domain (acme.com), only when the person gives it. Well stores the host and matches the company's mail by it. Never a free-mail or platform domain such as gmail.com: leave domain out then.
addressNoRegistered office address entered by the person.
is_companyNoTrue only when the user says this name is a company, although a person of the workspace carries it
descriptionNoBrief company description
registry_refNoThe registry search result explicitly selected by the person. The server hydrates its legal facts.
workspace_idNoTarget workspace. Omit when the token authorizes one workspace. Required when it authorizes several — a write lands in exactly one workspace and this call would not say which.
conversation_idNoThe conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.
idempotency_keyNoOptional client-supplied key. A retried write with the same key returns the original result instead of re-applying the operation.
registered_nameNoLegal name entered by the person; does not verify an identity by itself.
workspace_scopeNoRestrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.
registered_valueNoCompany registration number entered by the person.
registry_countryNoCountry that issued the company registration number.
distinct_from_company_idsNoEvery live company id returned as a near-name candidate, only when the person says this is a different company

Output Schema

NameRequiredDescriptionDefault
codeNo
nameNo
errorNo
successYes
company_idNo
reply_linesNo
registry_matchNo
conversation_idNoThe conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.
near_candidatesNo
newly_connectedNoTools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.
conversation_id_noteNoPresent only when the server opened a fresh lane, stating that no choice recorded earlier was read.
conversation_id_sourceNoWhere the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.
near_candidates_truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / distinct_from_company_ids
      Added value: +{
      +  "description": "Every live company id returned as a near-name candidate, only when the person says this is a different company",
      +  "items": {
      +    "format": "uuid",
      +    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / code
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / near_candidates
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "company_id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "company_id",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / near_candidates_truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / registry_match / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "city": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "registered_value": {
      -        "type": "string"
      -      },
      -      "registry_country": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "AD",
      -              "AE",
      -              "AF",
      -              "AG",
      -              "AI",
      -              "AL",
      -              "AM",
      -              "AO",
      -              "AQ",
      -              "AR",
      -              "AS",
      -              "AT",
      -              "AU",
      -              "AW",
      -              "AX",
      -              "AZ",
      -              "BA",
      -              "BB",
      -              "BD",
      -              "BE",
      -              "BF",
      -              "BG",
      -              "BH",
      -              "BI",
      -              "BJ",
      -              "BL",
      -              "BM",
      -              "BN",
      -              "BO",
      -              "BQ",
      -              "BR",
      -              "BS",
      -              "BT",
      -              "BV",
      -              "BW",
      -              "BY",
      -              "BZ",
      -              "CA",
      -              "CC",
      -              "CD",
      -              "CF",
      -              "CG",
      -              "CH",
      -              "CI",
      -              "CK",
      -              "CL",
      -              "CM",
      -              "CN",
      -              "CO",
      -              "CR",
      -              "CU",
      -              "CV",
      -              "CW",
      -              "CX",
      -              "CY",
      -              "CZ",
      -              "DE",
      -              "DJ",
      -              "DK",
      -              "DM",
      -              "DO",
      -              "DZ",
      -              "EC",
      -              "EE",
      -              "EG",
      -              "EH",
      -              "ER",
      -              "ES",
      -              "ET",
      -              "FI",
      -              "FJ",
      -              "FK",
      -              "FM",
      -              "FO",
      -              "FR",
      -              "GA",
      -              "GB",
      -              "GD",
      -              "GE",
      -              "GF",
      -              "GG",
      -              "GH",
      -              "GI",
      -              "GL",
      -              "GM",
      -              "GN",
      -              "GP",
      -              "GQ",
      -              "GR",
      -              "GS",
      -              "GT",
      -              "GU",
      -              "GW",
      -              "GY",
      -              "HK",
      -              "HM",
      -              "HN",
      -              "HR",
      -              "HT",
      -              "HU",
      -              "ID",
      -              "IE",
      -              "IL",
      -              "IM",
      -              "IN",
      -              "IO",
      -              "IQ",
      -              "IR",
      -              "IS",
      -              "IT",
      -              "JE",
      -              "JM",
      -              "JO",
      -              "JP",
      -              "KE",
      -              "KG",
      -              "KH",
      -              "KI",
      -              "KM",
      -              "KN",
      -              "KP",
      -              "KR",
      -              "KW",
      -              "KY",
      -              "KZ",
      -              "LA",
      -              "LB",
      -              "LC",
      -              "LI",
      -              "LK",
      -              "LR",
      -              "LS",
      -              "LT",
      -              "LU",
      -              "LV",
      -              "LY",
      -              "MA",
      -              "MC",
      -              "MD",
      -              "ME",
      -              "MF",
      -              "MG",
      -              "MH",
      -              "MK",
      -              "ML",
      -              "MM",
      -              "MN",
      -              "MO",
      -              "MP",
      -              "MQ",
      -              "MR",
      -              "MS",
      -              "MT",
      -              "MU",
      -              "MV",
      -              "MW",
      -              "MX",
      -              "MY",
      -              "MZ",
      -              "NA",
      -              "NC",
      -              "NE",
      -              "NF",
      -              "NG",
      -              "NI",
      -              "NL",
      -              "NO",
      -              "NP",
      -              "NR",
      -              "NU",
      -              "NZ",
      -              "OM",
      -              "PA",
      -              "PE",
      -              "PF",
      -              "PG",
      -              "PH",
      -              "PK",
      -              "PL",
      -              "PM",
      -              "PN",
      -              "PR",
      -              "PS",
      -              "PT",
      -              "PW",
      -              "PY",
      -              "QA",
      -              "RE",
      -              "RO",
      -              "RS",
      -              "RU",
      -              "RW",
      -              "SA",
      -              "SB",
      -              "SC",
      -              "SD",
      -              "SE",
      -              "SG",
      -              "SH",
      -              "SI",
      -              "SJ",
      -              "SK",
      -              "SL",
      -              "SM",
      -              "SN",
      -              "SO",
      -              "SR",
      -              "SS",
      -              "ST",
      -              "SV",
      -              "SX",
      -              "SY",
      -              "SZ",
      -              "TC",
      -              "TD",
      -              "TF",
      -              "TG",
      -              "TH",
      -              "TJ",
      -              "TK",
      -              "TL",
      -              "TM",
      -              "TN",
      -              "TO",
      -              "TR",
      -              "TT",
      -              "TV",
      -              "TW",
      -              "TZ",
      -              "UA",
      -              "UG",
      -              "UM",
      -              "US",
      -              "UY",
      -              "UZ",
      -              "VA",
      -              "VC",
      -              "VE",
      -              "VG",
      -              "VI",
      -              "VN",
      -              "VU",
      -              "WF",
      -              "WS",
      -              "YE",
      -              "YT",
      -              "ZA",
      -              "ZM",
      -              "ZW"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "registered_value",
      -      "registry_country",
      -      "address",
      -      "city"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "address": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "city": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "registered_value": {
      +        "type": "string"
      +      },
      +      "registry_country": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "AD",
      +              "AE",
      +              "AF",
      +              "AG",
      +              "AI",
      +              "AL",
      +              "AM",
      +              "AO",
      +              "AQ",
      +              "AR",
      +              "AS",
      +              "AT",
      +              "AU",
      +              "AW",
      +              "AX",
      +              "AZ",
      +              "BA",
      +              "BB",
      +              "BD",
      +              "BE",
      +              "BF",
      +              "BG",
      +              "BH",
      +              "BI",
      +              "BJ",
      +              "BL",
      +              "BM",
      +              "BN",
      +              "BO",
      +              "BQ",
      +              "BR",
      +              "BS",
      +              "BT",
      +              "BV",
      +              "BW",
      +              "BY",
      +              "BZ",
      +              "CA",
      +              "CC",
      +              "CD",
      +              "CF",
      +              "CG",
      +              "CH",
      +              "CI",
      +              "CK",
      +              "CL",
      +              "CM",
      +              "CN",
      +              "CO",
      +              "CR",
      +              "CU",
      +              "CV",
      +              "CW",
      +              "CX",
      +              "CY",
      +              "CZ",
      +              "DE",
      +              "DJ",
      +              "DK",
      +              "DM",
      +              "DO",
      +              "DZ",
      +              "EC",
      +              "EE",
      +              "EG",
      +              "EH",
      +              "ER",
      +              "ES",
      +              "ET",
      +              "FI",
      +              "FJ",
      +              "FK",
      +              "FM",
      +              "FO",
      +              "FR",
      +              "GA",
      +              "GB",
      +              "GD",
      +              "GE",
      +              "GF",
      +              "GG",
      +              "GH",
      +              "GI",
      +              "GL",
      +              "GM",
      +              "GN",
      +              "GP",
      +              "GQ",
      +              "GR",
      +              "GS",
      +              "GT",
      +              "GU",
      +              "GW",
      +              "GY",
      +              "HK",
      +              "HM",
      +              "HN",
      +              "HR",
      +              "HT",
      +              "HU",
      +              "ID",
      +              "IE",
      +              "IL",
      +              "IM",
      +              "IN",
      +              "IO",
      +              "IQ",
      +              "IR",
      +              "IS",
      +              "IT",
      +              "JE",
      +              "JM",
      +              "JO",
      +              "JP",
      +              "KE",
      +              "KG",
      +              "KH",
      +              "KI",
      +              "KM",
      +              "KN",
      +              "KP",
      +              "KR",
      +              "KW",
      +              "KY",
      +              "KZ",
      +              "LA",
      +              "LB",
      +              "LC",
      +              "LI",
      +              "LK",
      +              "LR",
      +              "LS",
      +              "LT",
      +              "LU",
      +              "LV",
      +              "LY",
      +              "MA",
      +              "MC",
      +              "MD",
      +              "ME",
      +              "MF",
      +              "MG",
      +              "MH",
      +              "MK",
      +              "ML",
      +              "MM",
      +              "MN",
      +              "MO",
      +              "MP",
      +              "MQ",
      +              "MR",
      +              "MS",
      +              "MT",
      +              "MU",
      +              "MV",
      +              "MW",
      +              "MX",
      +              "MY",
      +              "MZ",
      +              "NA",
      +              "NC",
      +              "NE",
      +              "NF",
      +              "NG",
      +              "NI",
      +              "NL",
      +              "NO",
      +              "NP",
      +              "NR",
      +              "NU",
      +              "NZ",
      +              "OM",
      +              "PA",
      +              "PE",
      +              "PF",
      +              "PG",
      +              "PH",
      +              "PK",
      +              "PL",
      +              "PM",
      +              "PN",
      +              "PR",
      +              "PS",
      +              "PT",
      +              "PW",
      +              "PY",
      +              "QA",
      +              "RE",
      +              "RO",
      +              "RS",
      +              "RU",
      +              "RW",
      +              "SA",
      +              "SB",
      +              "SC",
      +              "SD",
      +              "SE",
      +              "SG",
      +              "SH",
      +              "SI",
      +              "SJ",
      +              "SK",
      +              "SL",
      +              "SM",
      +              "SN",
      +              "SO",
      +              "SR",
      +              "SS",
      +              "ST",
      +              "SV",
      +              "SX",
      +              "SY",
      +              "SZ",
      +              "TC",
      +              "TD",
      +              "TF",
      +              "TG",
      +              "TH",
      +              "TJ",
      +              "TK",
      +              "TL",
      +              "TM",
      +              "TN",
      +              "TO",
      +              "TR",
      +              "TT",
      +              "TV",
      +              "TW",
      +              "TZ",
      +              "UA",
      +              "UG",
      +              "UM",
      +              "US",
      +              "UY",
      +              "UZ",
      +              "VA",
      +              "VC",
      +              "VE",
      +              "VG",
      +              "VI",
      +              "VN",
      +              "VU",
      +              "WF",
      +              "WS",
      +              "YE",
      +              "YT",
      +              "ZA",
      +              "ZM",
      +              "ZW"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "registered_value",
      +      "registry_country",
      +      "address",
      +      "city"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / reply_lines
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / registry_match / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "address": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "registered_value": {
      -        "type": "string"
      -      },
      -      "registry_country": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "AD",
      -              "AE",
      -              "AF",
      -              "AG",
      -              "AI",
      -              "AL",
      -              "AM",
      -              "AO",
      -              "AQ",
      -              "AR",
      -              "AS",
      -              "AT",
      -              "AU",
      -              "AW",
      -              "AX",
      -              "AZ",
      -              "BA",
      -              "BB",
      -              "BD",
      -              "BE",
      -              "BF",
      -              "BG",
      -              "BH",
      -              "BI",
      -              "BJ",
      -              "BL",
      -              "BM",
      -              "BN",
      -              "BO",
      -              "BQ",
      -              "BR",
      -              "BS",
      -              "BT",
      -              "BV",
      -              "BW",
      -              "BY",
      -              "BZ",
      -              "CA",
      -              "CC",
      -              "CD",
      -              "CF",
      -              "CG",
      -              "CH",
      -              "CI",
      -              "CK",
      -              "CL",
      -              "CM",
      -              "CN",
      -              "CO",
      -              "CR",
      -              "CU",
      -              "CV",
      -              "CW",
      -              "CX",
      -              "CY",
      -              "CZ",
      -              "DE",
      -              "DJ",
      -              "DK",
      -              "DM",
      -              "DO",
      -              "DZ",
      -              "EC",
      -              "EE",
      -              "EG",
      -              "EH",
      -              "ER",
      -              "ES",
      -              "ET",
      -              "FI",
      -              "FJ",
      -              "FK",
      -              "FM",
      -              "FO",
      -              "FR",
      -              "GA",
      -              "GB",
      -              "GD",
      -              "GE",
      -              "GF",
      -              "GG",
      -              "GH",
      -              "GI",
      -              "GL",
      -              "GM",
      -              "GN",
      -              "GP",
      -              "GQ",
      -              "GR",
      -              "GS",
      -              "GT",
      -              "GU",
      -              "GW",
      -              "GY",
      -              "HK",
      -              "HM",
      -              "HN",
      -              "HR",
      -              "HT",
      -              "HU",
      -              "ID",
      -              "IE",
      -              "IL",
      -              "IM",
      -              "IN",
      -              "IO",
      -              "IQ",
      -              "IR",
      -              "IS",
      -              "IT",
      -              "JE",
      -              "JM",
      -              "JO",
      -              "JP",
      -              "KE",
      -              "KG",
      -              "KH",
      -              "KI",
      -              "KM",
      -              "KN",
      -              "KP",
      -              "KR",
      -              "KW",
      -              "KY",
      -              "KZ",
      -              "LA",
      -              "LB",
      -              "LC",
      -              "LI",
      -              "LK",
      -              "LR",
      -              "LS",
      -              "LT",
      -              "LU",
      -              "LV",
      -              "LY",
      -              "MA",
      -              "MC",
      -              "MD",
      -              "ME",
      -              "MF",
      -              "MG",
      -              "MH",
      -              "MK",
      -              "ML",
      -              "MM",
      -              "MN",
      -              "MO",
      -              "MP",
      -              "MQ",
      -              "MR",
      -              "MS",
      -              "MT",
      -              "MU",
      -              "MV",
      -              "MW",
      -              "MX",
      -              "MY",
      -              "MZ",
      -              "NA",
      -              "NC",
      -              "NE",
      -              "NF",
      -              "NG",
      -              "NI",
      -              "NL",
      -              "NO",
      -              "NP",
      -              "NR",
      -              "NU",
      -              "NZ",
      -              "OM",
      -              "PA",
      -              "PE",
      -              "PF",
      -              "PG",
      -              "PH",
      -              "PK",
      -              "PL",
      -              "PM",
      -              "PN",
      -              "PR",
      -              "PS",
      -              "PT",
      -              "PW",
      -              "PY",
      -              "QA",
      -              "RE",
      -              "RO",
      -              "RS",
      -              "RU",
      -              "RW",
      -              "SA",
      -              "SB",
      -              "SC",
      -              "SD",
      -              "SE",
      -              "SG",
      -              "SH",
      -              "SI",
      -              "SJ",
      -              "SK",
      -              "SL",
      -              "SM",
      -              "SN",
      -              "SO",
      -              "SR",
      -              "SS",
      -              "ST",
      -              "SV",
      -              "SX",
      -              "SY",
      -              "SZ",
      -              "TC",
      -              "TD",
      -              "TF",
      -              "TG",
      -              "TH",
      -              "TJ",
      -              "TK",
      -              "TL",
      -              "TM",
      -              "TN",
      -              "TO",
      -              "TR",
      -              "TT",
      -              "TV",
      -              "TW",
      -              "TZ",
      -              "UA",
      -              "UG",
      -              "UM",
      -              "US",
      -              "UY",
      -              "UZ",
      -              "VA",
      -              "VC",
      -              "VE",
      -              "VG",
      -              "VI",
      -              "VN",
      -              "VU",
      -              "WF",
      -              "WS",
      -              "YE",
      -              "YT",
      -              "ZA",
      -              "ZM",
      -              "ZW"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      }
      -    },
      -    "required": [
      -      "registered_value",
      -      "registry_country",
      -      "address"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "address": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "city": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "registered_value": {
      +        "type": "string"
      +      },
      +      "registry_country": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "AD",
      +              "AE",
      +              "AF",
      +              "AG",
      +              "AI",
      +              "AL",
      +              "AM",
      +              "AO",
      +              "AQ",
      +              "AR",
      +              "AS",
      +              "AT",
      +              "AU",
      +              "AW",
      +              "AX",
      +              "AZ",
      +              "BA",
      +              "BB",
      +              "BD",
      +              "BE",
      +              "BF",
      +              "BG",
      +              "BH",
      +              "BI",
      +              "BJ",
      +              "BL",
      +              "BM",
      +              "BN",
      +              "BO",
      +              "BQ",
      +              "BR",
      +              "BS",
      +              "BT",
      +              "BV",
      +              "BW",
      +              "BY",
      +              "BZ",
      +              "CA",
      +              "CC",
      +              "CD",
      +              "CF",
      +              "CG",
      +              "CH",
      +              "CI",
      +              "CK",
      +              "CL",
      +              "CM",
      +              "CN",
      +              "CO",
      +              "CR",
      +              "CU",
      +              "CV",
      +              "CW",
      +              "CX",
      +              "CY",
      +              "CZ",
      +              "DE",
      +              "DJ",
      +              "DK",
      +              "DM",
      +              "DO",
      +              "DZ",
      +              "EC",
      +              "EE",
      +              "EG",
      +              "EH",
      +              "ER",
      +              "ES",
      +              "ET",
      +              "FI",
      +              "FJ",
      +              "FK",
      +              "FM",
      +              "FO",
      +              "FR",
      +              "GA",
      +              "GB",
      +              "GD",
      +              "GE",
      +              "GF",
      +              "GG",
      +              "GH",
      +              "GI",
      +              "GL",
      +              "GM",
      +              "GN",
      +              "GP",
      +              "GQ",
      +              "GR",
      +              "GS",
      +              "GT",
      +              "GU",
      +              "GW",
      +              "GY",
      +              "HK",
      +              "HM",
      +              "HN",
      +              "HR",
      +              "HT",
      +              "HU",
      +              "ID",
      +              "IE",
      +              "IL",
      +              "IM",
      +              "IN",
      +              "IO",
      +              "IQ",
      +              "IR",
      +              "IS",
      +              "IT",
      +              "JE",
      +              "JM",
      +              "JO",
      +              "JP",
      +              "KE",
      +              "KG",
      +              "KH",
      +              "KI",
      +              "KM",
      +              "KN",
      +              "KP",
      +              "KR",
      +              "KW",
      +              "KY",
      +              "KZ",
      +              "LA",
      +              "LB",
      +              "LC",
      +              "LI",
      +              "LK",
      +              "LR",
      +              "LS",
      +              "LT",
      +              "LU",
      +              "LV",
      +              "LY",
      +              "MA",
      +              "MC",
      +              "MD",
      +              "ME",
      +              "MF",
      +              "MG",
      +              "MH",
      +              "MK",
      +              "ML",
      +              "MM",
      +              "MN",
      +              "MO",
      +              "MP",
      +              "MQ",
      +              "MR",
      +              "MS",
      +              "MT",
      +              "MU",
      +              "MV",
      +              "MW",
      +              "MX",
      +              "MY",
      +              "MZ",
      +              "NA",
      +              "NC",
      +              "NE",
      +              "NF",
      +              "NG",
      +              "NI",
      +              "NL",
      +              "NO",
      +              "NP",
      +              "NR",
      +              "NU",
      +              "NZ",
      +              "OM",
      +              "PA",
      +              "PE",
      +              "PF",
      +              "PG",
      +              "PH",
      +              "PK",
      +              "PL",
      +              "PM",
      +              "PN",
      +              "PR",
      +              "PS",
      +              "PT",
      +              "PW",
      +              "PY",
      +              "QA",
      +              "RE",
      +              "RO",
      +              "RS",
      +              "RU",
      +              "RW",
      +              "SA",
      +              "SB",
      +              "SC",
      +              "SD",
      +              "SE",
      +              "SG",
      +              "SH",
      +              "SI",
      +              "SJ",
      +              "SK",
      +              "SL",
      +              "SM",
      +              "SN",
      +              "SO",
      +              "SR",
      +              "SS",
      +              "ST",
      +              "SV",
      +              "SX",
      +              "SY",
      +              "SZ",
      +              "TC",
      +              "TD",
      +              "TF",
      +              "TG",
      +              "TH",
      +              "TJ",
      +              "TK",
      +              "TL",
      +              "TM",
      +              "TN",
      +              "TO",
      +              "TR",
      +              "TT",
      +              "TV",
      +              "TW",
      +              "TZ",
      +              "UA",
      +              "UG",
      +              "UM",
      +              "US",
      +              "UY",
      +              "UZ",
      +              "VA",
      +              "VC",
      +              "VE",
      +              "VG",
      +              "VI",
      +              "VN",
      +              "VU",
      +              "WF",
      +              "WS",
      +              "YE",
      +              "YT",
      +              "ZA",
      +              "ZM",
      +              "ZW"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "registered_value",
      +      "registry_country",
      +      "address",
      +      "city"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / domain
      Added value: +{
      +  "description": "The company's website or e-mail domain (acme.com), only when the person gives it. Well stores the host and matches the company's mail by it. Never a free-mail or platform domain such as gmail.com: leave domain out then.",
      +  "maxLength": 500,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedOutput schema / properties / registry_match
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "address": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "registered_value": {
      +          "type": "string"
      +        },
      +        "registry_country": {
      +          "anyOf": [
      +            {
      +              "enum": [
      +                "AD",
      +                "AE",
      +                "AF",
      +                "AG",
      +                "AI",
      +                "AL",
      +                "AM",
      +                "AO",
      +                "AQ",
      +                "AR",
      +                "AS",
      +                "AT",
      +                "AU",
      +                "AW",
      +                "AX",
      +                "AZ",
      +                "BA",
      +                "BB",
      +                "BD",
      +                "BE",
      +                "BF",
      +                "BG",
      +                "BH",
      +                "BI",
      +                "BJ",
      +                "BL",
      +                "BM",
      +                "BN",
      +                "BO",
      +                "BQ",
      +                "BR",
      +                "BS",
      +                "BT",
      +                "BV",
      +                "BW",
      +                "BY",
      +                "BZ",
      +                "CA",
      +                "CC",
      +                "CD",
      +                "CF",
      +                "CG",
      +                "CH",
      +                "CI",
      +                "CK",
      +                "CL",
      +                "CM",
      +                "CN",
      +                "CO",
      +                "CR",
      +                "CU",
      +                "CV",
      +                "CW",
      +                "CX",
      +                "CY",
      +                "CZ",
      +                "DE",
      +                "DJ",
      +                "DK",
      +                "DM",
      +                "DO",
      +                "DZ",
      +                "EC",
      +                "EE",
      +                "EG",
      +                "EH",
      +                "ER",
      +                "ES",
      +                "ET",
      +                "FI",
      +                "FJ",
      +                "FK",
      +                "FM",
      +                "FO",
      +                "FR",
      +                "GA",
      +                "GB",
      +                "GD",
      +                "GE",
      +                "GF",
      +                "GG",
      +                "GH",
      +                "GI",
      +                "GL",
      +                "GM",
      +                "GN",
      +                "GP",
      +                "GQ",
      +                "GR",
      +                "GS",
      +                "GT",
      +                "GU",
      +                "GW",
      +                "GY",
      +                "HK",
      +                "HM",
      +                "HN",
      +                "HR",
      +                "HT",
      +                "HU",
      +                "ID",
      +                "IE",
      +                "IL",
      +                "IM",
      +                "IN",
      +                "IO",
      +                "IQ",
      +                "IR",
      +                "IS",
      +                "IT",
      +                "JE",
      +                "JM",
      +                "JO",
      +                "JP",
      +                "KE",
      +                "KG",
      +                "KH",
      +                "KI",
      +                "KM",
      +                "KN",
      +                "KP",
      +                "KR",
      +                "KW",
      +                "KY",
      +                "KZ",
      +                "LA",
      +                "LB",
      +                "LC",
      +                "LI",
      +                "LK",
      +                "LR",
      +                "LS",
      +                "LT",
      +                "LU",
      +                "LV",
      +                "LY",
      +                "MA",
      +                "MC",
      +                "MD",
      +                "ME",
      +                "MF",
      +                "MG",
      +                "MH",
      +                "MK",
      +                "ML",
      +                "MM",
      +                "MN",
      +                "MO",
      +                "MP",
      +                "MQ",
      +                "MR",
      +                "MS",
      +                "MT",
      +                "MU",
      +                "MV",
      +                "MW",
      +                "MX",
      +                "MY",
      +                "MZ",
      +                "NA",
      +                "NC",
      +                "NE",
      +                "NF",
      +                "NG",
      +                "NI",
      +                "NL",
      +                "NO",
      +                "NP",
      +                "NR",
      +                "NU",
      +                "NZ",
      +                "OM",
      +                "PA",
      +                "PE",
      +                "PF",
      +                "PG",
      +                "PH",
      +                "PK",
      +                "PL",
      +                "PM",
      +                "PN",
      +                "PR",
      +                "PS",
      +                "PT",
      +                "PW",
      +                "PY",
      +                "QA",
      +                "RE",
      +                "RO",
      +                "RS",
      +                "RU",
      +                "RW",
      +                "SA",
      +                "SB",
      +                "SC",
      +                "SD",
      +                "SE",
      +                "SG",
      +                "SH",
      +                "SI",
      +                "SJ",
      +                "SK",
      +                "SL",
      +                "SM",
      +                "SN",
      +                "SO",
      +                "SR",
      +                "SS",
      +                "ST",
      +                "SV",
      +                "SX",
      +                "SY",
      +                "SZ",
      +                "TC",
      +                "TD",
      +                "TF",
      +                "TG",
      +                "TH",
      +                "TJ",
      +                "TK",
      +                "TL",
      +                "TM",
      +                "TN",
      +                "TO",
      +                "TR",
      +                "TT",
      +                "TV",
      +                "TW",
      +                "TZ",
      +                "UA",
      +                "UG",
      +                "UM",
      +                "US",
      +                "UY",
      +                "UZ",
      +                "VA",
      +                "VC",
      +                "VE",
      +                "VG",
      +                "VI",
      +                "VN",
      +                "VU",
      +                "WF",
      +                "WS",
      +                "YE",
      +                "YT",
      +                "ZA",
      +                "ZM",
      +                "ZW"
      +              ],
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "registered_value",
      +        "registry_country",
      +        "address"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  4. Changed5 schema fields changed
    • addedInput schema / properties / address
      Added value: +{
      +  "description": "Registered office address entered by the person.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / registered_name
      Added value: +{
      +  "description": "Legal name entered by the person; does not verify an identity by itself.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / registered_value
      Added value: +{
      +  "description": "Company registration number entered by the person.",
      +  "maxLength": 100,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / registry_country
      Added value: +{
      +  "description": "Country that issued the company registration number.",
      +  "enum": [
      +    "AD",
      +    "AE",
      +    "AF",
      +    "AG",
      +    "AI",
      +    "AL",
      +    "AM",
      +    "AO",
      +    "AQ",
      +    "AR",
      +    "AS",
      +    "AT",
      +    "AU",
      +    "AW",
      +    "AX",
      +    "AZ",
      +    "BA",
      +    "BB",
      +    "BD",
      +    "BE",
      +    "BF",
      +    "BG",
      +    "BH",
      +    "BI",
      +    "BJ",
      +    "BL",
      +    "BM",
      +    "BN",
      +    "BO",
      +    "BQ",
      +    "BR",
      +    "BS",
      +    "BT",
      +    "BV",
      +    "BW",
      +    "BY",
      +    "BZ",
      +    "CA",
      +    "CC",
      +    "CD",
      +    "CF",
      +    "CG",
      +    "CH",
      +    "CI",
      +    "CK",
      +    "CL",
      +    "CM",
      +    "CN",
      +    "CO",
      +    "CR",
      +    "CU",
      +    "CV",
      +    "CW",
      +    "CX",
      +    "CY",
      +    "CZ",
      +    "DE",
      +    "DJ",
      +    "DK",
      +    "DM",
      +    "DO",
      +    "DZ",
      +    "EC",
      +    "EE",
      +    "EG",
      +    "EH",
      +    "ER",
      +    "ES",
      +    "ET",
      +    "FI",
      +    "FJ",
      +    "FK",
      +    "FM",
      +    "FO",
      +    "FR",
      +    "GA",
      +    "GB",
      +    "GD",
      +    "GE",
      +    "GF",
      +    "GG",
      +    "GH",
      +    "GI",
      +    "GL",
      +    "GM",
      +    "GN",
      +    "GP",
      +    "GQ",
      +    "GR",
      +    "GS",
      +    "GT",
      +    "GU",
      +    "GW",
      +    "GY",
      +    "HK",
      +    "HM",
      +    "HN",
      +    "HR",
      +    "HT",
      +    "HU",
      +    "ID",
      +    "IE",
      +    "IL",
      +    "IM",
      +    "IN",
      +    "IO",
      +    "IQ",
      +    "IR",
      +    "IS",
      +    "IT",
      +    "JE",
      +    "JM",
      +    "JO",
      +    "JP",
      +    "KE",
      +    "KG",
      +    "KH",
      +    "KI",
      +    "KM",
      +    "KN",
      +    "KP",
      +    "KR",
      +    "KW",
      +    "KY",
      +    "KZ",
      +    "LA",
      +    "LB",
      +    "LC",
      +    "LI",
      +    "LK",
      +    "LR",
      +    "LS",
      +    "LT",
      +    "LU",
      +    "LV",
      +    "LY",
      +    "MA",
      +    "MC",
      +    "MD",
      +    "ME",
      +    "MF",
      +    "MG",
      +    "MH",
      +    "MK",
      +    "ML",
      +    "MM",
      +    "MN",
      +    "MO",
      +    "MP",
      +    "MQ",
      +    "MR",
      +    "MS",
      +    "MT",
      +    "MU",
      +    "MV",
      +    "MW",
      +    "MX",
      +    "MY",
      +    "MZ",
      +    "NA",
      +    "NC",
      +    "NE",
      +    "NF",
      +    "NG",
      +    "NI",
      +    "NL",
      +    "NO",
      +    "NP",
      +    "NR",
      +    "NU",
      +    "NZ",
      +    "OM",
      +    "PA",
      +    "PE",
      +    "PF",
      +    "PG",
      +    "PH",
      +    "PK",
      +    "PL",
      +    "PM",
      +    "PN",
      +    "PR",
      +    "PS",
      +    "PT",
      +    "PW",
      +    "PY",
      +    "QA",
      +    "RE",
      +    "RO",
      +    "RS",
      +    "RU",
      +    "RW",
      +    "SA",
      +    "SB",
      +    "SC",
      +    "SD",
      +    "SE",
      +    "SG",
      +    "SH",
      +    "SI",
      +    "SJ",
      +    "SK",
      +    "SL",
      +    "SM",
      +    "SN",
      +    "SO",
      +    "SR",
      +    "SS",
      +    "ST",
      +    "SV",
      +    "SX",
      +    "SY",
      +    "SZ",
      +    "TC",
      +    "TD",
      +    "TF",
      +    "TG",
      +    "TH",
      +    "TJ",
      +    "TK",
      +    "TL",
      +    "TM",
      +    "TN",
      +    "TO",
      +    "TR",
      +    "TT",
      +    "TV",
      +    "TW",
      +    "TZ",
      +    "UA",
      +    "UG",
      +    "UM",
      +    "US",
      +    "UY",
      +    "UZ",
      +    "VA",
      +    "VC",
      +    "VE",
      +    "VG",
      +    "VI",
      +    "VN",
      +    "VU",
      +    "WF",
      +    "WS",
      +    "YE",
      +    "YT",
      +    "ZA",
      +    "ZM",
      +    "ZW"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / registry_ref
      Added value: +{
      +  "description": "The registry search result explicitly selected by the person. The server hydrates its legal facts.",
      +  "maxLength": 2000,
      +  "minLength": 1,
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedInput schema / properties / is_company
      Added value: +{
      +  "description": "True only when the user says this name is a company, although a person of the workspace carries it",
      +  "type": "boolean"
      +}
  6. Changed1 schema field changed
    • changedOutput schema / properties / newly_connected / description
      Previous value: -"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. Start the reply with one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."New value: +"Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later."
  7. Changed1 schema field changed
    • addedInput schema / properties / workspace_scope
      Added value: +{
      +  "description": "Restrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace.",
      +  "enum": [
      +    "family"
      +  ],
      +  "type": "string"
      +}
  8. Changed1 schema field changed
    • addedOutput schema / properties / newly_connected
      Added value: +{
      +  "description": "Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. Start the reply with one line per entry, in the person's language: \"<name> is connected.\". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "type": "string"
      +      },
      +      "service_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "service_id"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  9. Changed4 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id_note
      Added value: +{
      +  "description": "Present only when the server opened a fresh lane, stating that no choice recorded earlier was read.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / conversation_id_source
      Added value: +{
      +  "description": "Where the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened.",
      +  "enum": [
      +    "host_meta",
      +    "argument",
      +    "minted"
      +  ],
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • addedInput schema / properties / description / maxLength
      Added value: +250
  11. Changed1 schema field changed
    • removedInput schema / properties / description / maxLength
      Removed value: -1000
  12. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Target workspace. Omit to use the only authorized workspace, or (for read tools) to query all authorized workspaces grouped by workspace. Required for write tools when the token authorizes more than one workspace."New value: +"Target workspace. Omit when the token authorizes one workspace. Required when it authorizes several — a write lands in exactly one workspace and this call would not say which."
  13. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare the safety profile (readOnly=false, destructive=false, openWorld=false); the description adds genuinely new behavior: the company_name_near_match refusal, the instruction to write nothing and ask on near matches, and post-creation asynchronous enrichment that populates logo/domain/industry/tax ID seconds later. It does not cover permission/auth requirements or the idempotency/workspace-routing rules that live in the schema, so it stops short of a 5.

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 one-line purpose, then organized into labeled REQUIRED/OPTIONAL lines and short paragraphs per edge case (domain, registry_ref, person-name refusal, near-match). It is longer than most but each block addresses a distinct decision; the closing return-shape sentence is mildly redundant given an output schema exists.

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 14-parameter mutation with rich schema and an output schema, the description covers exactly the things structured fields cannot: refusal paths, the near-match recovery recipe, and the asynchronous enrichment window with an instruction to re-query. An agent has everything needed to call this correctly and interpret the immediate result.

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?

Schema description coverage is 100%, so the schema already carries the parameter docs and the baseline is 3. The description adds modest value by explaining the downstream consequence of `domain` (later mail lookups via well_list_project_files) and the candidate-selection semantics of `registry_ref` (registry_match is null without a pick), but these largely restate the schema and only `distinct_from_company_ids` gets genuinely new operational meaning.

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?

The first line names a specific verb and resource ("Create a new company") plus scope ("current workspace"), and the usage line repeats the intent triggers (create/add/register). It distinguishes itself from well_define_customer by name, but does not differentiate from near siblings such as well_create_company_candidate or well_create_company_workspace, which an agent could plausibly confuse it with.

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?

Explicit when-to-use ("when the user asks to create, add, or register a new company"), explicit when-not (a person's full name with no legal form/company number/website → bill as a person via well_define_customer), and explicit alternatives for the near-match path (use the listed company_id, or retry with distinct_from_company_ids). Conditional guidance for optional fields (domain only when given, registry_ref only when the person picked the entry, is_company only when stated) leaves little to inference.

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