Skip to main content
Glama

UK company accounts — headline financials (Companies House)

query_uk_company_accounts
Read-onlyIdempotent

Headline figures from the accounts UK companies file electronically at Companies House, one record per company and balance-sheet date: net assets (negative = net liabilities) with the tag it was read from, cash at bank, creditors due within one year, average employees, the dormant flag, turnover and profit where filed (few small companies file them), and the same figures for the prior period. From the official daily Accounts Data Product (iXBRL), read every morning; the register builds up from 2026-11 onward. Organisation-level numbers only — directors, signatories and narrative notes are never ingested. Filters combine with AND; q searches all text fields. Costs 1 credit(s) per call with an API key; without one, a preview of up to 5 rows (30 calls/day).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "query_uk_company_accounts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
pageNo
companyNo
dormantNo
cash_maxNo
cash_minNo
per_pageNo
turnover_minNo
employees_maxNo
employees_minNo
company_numberNo
net_assets_maxNo
net_assets_minNo
file_date_afterNo
profit_loss_maxNo
file_date_beforeNo
balance_sheet_date_afterNo
balance_sheet_date_beforeNo
creditors_within_one_year_minNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description goes well beyond them: provenance (official daily Accounts Data Product, iXBRL, refreshed each morning), a forward-looking coverage window starting 2026-11, cost of 1 credit per call, and a 5-row/30-calls-per-day unauthenticated preview cap. It also explains a non-obvious output convention (negative net assets = net liabilities) and that the source tag is preserved.

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 purpose is front-loaded and most content (returned fields, provenance, cost) earns its place given there is no output schema. But it is a single dense run-on paragraph mixing output-field inventory, coverage caveats, and pricing, with no structural separation, which makes the operational facts harder to locate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, describing the returned measures, prior-period duplication, and the negative-value convention is valuable and largely done. Against a 19-parameter tool, though, it leaves key operational unknowns: how pagination/sorting behaves, how the two date ranges differ in meaning, and what a 'dormant' filter value looks like.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 19 parameters, so the description carries the full burden and only partly delivers: it says filters combine with AND and that q searches all text fields, which is genuinely useful. It never distinguishes file_date_* from balance_sheet_date_* (the most likely source of a wrong call), does not explain what values the string-typed 'dormant' accepts, and leaves the min/max numeric families, company vs company_number, and pagination semantics to be inferred from names alone.

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?

States a precise resource (headline figures from the accounts UK companies file at Companies House) and the granularity (one record per company and balance-sheet date), and enumerates the returned measures. It implicitly separates itself from the company-register sibling by declaring 'Organisation-level numbers only — directors, signatories and narrative notes are never ingested', though it never names the sibling it replaces.

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 rather than stated: it warns that few small companies file turnover/profit and that the register only builds up from 2026-11 onward, which helps an agent judge fitness for a query. It also documents credit cost and the unauthenticated preview limit. However, there is no explicit when-to-use-this-vs-alternative routing (e.g. versus query_uk_companies or query_uk_company_profiles).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources