Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Can They Pay? (payment risk patterns)

payment_risk
Read-onlyIdempotent

Checks UK companies for payment risk patterns using Companies House evidence, including overdue accounts, rising creditors, winding-up petitions and reported payment practices.

Instructions

The patterns creditors check that hold for a UK company, each with its evidence, rule, source and date: net assets and cash falling, creditors rising against current assets, accounts or confirmation statement overdue, earlier figures restated downward, controllers' other companies in insolvency or strike-off (possible matches by name and month and year of birth, which may be different people), a registered office where many companies have closed or are closing, a change of control in the last 12 months, a petition to wind up, a registered office removed by Companies House, and a registered office moved in the last 12 months to an address used in insolvencies. checked lists every rule looked at; accounts_quality holds the accounts-quality flags when they are on. There is no score and no verdict: report the patterns as patterns with their evidence, never as a prediction that the company will fail, and note that many companies show one or more and carry on trading. reported_payment_practices, present only for a company that has filed a payment practices report with the government (large companies and LLPs must, most companies need not, so its absence says nothing), holds the company's own reported figures: the reporting period, the date filed, the average days to pay, the share of invoices paid within 30 days, in 31 to 60 days and later than 60 days, and the share not paid within agreed terms. Give them as figures the company reported to the government for that period, with the period and the filing date, never as a rating or as your own or CompanyStack's assessment. 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": "payment_risk"
  }
}

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
planNo
levelNo
noticeNo
appliesNo
checkedNo
dormantNo
messageNo
upgradeNo
headlineNo
patternsNo
situationNo
disclaimerNo
company_nameNo
dormant_noteNo
company_numberNo
company_statusNo
accounts_qualityNo
reported_payment_practicesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent and open-world, and the description adds a great deal on top: the plan requirement with the exact error name and upgrade_url, the conditional presence of checked, accounts_quality and reported_payment_practices, and the caveat that controller matches by name plus month/year of birth may be different people. These are exactly the operational and interpretive facts an agent cannot get from structured fields.

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?

Almost every sentence carries necessary information, but it arrives as one dense run-on paragraph with a ten-item pattern list crammed into the opening sentence, and the usage caveats are buried mid-block. Splitting the pattern list and the reporting constraints into separate, front-loaded statements would make it far easier 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?

For a read-only, single-parameter analysis tool with an output schema, the description covers everything an agent needs: what comes back, which fields are conditional and why, the access tier, and how the results must be characterized. The output schema means return-format detail is not owed, yet the description still explains the reported payment practices fields.

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?

There is a single parameter with 100% schema description coverage, including format examples and a pointer to search_companies, so the schema carries the burden. The description adds nothing about company_number beyond 'a UK company', which is the expected baseline here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states what is returned: the payment-risk patterns creditors check for a UK company, each with evidence, rule, source and date, followed by a concrete enumeration of those patterns. That enumeration makes it unmistakable against siblings like get_health_score or creditor_pack, though the tool never names an alternative to contrast with.

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 strong usage context: this is not a score or verdict, patterns must be reported as patterns with evidence, and many companies show one or more and still trade. It also states the plan gate (Starter API or above) and that a missing reported_payment_practices says nothing. What it lacks is explicit routing — it never says when to prefer get_health_score or creditor_pack instead.

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