HappierleadsDocs
MCP server

ai_generate_scoring_model

Have AI build a lead scoring model from the website's own pages (it reads the site to infer the ideal customer) and save it as 'ICP Score - AI Generated'.

AI-generate a scoring model · Changes data

Have AI build a lead scoring model from the website's own pages (it reads the site to infer the ideal customer) and save it as 'ICP Score - AI Generated'. Only one such model can exist per website; a second call is refused with 'AI Lead scoring model has already been generated!'. Pass description to steer it: the ideal customer as the user describes it takes priority over what the site suggests. For exact rules use create_lead_scoring_model instead. websiteId comes from list_websites. Returns result (the new model with _id and its rules).

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
websiteIdstringYesWebsite id (24 hex characters) from list_websites.
descriptionstringYesPlain-English description of the ideal customer, e.g. "US software companies with 50-500 staff selling to finance teams". Steers the generated rules.

Tool definition

What your assistant receives from tools/list:

{
  "name": "ai_generate_scoring_model",
  "title": "AI-generate a scoring model",
  "annotations": {
    "title": "AI-generate a scoring model",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website id (24 hex characters) from list_websites."
      },
      "description": {
        "type": "string",
        "description": "Plain-English description of the ideal customer, e.g. \"US software companies with 50-500 staff selling to finance teams\". Steers the generated rules."
      }
    },
    "required": [
      "websiteId",
      "description"
    ]
  }
}

On this page