Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Filing history

get_filing_history
Read-onlyIdempotent

Retrieve a UK company's Companies House filing history, newest first, with category filters and pagination to review accounts, officer changes, mortgages, and other filings.

Instructions

A company's Companies House filing history, newest first (cached for up to 24 hours). Each item has transaction_id, category (e.g. accounts, confirmation-statement, officers, mortgage), subcategory, description, filing_date, action_date, paper_filed and pages. Returns total_count, items_returned and a page of items. 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": "get_filing_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoFilings per page, 1–100 (default 25).
offsetNoFilings to skip for paging.
categoryNoOnly filings in this category.
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
itemsNo
total_countNo
company_numberNo
items_returnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, but the description adds genuinely new behavioral facts: a 24-hour cache, newest-first ordering, and a hard entitlement gate (Starter API plan or above, with Free keys returning a plan_upgrade_required error plus upgrade_url). That error/entitlement disclosure is exactly the kind of context annotations cannot carry.

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?

Three front-loaded sentences: identity/ordering first, then item shape, then access requirements. Slightly wasteful in enumerating every returned field (transaction_id, subcategory, paper_filed, pages) when an output schema already exists, but nothing is ambiguous.

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?

Everything an agent needs before calling is present: what it returns, that results are paged with total_count, that data may be up to 24 hours stale, and that the call will fail on a Free plan with a specific error. Combined with a full output schema and complete parameter docs, 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%, including the company_number pattern, padding behavior, category enum and limit/offset ranges, so the schema already does the heavy lifting. The description adds only the paging shape (total_count, items_returned, a page of items) which clarifies limit/offset usage slightly but stays at the baseline.

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 specific resource (a company's Companies House filing history) with an explicit ordering guarantee (newest first). It is distinguishable from siblings like get_changes or get_accounts, though it never names those siblings as the place to go for deeper detail on a specific filing category.

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 is implied rather than prescribed: it reads as the historical list of filings, with an optional category filter. There is no explicit 'use this instead of X when Y' guidance against near neighbours such as get_accounts or get_changes, so the agent must infer the boundary from names.

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