---
title: "GLM 5.3 on Pydantic AI Companies House"
description: "Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 50%; rank 20 of 20."
canonical: https://models.pydantic.dev/models/glm-5.3/companies_house/
---

# GLM 5.3 on Pydantic AI Companies House

> Extracting UK company accounts into a nested Pydantic model, checked against the filer's tags. Tool calling 50%; rank 20 of 20.
>
> Markdown copy of https://models.pydantic.dev/models/glm-5.3/companies_house/. Index for agents: https://models.pydantic.dev/llms.txt

**Agents: use the API for model information.** It answers a question in one request, where the pages need several.

- Choose a model for an agent: `POST https://models.pydantic.dev/api/select` with a JSON body such as `{"description": "what the agent does"}`. It returns up to five ranked models with reasons. Format: https://models.pydantic.dev/select.md
- Search models by name: `GET https://models.pydantic.dev/api/search?query=<text>`
- List, filter and sort models: `GET https://models.pydantic.dev/api/models`, for example `?weights=open&max_price=2&sort=efficiency`
- One model in full: `GET https://models.pydantic.dev/api/models/<slug>`

Add `intent=<intent>&stack=<stack>&harness=<harness>` to the query string of the first three. An `OPTIONS` request to any endpoint returns its schema. The same four are tools of the MCP server at `https://models.pydantic.dev/mcp`. More: https://models.pydantic.dev/usage.md

About the benchmark: https://models.pydantic.dev/benchmarks/companies_house.md. The model on every Pydantic AI benchmark: https://models.pydantic.dev/models/glm-5.3.md

| Mode         | Score | Tasks passed | Cost  | Requests | Tool calls | Time     |
| ------------ | ----- | ------------ | ----- | -------- | ---------- | -------- |
| Tool calling | 50%   | 5 of 10      | $0.80 | 10       | 10         | 23.3 min |

Each task was run once per mode.

## Review

Written by an LLM from the runs' transcripts.

#### Overall

All 10 cases ran in **tools** mode. The model passed **5 of 10**. Every run used exactly **1 request**, a single `accounts` call with no retries. Total cost was **$0.80**, about **$0.080 per case**: passes averaged $0.100 and failures $0.060.

By tier:

| Tier  | Passed |
| ----- | ------ |
| tier1 | 2/2    |
| tier2 | 0/2    |
| tier3 | 0/2    |
| tier4 | 1/2    |
| tier5 | 2/2    |

All five failures have the cause **incomplete_data**. The model left fields out. With one exception, the values it did submit were correct.

#### Where it does well

- **Scaling and signs.** It converted £000 presentations to whole pounds correctly (Cube Logic, TaskUs). It turned brackets and deficits into negatives, such as net assets -20,029,000 and the prior tax credit of -138,000. It kept costs, tax and interest payable positive.
- **Group vs parent separation.** It kept the two sets of figures apart reliably, even in failed runs. In tier5-NI037684 it separated the parent's creditor breakdown from the group's. In tier4-05840865 it classified the parent's amounts owed to group undertakings correctly.
- **Null vs 0 handling.** This was mostly correct, for example returning null for lines the accounts don't show.
- **Metadata.** Company number, accounts type, audit status, consolidation and period dates were correct where checked. In tier5-12026946 it also listed all directors.
- **Large extractions.** It handled the heaviest case (tier5-12026946, $0.19) in one call.

#### Mistakes it makes

- **Submitting only equity lines from the balance sheet.** This caused 4 of the 5 failures (tier2-11600506, tier2-SC121467, tier3-05959188, tier3-09727592). The model filled share capital, the P&L reserve and shareholders' funds, but left cash, fixed and current assets, creditors, net current assets and net assets null. All of these were on the balance sheet pages.
- **No self-check before submitting.** In each of those four cases, net assets was null even though the model had reported the identical shareholders' funds figure. A completeness check would have caught it.
- **Piecemeal notes extraction.** In tier4-NI626135, current-year and prior-year staff-cost fields were filled inconsistently. For example, the parent's current wages were given but its prior wages were missing. One parent bank-loan prior amount was also omitted.
- **One misread value.** In tier2-SC121467, prior administrative expenses were given as 12,970,000 against an expected 12,351,000. The reviewer suspects another line, perhaps exceptional items, was included, or the comparative column was misread.
- **Minor, ungraded 0/null slips.** Examples are the parent's prior investments in tier5-NI037684 and the parent's creditors after one year in tier5-12026946.

#### Tool calling compared with code mode

No code_mode runs were provided, so the two modes can't be compared.

In tools mode, the model always made one call and never iterated. That kept costs low, but it is also why the omissions went uncaught. Engineers relying on this model should consider adding a completeness or consistency check outside the model, such as requiring net assets to equal shareholders' funds, or prompting for one.

## Runs

### tier1-07054261

**Tool calling: passed.** The agent read Cube Logic Limited's 2025 full audited accounts, which are presented in £000. It submitted every field in a single accounts call with figures scaled to whole pounds, and the output matched the expected answer and passed with no validation failures. ($0.056, 1 requests, 56 s)
- Right: Scaled the £000 figures by 1,000 throughout, for example turnover 16,382,000 and creditors within one year 20,446,000.
- Right: Applied the sign conventions correctly: net current assets, net assets, operating profit and the P&L reserve are negative, the prior-year tax credit is -138,000, and costs and interest payable are positive.
- Right: Used null for lines the accounts do not show (stocks, creditors after one year, provisions, distribution costs, other operating income) and returned 0 for current-year tax and prior-year interest receivable, both of which match the expected answer.
- Right: Got the company metadata right: company number 07054261, full accounts, audited, not consolidated, and both period dates.
- Right: Finished in one submission with no retries.

### tier1-11022760

**Tool calling: passed.** The agent read the TaskUs Limited accounts, which are presented in £000, and submitted every company, balance sheet and P&L field in one accounts call. The figures were scaled to pounds, and the output matched the expected answer and passed. ($0.091, 1 requests, 3.0 min)
- Right: Multiplied the £000 figures by 1,000 throughout, e.g. investments 16,705 became 16705000.
- Right: Gave the deficit figures negative signs: net current assets -36631000, net assets -20029000, P&L reserve -20196000 and prior profit after tax -1862000.
- Right: Kept tax and interest payable as positive amounts (tax 312000, prior tax 632000).
- Right: Used 0 for the nominal share capital and for prior other operating income, rather than null.
- Right: Identified the accounts as full, audited and not consolidated, with the correct period dates.
- Right: Finished in a single submission with no validation failures.

### tier2-11600506

**Tool calling: failed.** The agent submitted the group P&L for both years and only equity lines (share capital, P&L reserve, shareholders' funds) from the group balance sheet. It left cash, intangible and tangible assets, fixed assets, current assets, creditors within one year, net current assets, total assets less current liabilities and net assets as null, so the run failed. ($0.038, 1 requests, 32 s)
- Right: All group P&L figures for both periods matched the expected values, including the tax charges and interest lines.
- Right: The group equity figures were correct with the right signs: P&L reserve -2,896,788 / -1,293,169 and shareholders' funds -2,896,388 / -1,292,769.
- Right: It used the group (consolidated) figures, not the parent company's own.
- Mistake: In its single accounts call it left out every group balance-sheet line above equity for both years. Expected values it missed include intangible assets 2,828,132, tangible assets 2,404,081, fixed assets 5,232,213, current assets 4,665,204, cash 1,320,993, creditors within one year 10,755,412, net current assets -6,090,208, total assets less current liabilities -857,995 and net assets -2,896,388, plus the prior-year equivalents.
- Mistake: Net assets was returned as null even though it equals the shareholders' funds of -2,896,388 that the agent itself reported. That should have prompted it to check the group balance sheet on page 9.
- Mistake: It submitted after one call without checking the group balance sheet for completeness. Those figures were in the accounts (cash of £1.32m is even quoted in the strategic report).

### tier2-SC121467

**Tool calling: failed.** The agent made a single accounts call. It left almost every current-year group balance sheet line null, including net assets, cash, fixed assets and current assets, and it entered prior-year administrative expenses as 12,970,000 against the expected 12,351,000. The run failed. ($0.089, 1 requests, 2.9 min)
- Right: The current-year P&L figures for cost of sales, distribution costs, admin expenses, interest, PBT, tax and PAT match the expected values.
- Right: The prior balance sheet figures all match, including the negative P&L reserve of -1,176,000.
- Right: Brackets were correctly turned into negatives for the prior losses and the tax credit (-571,000).
- Mistake: In the single accounts call, the current-year group balance sheet holds only equity lines. Cash (2,855,000), current assets (13,197,000), creditors within one year (8,804,000), fixed assets (4,627,000), intangible assets (378,000), tangible assets (4,249,000), net current assets (4,393,000), net assets (8,263,000) and total assets less current liabilities (9,020,000) were left null even though the balance sheet shows them.
- Mistake: Prior administrative expenses were given as 12,970,000, but the expected figure is 12,351,000. The agent likely included another line, perhaps exceptional items, or misread the comparative column.
- Mistake: It submitted without checking that it had filled the asset side of the current balance sheet. Net assets was null while shareholders' funds was 8,263,000, which should have prompted a recheck.

### tier3-05959188

**Tool calling: failed.** The agent made a single accounts call that supplied only share capital, P&L reserve and shareholders' funds for group and parent in both periods. Every other balance sheet line was left null, so the run failed. ($0.047, 1 requests, 32 s)
- Right: The figures it did give (share capital 150, P&L reserves, shareholders' funds) match the expected values for all four balance sheets, and deficits carry the correct negative sign.
- Mistake: In its only accounts call it left out most required fields: cash, creditors within one year, current assets, fixed assets, intangible assets, tangible assets, net current assets, total assets less current liabilities, net assets and share premium. For the parent it also left out debtors, investments and creditors after one year. All of these appear in the group and company balance sheets (pages 13-14) and should have been extracted, e.g. group intangible assets 15,543,998 and group cash 1,720,386.
- Mistake: It did not report net_assets (e.g. -13,564,855) even though it reported the identical shareholders_funds figure.
- Mistake: It submitted after one call with no visible attempt to read the full balance sheet sections or check that the output was complete.

### tier3-09727592

**Tool calling: failed.** The agent made a single accounts call that supplied only four equity lines (share capital, share premium, P&L reserve, shareholders' funds) for each of the four balance sheets. Every asset and liability line came back null, so the run failed. ($0.074, 1 requests, 2.3 min)
- Right: The equity figures it did give are all correct, including negative signs for the P&L reserve and the deficits in shareholders' funds, for group and parent in both periods.
- Right: It kept the group and parent company figures apart correctly.
- Mistake: In the only accounts call it left out every asset and liability line: tangible assets, fixed assets, investments, debtors, cash, current assets, creditors within and after one year, net current assets, total assets less current liabilities and net assets. Both balance sheets plainly show these (e.g. group cash 2,720,339 and creditors within one year 4,517,103). It should have filled them from the group balance sheet on page 12 and the company balance sheet on pages 13-14.
- Mistake: It returned net_assets as null even though the accounts show it, and it equals shareholders' funds (e.g. -3,674,263 for the group).
- Mistake: It left the parent's prior-year investments as null; the expected answer has 0, as shown in the comparative column.
- Mistake: It submitted after one call with no check that the balance sheet had been fully extracted.

### tier4-05840865

**Tool calling: passed.** The agent extracted the group and parent company staff costs and creditors notes in a single `accounts` call, and the output matched every expected field. The run passed. ($0.071, 1 requests, 2.2 min)
- Right: It correctly told the group figures apart from the parent company figures in the creditors and staff costs notes.
- Right: Both current and prior amounts for each creditor category matched, including the group bank overdraft prior figure of 10,251 with a current figure of 0.
- Right: Parent company amounts owed to group undertakings (1,538,825 and 1,524,980) were correctly classified as amounts_owed_to_group.
- Right: The extra fields it returned (social security costs and group creditors due after one year) were not graded and did not conflict with the check.
- Right: It finished in one call with no failed checks.
- Mistake: It returned the group amounts_owed_to_group line as absent, while the expected answer has it as 0 for both years. The grader accepted this, but a zero entry would have been more explicit.

### tier4-NI626135

**Tool calling: failed.** The agent made one `accounts` call. It got all the group creditor lines and nearly all the parent creditor lines right, but left out most of the staff-cost fields and one parent creditor prior amount, so the run failed. ($0.050, 1 requests, 55 s)
- Right: All group creditor lines (within and after one year, current and prior) and both group creditor totals match the expected values.
- Right: Parent creditor totals (17897307 within, 686105 after) and nearly all parent creditor lines are correct.
- Right: Correctly gave bank loans after one year as 0 current and 5836 prior for both group and parent.
- Right: Group staff total 4404450, pension 158027, prior wages 3274642 and prior total 3687277 are correct.
- Mistake: Group staff_costs.wages_and_salaries was left null; it should be 3830147.
- Mistake: Group prior_staff_costs.pension_costs was left null; it should be 112024. The agent filled the current-year and prior-year fields inconsistently, as though it extracted them piecemeal.
- Mistake: Parent staff_costs: pension 29473 and total 1952516 were left out; only wages 1726390 was given.
- Mistake: Parent prior_staff_costs: wages 1536225 and total 1712174 were left out; only pension 26889 was given.
- Mistake: Parent bank_loans_and_overdrafts within one year prior_amount was left out; it should be 4270739.
- Mistake: The agent submitted in a single call with no check that every field and period was filled from the notes.

### tier5-12026946

**Tool calling: passed.** The agent pulled the group and parent company accounts for The Cambium Group UK Holdings Limited and returned them in a single `accounts` call. The run passed. ($0.19, 1 requests, 7.0 min)
- Right: It returned both the group (consolidated) and parent company balance sheets, with current and prior figures.
- Right: It got the signs right: losses, the negative profit and loss reserve and negative net current assets are negative, and the prior-year tax credit is -51830.
- Right: The group creditors note is broken down into its categories, with prior amounts for each.
- Right: It listed all directors, including the one who resigned during the year.
- Right: It finished in a single call, with no retries needed.
- Mistake: It gave the parent company's current creditors_after_one_year as 0 rather than null. The prior year showed 157084, so 0 is arguably defensible, and it did not affect grading.

### tier5-NI037684

**Tool calling: passed.** The agent extracted the group and parent company figures for John Mulholland Motors Limited in a single accounts call. Every value the grader checks matched the expected answer, and the run passed. ($0.089, 1 requests, 3.0 min)
- Right: Kept the group and parent company figures separate, including the parent's own creditor breakdown (e.g., trade creditors prior 2689140 vs the group's 2698613).
- Right: Captured the parent's investments (300) and fixed_assets (3599359) and left the group's fixed_assets null, since the group balance sheet does not show that subtotal.
- Right: Got the P&L, staff costs and creditors note figures for both years right.
- Right: Finished in one submission with no failed checks.
- Mistake: In the parent's prior_balance_sheet the agent set investments to 0 rather than null. The comparative was probably shown as a dash or nil, and the grader did not check this field, so it cost nothing.
- Mistake: It set the parent's staff_costs fields to null explicitly. This is harmless, but those fields were not required.
