Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Run a KYB check (uses quota, stores a record)

run_kyb_check

Run structured know-your-business checks against UK public registers to verify company status, identity, PSC and director details, returning pass, refer, fail, or unable_to_check with evidence.

Instructions

WARNING: every call counts against the API key's request quota and permanently stores a KYB check record on the account, as due-diligence evidence. Only run it when the user asks to verify a company; do not run it speculatively or repeat it for the same company — use list_kyb_checks to find earlier results. Runs structured know-your-business checks against public registers: existence and status, name and registered postcode match, age, overdue accounts and confirmation statement, Gazette company insolvency notices, PSC register (a company with no PSC is checked for the statement it filed instead: NO_REGISTRABLE_PERSON_STATED is a warning quoting the company's own statement, never a clean result; PSC_STATEMENT_OPEN_QUESTION is a refer; PSC_STATEMENTS_UNAVAILABLE is unable_to_check) and discrepancies against the beneficial owners supplied, named directors, disqualified-director screening (unable_to_check while CompanyStack's copy of the register is not complete and current), optional ECCTA identity verification, registered-address density and net assets. Returns check_id, outcome (pass, refer, fail, or unable_to_check when a check that matters could not run, for example the officers could not be read from Companies House or a source the check needs is missing, incomplete or out of date: never a pass, run it again later), summary, reason_codes (e.g. COMPANY_DISSOLVED, NAME_MISMATCH, PSC_DISCREPANCY, ACCOUNTS_OVERDUE, OFFICERS_UNAVAILABLE), warnings, per-check results with evidence, facts.charges (outstanding and satisfied charges as at a date: information only, not a check), data_as_of, checked_at and a disclaimer. Name matches without a full date of birth are possible matches only; the result supports, and does not replace, the user's own customer due diligence. Needs the Starter API plan or above (a Free key gets a plan_upgrade_required error with an upgrade_url).

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": "run_kyb_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
referenceNoThe user's own reference (e.g. a client ID), stored with the check.
expected_nameNoThe company name the customer gave, to compare with the register.
expected_pscsNoBeneficial owners the customer declared, compared with the PSC register.
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.
expected_postcodeNoThe registered office postcode the customer gave.
expected_directorsNoPeople who claim to be directors.
include_identity_verificationNoAlso check Companies House identity verification (ECCTA) deadlines for directors and PSCs. Default false.

Output Schema

NameRequiredDescriptionDefault
checksNo
outcomeNo
summaryNo
check_idNo
warningsNo
reason_codesNo
company_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations give only a coarse non-read-only, non-idempotent profile; the description goes far beyond by disclosing quota consumption per call, permanent storage of a due-diligence record, the plan_upgrade_required error with upgrade_url on a Free key, and the exact semantics of unable_to_check versus a pass.

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-loads the quota-and-storage warning, which is the right ordering, but the body is a single dense block with deeply nested parentheticals (PSC statement variants) that is longer than it needs to be for an agent to scan.

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?

Covers everything an agent needs for a costly, non-idempotent, open-world check: quota, persistence, plan requirement, outcome vocabulary, reason codes, data_as_of, and caveats on name matching; the return-value list is redundant with the output schema but the remaining context is complete.

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 defines all seven parameters; the description only indirectly gestures at expected_pscs and expected_directors via 'beneficial owners supplied, named directors' and at include_identity_verification via 'optional ECCTA identity verification', adding little beyond the structured fields.

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?

Opens with a precise verb+resource (runs structured know-your-business checks against public registers) and enumerates the concrete checks performed, so an agent can distinguish it from list_kyb_checks or new_company_check 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use (only when the user asks to verify a company), explicit when-not (do not run speculatively, do not repeat for the same company), and a named alternative (list_kyb_checks) for retrieving earlier results, plus the plan prerequisite that gates invocation.

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