Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Company health score

get_health_score
Read-onlyIdempotent

Assess 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

NameRequiredDescriptionDefault
company_numberYesCompanies 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

NameRequiredDescriptionDefault
gradeNo
not_ratedNo
red_flagsNo
dimensionsNo
risk_levelNo
company_nameNo
overall_scoreNo
company_numberNo
positive_signalsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses the null-return contract for unrated entity types, the plan gating and per-day call limits, the two error conditions and their recovery, and a confidence caveat when no accounts figures exist. It also warns how check_items must be reported (possible name/DOB matches, never asserted as the person's record), which is behaviour an agent cannot infer from the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is an enormous run-on that crams the entire signal list, grade table, risk table and output contract into one block, which hurts scannability. Substantively almost every clause earns its place, but much of the return-field enumeration duplicates the output schema and could be trimmed or bulleted.

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 tool this idiosyncratic, the definition covers everything an agent needs to call it and interpret the result correctly: scoring bands, dimension composition, cap logic, unrated entities, confidence, quota errors and interpretive caveats. An output schema exists, yet the added guidance is about interpretation rather than duplicating field shapes.

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?

The single parameter is fully documented in the schema (100% coverage), including format examples and padding behaviour, so the description adds nothing about the parameter itself. Baseline 3 is appropriate when the schema carries all parameter meaning.

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?

The description opens with a specific resource and verb-equivalent ('CompanyStack Health Score for a company'), defines the artifact precisely as a rules-based 0-100 indicator, and enumerates the input signals that compose it. It is immediately distinguishable from siblings like get_accounts or payment_risk, and it explicitly disclaims being a credit rating or default probability.

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?

It gives clear applicability boundaries: not rated for BR/FC/SF/NF/OE entities, requires Starter API plan or above, and Free plan behaviour with the specific errors that indicate quota exhaustion and the 00:00 UTC reset. What it lacks is explicit routing against siblings (e.g. when to prefer payment_risk or get_accounts), leaving the alternative selection partly inferential.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.