Skip to main content
Glama

Get Filings

get_filings
Read-onlyIdempotent

Retrieve filing history for a UK company by company_number (from search_companies). Returns up to 25 filings per page, each with category, type, description, filing date, action date, transaction ID, page count, and document metadata URL. Filter by category (accounts | confirmation-statement | officers | etc.).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
categoryNoOptional filter (accounts | confirmation-statement | officers | etc.)
start_indexNoPagination offset (default 0)
company_numberYesUK company number (e.g. "07098618") OR the company NAME (e.g. "Ocado Group"), a name is resolved here automatically and the match is echoed back as resolved_from_name. Pass whichever you have; do not guess a number from memory, since a plausible wrong one returns a clean empty result that reads as "nothing filed" for a company that may not exist.
items_per_pageNo1-100 (default 25)

Output Schema

NameRequiredDescriptionDefault
totalYesTotal number of filings
filingsYesList of filing history records
company_numberYesUK company number
resolved_from_nameNoPresent only when a NAME was passed instead of a number. Shows which company answered, so a caller can see the resolution rather than assume it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / company_number / description
      Previous value: -"UK company number (e.g. \"07098618\") OR the company NAME (e.g. \"Ocado Group\") — a name is resolved here automatically and the match is echoed back as resolved_from_name. Pass whichever you have; do not guess a number from memory, since a plausible wrong one returns a clean empty result that reads as \"nothing filed\" for a company that may not exist."New value: +"UK company number (e.g. \"07098618\") OR the company NAME (e.g. \"Ocado Group\"), a name is resolved here automatically and the match is echoed back as resolved_from_name. Pass whichever you have; do not guess a number from memory, since a plausible wrong one returns a clean empty result that reads as \"nothing filed\" for a company that may not exist."
  2. Changed2 schema fields changed
    • changedInput schema / properties / company_number / description
      Previous value: -"UK company number"New value: +"UK company number (e.g. \"07098618\") OR the company NAME (e.g. \"Ocado Group\") — a name is resolved here automatically and the match is echoed back as resolved_from_name. Pass whichever you have; do not guess a number from memory, since a plausible wrong one returns a clean empty result that reads as \"nothing filed\" for a company that may not exist."
    • addedOutput schema / properties / resolved_from_name
      Added value: +{
      +  "description": "Present only when a NAME was passed instead of a number. Shows which company answered, so a caller can see the resolution rather than assume it.",
      +  "properties": {
      +    "company_name": {
      +      "description": "Official name of the matched company.",
      +      "type": "string"
      +    },
      +    "company_number": {
      +      "description": "The number it resolved to.",
      +      "type": "string"
      +    },
      +    "resolved_from": {
      +      "description": "The name the caller passed.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "Company status; an active match is preferred over a dissolved namesake.",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "company_number": "00006245"
      +  },
      +  {
      +    "category": "accounts",
      +    "company_number": "00006245",
      +    "items_per_page": 25
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "company_number": {
      +      "description": "UK company number",
      +      "type": "string"
      +    },
      +    "filings": {
      +      "description": "List of filing history records",
      +      "items": {
      +        "properties": {
      +          "action_date": {
      +            "description": "Action date (ISO format)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "category": {
      +            "description": "Filing category (accounts, confirmation-statement, etc.)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "description": {
      +            "description": "Filing description",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "document_metadata": {
      +            "description": "Link to document metadata",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "filed_on": {
      +            "description": "Filing date (ISO format)",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "pages": {
      +            "description": "Number of pages in filing",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "transaction_id": {
      +            "description": "Filing transaction ID",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": {
      +            "description": "Filing type",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "description": "Total number of filings",
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "company_number",
      +    "total",
      +    "filings"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds real context beyond that: it discloses the page size (up to 25 filings per page) and the shape of each returned record, which tells the agent what a call actually yields. It stops short of describing pagination continuation behavior or rate limits.

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 sentences, front-loaded with the action and the key parameter, then the return shape, then the filter. Minor waste: the category value list is duplicated verbatim in the schema, so one clause could be trimmed.

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

Completeness4/5

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

For a paginated read tool with full annotation coverage and an output schema, the description covers the essentials: what comes back, page size, and filtering. Pagination mechanics beyond "up to 25 per page" (start_index vs items_per_page interactions) are left to the schema, which is acceptable given the output schema exists.

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 examples and the name-resolution warning, so the schema already carries parameter meaning. The description only restates the company_number source and the category values, adding little new semantics. Baseline 3 applies when the schema does the heavy lifting.

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

Purpose5/5

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

States a specific verb and resource: "Retrieve filing history for a UK company by company_number". It then enumerates the returned fields and the category filter, so an agent can distinguish it immediately from siblings like get_charges or get_officers, which cover different Companies House resources.

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?

It gives useful provenance guidance by pointing at search_companies as the source of company_number, and the category list hints at narrowing scope. However, it never states when to choose this tool over get_charges, get_officers, or get_persons_with_significant_control, so routing among the filing-adjacent siblings is left to inference.

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.