Skip to main content
Glama

LeoWorks Review & Lead Data Tools (via Apify MCP)

leoworks/company-website-classifier

leoworks--company-website-classifier
Destructive

This tool calls the Actor "leoworks/company-website-classifier" and retrieves its output results. Actor description: Classify company websites from your crawl: industry, B2B or B2C, reach, ICP fit scoring with tier and reason. Use for company sites; for Google Maps places use leoworks/google-maps-lead-qualifier. datasetId = crawled pages (grouped by site) or pages JSON. ~200 sites/6 s, pay per company.

Input Schema

NameRequiredDescriptionDefault
icpNoDescribe the companies you want as leads in plain language, e.g. “B2B software companies selling to retailers” or “Independent dental practices (not chains)”. Each website gets a fit score (0–100). Leave empty to get only the company labels. Example values: "Independent dental practices (not chains)"
pagesNoPages pasted as JSON objects with “url” and “text” (optionally “title”). Pages with the same host are treated as one company. Use this OR “Crawled pages dataset”. Example values: [{"url":"https://acme-analytics.example.com/","title":"Acme Analytics — demand forecasting for retailers","text":"Acme Analytics helps mid-size retailers forecast demand. Connect Shopify, NetSuite or your POS, and get store-level forecasts every morning. Trusted by 300 retail brands in the US, UK and Canada. Start a 14-day free trial — plans from $49 per month."},{"url":"https://brightsmile-dental.example.org/","title":"Bright Smile Dental — family dentist in Austin, TX","text":"Bright Smile Dental is a family-owned dental practice in South Austin. Dr. Lee and our team offer cleanings, fillings, Invisalign and same-day crowns. New patients welcome — call or book online. We accept most PPO insurance plans."}]
waitSecsNoMax seconds (0–45, default 30) to cap the wait for the Actor run to reach terminal state. For long-running Actors the response returns at the cap with the current run status; follow `nextStep` to poll via get-actor-run. Set to 0 to fire-and-forget.
datasetIdNoAn Apify dataset of crawled website pages — for example the output of Website Content Crawler. Pages are grouped by website (host without “www.”), and each website is classified once. Use this OR “Pages”.
healthCheckNoInternal: fail the run when results look degraded (used by the developer's scheduled checks).
customLabelsNoUp to 10 extra yes/no checks (each up to 200 characters) in plain language, e.g. “offers a free trial”, “mentions HIPAA compliance”, “has offices in Europe”. Each gets a probability.
maxCompaniesNoClassify at most this many websites (0 = all).
requireEmailNoSkip (not charged) websites where no email address was found on the crawled pages.
matchThresholdNoMinimum fit probability (0–1) for a website to be marked as qualified. Example values: 0.5
maxConcurrencyNoWebsites classified in parallel. Example values: 10
expectedWebsitesNoThe websites you asked the crawler to visit (its start URLs). Any that have no crawled page are listed in the output as missing (not charged), so you know which ones to crawl again with a browser crawler.

Output Schema

NameRequiredDescriptionDefault
tipNoAdvisory guidance RAG Web Browser wrote to its key-value store under the reserved "TIP" key
runIdYesActor run ID
statsNoRun statistics
statusYesRun status: READY | RUNNING | TIMING-OUT | TIMED-OUT | ABORTING | ABORTED | SUCCEEDED | FAILED
actorIdYesStable Apify Actor ID from the run record
summaryYesPast-tense summary of the run state
exitCodeNoActor process exit code; populated for terminal states (especially FAILED)
nextStepYesOne primary follow-up action with identifiers interpolated
storagesYesDataset and key-value store metadata, keyed by alias. "default" is always the primary entry.
actorNameNo"username/actor-name"
startedAtNoISO timestamp when the run started
finishedAtNoISO timestamp when the run finished (terminal states only)
statusMessageNoPass-through from Apify run.statusMessage
apifyConsoleUrlNoPersonalized Apify Console link to the run; present only for Console sessions

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Added value: +{
      +  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      +  "properties": {
      +    "businessType": {
      +      "type": "string"
      +    },
      +    "companyName": {
      +      "type": "string"
      +    },
      +    "customerType": {
      +      "type": "string"
      +    },
      +    "domain": {
      +      "type": "string"
      +    },
      +    "fitScore": {
      +      "type": "number"
      +    },
      +    "industry": {
      +      "type": "string"
      +    },
      +    "labels": {
      +      "properties": {
      +        "businessType": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "customerType": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "icpMatch": {
      +          "properties": {
      +            "matched": {
      +              "type": "boolean"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "industry": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "reach": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "model": {
      +      "type": "string"
      +    },
      +    "pagesFound": {
      +      "type": "number"
      +    },
      +    "pagesUsed": {
      +      "type": "number"
      +    },
      +    "qualified": {
      +      "type": "boolean"
      +    },
      +    "reach": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "tier": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Removed value: -{
      -  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      -  "properties": {
      -    "businessType": {
      -      "type": "string"
      -    },
      -    "companyName": {
      -      "type": "string"
      -    },
      -    "customerType": {
      -      "type": "string"
      -    },
      -    "domain": {
      -      "type": "string"
      -    },
      -    "fitScore": {
      -      "type": "number"
      -    },
      -    "industry": {
      -      "type": "string"
      -    },
      -    "labels": {
      -      "properties": {
      -        "businessType": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "customerType": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "icpMatch": {
      -          "properties": {
      -            "matched": {
      -              "type": "boolean"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "industry": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "reach": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "model": {
      -      "type": "string"
      -    },
      -    "pagesFound": {
      -      "type": "number"
      -    },
      -    "pagesUsed": {
      -      "type": "number"
      -    },
      -    "qualified": {
      -      "type": "boolean"
      -    },
      -    "reach": {
      -      "type": "string"
      -    },
      -    "reason": {
      -      "type": "string"
      -    },
      -    "tier": {
      -      "type": "string"
      -    },
      -    "title": {
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
  3. Changed1 schema field changed
    • addedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Added value: +{
      +  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      +  "properties": {
      +    "businessType": {
      +      "type": "string"
      +    },
      +    "companyName": {
      +      "type": "string"
      +    },
      +    "customerType": {
      +      "type": "string"
      +    },
      +    "domain": {
      +      "type": "string"
      +    },
      +    "fitScore": {
      +      "type": "number"
      +    },
      +    "industry": {
      +      "type": "string"
      +    },
      +    "labels": {
      +      "properties": {
      +        "businessType": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "customerType": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "icpMatch": {
      +          "properties": {
      +            "matched": {
      +              "type": "boolean"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "industry": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "reach": {
      +          "properties": {
      +            "confidence": {
      +              "type": "number"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "probability": {
      +              "type": "number"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "model": {
      +      "type": "string"
      +    },
      +    "pagesFound": {
      +      "type": "number"
      +    },
      +    "pagesUsed": {
      +      "type": "number"
      +    },
      +    "qualified": {
      +      "type": "boolean"
      +    },
      +    "reach": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": "string"
      +    },
      +    "tier": {
      +      "type": "string"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • removedOutput schema / properties / storages / properties / datasets / properties / default / properties / itemsSchema
      Removed value: -{
      -  "description": "JSON Schema for rows in the dataset at `storages.datasets.default.id` — describes row shape only; the rows themselves are NOT returned inline in this response. Inferred from this Actor's historical successful runs. To fetch actual rows, call `get-dataset-items` with the dataset id and a `fields` projection drawn from this schema.",
      -  "properties": {
      -    "businessType": {
      -      "type": "string"
      -    },
      -    "companyName": {
      -      "type": "string"
      -    },
      -    "customerType": {
      -      "type": "string"
      -    },
      -    "domain": {
      -      "type": "string"
      -    },
      -    "fitScore": {
      -      "type": "number"
      -    },
      -    "industry": {
      -      "type": "string"
      -    },
      -    "labels": {
      -      "properties": {
      -        "businessType": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "customerType": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "icpMatch": {
      -          "properties": {
      -            "matched": {
      -              "type": "boolean"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "industry": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "reach": {
      -          "properties": {
      -            "confidence": {
      -              "type": "number"
      -            },
      -            "label": {
      -              "type": "string"
      -            },
      -            "probability": {
      -              "type": "number"
      -            }
      -          },
      -          "type": "object"
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "model": {
      -      "type": "string"
      -    },
      -    "pagesFound": {
      -      "type": "number"
      -    },
      -    "pagesUsed": {
      -      "type": "number"
      -    },
      -    "qualified": {
      -      "type": "boolean"
      -    },
      -    "reach": {
      -      "type": "string"
      -    },
      -    "reason": {
      -      "type": "string"
      -    },
      -    "tier": {
      -      "type": "string"
      -    },
      -    "title": {
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
  5. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already carry the safety profile (readOnlyHint=false, destructiveHint=true, openWorldHint=true), so the bar is lower. The description adds genuinely useful behavioral context beyond them: throughput ('~200 sites/6 s') and a cost model ('pay per company'), which matter for a paid, stateful Actor run. It does not explain the destructive flag directly.

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 purpose, then classification scope, then usage routing, then input/cost notes. The opening line ('This tool calls the Actor ... and retrieves its output results') is boilerplate but short. Overall efficient, one minor piece of filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex 11-param classifier with an output schema (so return values needn't be explained) plus rich annotation coverage, the description supplies purpose, scope, an alternative, both input modes, and cost/rate context. Nothing essential for correct invocation is missing, though destructive/cost semantics could be spelled out further.

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 documents all 11 parameters in depth. The description only adds a brief summary of the datasetId/pages relationship ('crawled pages (grouped by site) or pages JSON'), which is already covered by the schema. Baseline 3 is appropriate.

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 — 'Classify company websites from your crawl' — and enumerates the outputs (industry, B2B/B2C, reach, ICP fit scoring with tier and reason). It explicitly differentiates from the sibling it could be confused with: 'for Google Maps places use leoworks/google-maps-lead-qualifier.' An agent can pick this without opening the schema.

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?

Gives clear usage context ('Use for company sites') and names the concrete alternative for the Google-Maps case. It also clarifies the two valid input modes (datasetId vs pages JSON). No explicit 'when-not-to-use' beyond the one sibling pointer, so it stops short of a 5.

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.