Company health score
get_health_scoreAssess a UK company's financial and compliance health with a 0–100 indicator built from Companies House records, and return grade, risk level, red flags, and confidence.
Instructions
CompanyStack Health Score for a company: a rules-based indicator from 0 to 100 (higher is healthier) built from public records — registration status and age, filing timeliness, ownership stability, secured borrowing (charges), financial strength from the company's filed accounts (net assets, net current liabilities, losses and how long they have persisted), mass-registration registered offices, sector survival norms, regulator registrations and London Gazette insolvency notices. Returns overall_score, grade (A+ ≥90, A ≥80, B+ ≥70, B ≥60, C+ ≥50, C ≥40, D ≥30, F <30), risk_level (very_low ≥75, low ≥60, medium ≥45, high ≥30, critical <30), weighted dimensions with the signals behind each score, red_flags, positive_signals, score_caps (ceilings applied, e.g. persistent net liabilities), check_items (not scored: other companies whose PSC has the same name and month and year of birth that failed, and disqualified directors register entries with the same name and month and year of birth as a PSC, which are possible matches to review unless the entry also names this company; each may be a different person, so report it as the stated fact only, never as the person's record), score_confidence (low when no accounts figures are held — say so to the user), excluded_dimensions (and why), methodology, data_as_of and data_coverage. It is NOT a credit rating or a probability of default and has not been statistically validated against outcomes; describe it to users as an indicator. A UK establishment (BR), overseas company (FC, SF, NF) or overseas entity (OE) is not rated: overall_score, grade and risk_level are null and not_rated gives a code and the reason; tell the user it is not rated and why, and never give it a grade or a risk level. Needs the Starter API plan or above. The Free plan can include a small number of calls a day to get_accounts and get_health_score together: a preview_limit_reached error means they are used for today (they reset at 00:00 UTC), and plan_upgrade_required means the Free plan has none.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"company_number": "<company_number>"
},
"name": "get_health_score"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_number | Yes | Companies House company number: 8 characters, e.g. "00445790" (Tesco PLC), "SC586124" (Scotland), "NI012345", "OC301234" (LLP). Shorter all-digit numbers are left-padded with zeros. Find it with search_companies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grade | No | ||
| not_rated | No | ||
| red_flags | No | ||
| dimensions | No | ||
| risk_level | No | ||
| company_name | No | ||
| overall_score | No | ||
| company_number | No | ||
| positive_signals | No |