Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Filed accounts, year by year

get_accounts
Read-onlyIdempotent

Retrieves a UK company's yearly accounts figures from Companies House by company number, including ratios, group/company basis, and source quality for financial review.

Instructions

Every year of accounts figures CompanyStack holds for a company, newest first, read from the accounts it filed at Companies House, with ratios and where each year came from: source.kind is filed (electronic accounts), scanned (PDF or paper read by OCR), comparative (the prior-year column of the next year's accounts) or unverified, with source.quality and flags from the plausibility checks. A company that heads a group files its own figures (basis company) and the group's (basis group); by default one row per year is returned, the group figures where held. Figures include turnover, profit, total assets, cash, current and total liabilities, net assets and employees. UNITS: whole units of the currency filed (normally GBP pounds, not pence or thousands); null means not filed (small and micro companies often omit turnover and profit). The figures are the company's own, as filed: not audited or verified by CompanyStack. 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_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
basisNopresented (default): one row per year, group figures where held. group or company: that basis only.
limitNoYears to return, newest first (1–50, default 20).
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
basesNo
basisNo
totalNo
accountsNo
company_numberNo
years_availableNo
history_limited_toNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world traits, yet the description adds substantial context beyond them: source.kind values (filed, scanned, comparative, unverified) with quality and plausibility flags, company vs group basis, units in whole currency units rather than pence or thousands, null meaning not filed, and the caveat that figures are unverified by CompanyStack. It also discloses plan requirements and specific error codes with the 00:00 UTC reset.

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?

The definition is front-loaded with what the tool returns and why it matters, and nearly every sentence carries distinct information (source kinds, basis, units, verification caveat, plan gating). It is a dense single block with no visual separation between data semantics and access rules, which slightly hurts scanability but not enough to call it bloated.

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 financial-data tool with an output schema and full annotations, the description covers everything an agent needs: what is returned, how to interpret units and nulls, provenance and quality flags, basis selection, and plan/error constraints. Nothing material is missing.

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 documents company_number, basis and limit. The description reinforces the basis semantics (company vs group, default one row per year) and adds unit and null-value interpretation, but does not add syntax or format detail beyond what the schema provides. Baseline 3 is appropriate.

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 description states a specific resource and scope: every year of filed accounts figures CompanyStack holds for a company, newest first, read from Companies House filings. The resource is concrete enough that an agent can separate it from filing history or health-score tools, though no sibling is named explicitly to sharpen the contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage context is implied by the resource (financial figures per year) and reinforced by plan gating: Starter API plan or above, with Free-plan preview limits and the preview_limit_reached / plan_upgrade_required error semantics. However, there is no explicit when-to-use-vs-alternative guidance, such as pointing to get_financial_history or get_health_score for different needs.

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