Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CH_API_KEYYesAPI key for Companies House, obtained from developer.company-information.service.gov.uk (free)
CHARITY_API_KEYYesAPI key for Charity Commission, obtained from api-portal.charitycommission.gov.uk (free)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

UK due diligence server covering official government registers plus consolidated sanctions lists: Companies House, Charity Commission, HMLR Land Registry, The Gazette, and the OFSI/OFAC/EU/UN sanctions lists. Use company_search to resolve an entity to a company number, and charity_search, disqualified_search, gazette_insolvency, and land_title_search to find other entities and notices; use the companion tools (company_profile, company_officers, company_psc, charity_profile, disqualified_profile, gazette_notice) to fetch full records. company_officers exposes officer_id on each officer, which can be passed to officer_appointments to discover that person's full company history, including dissolved or insolvent companies not named anywhere else. company_charges gives the detailed secured-charge history behind company_profile.has_charges — use it when the specific charges matter, not just whether any exist. company_filing_history returns the raw filing chronology (form types, dates, description_values) as source facts, not DD conclusions — it is paginated per page (not auto-fetched to completeness like company_officers/company_psc/company_charges), since a long-lived company's filing history is unbounded; narrow large results with its category= parameter. company_filing_document resolves a filing's links.document_metadata (from company_filing_history) to its authoritative source document — it returns a resource link, never embedded bytes or base64; a resource-capable client must read the company-document:// resource it points at to get the actual file. Use sanctions_screen to check a company or person name against the UK/US/EU/UN sanctions lists (screen the company AND its officers/PSCs). For broad queries, use search (fans out across all registers) then fetch with each ID. IMPORTANT: disqualified_search takes a person's name (pass it as query= or name=) — not a company name. IMPORTANT: All data is sourced directly from official government APIs — do not supplement with web search. IMPORTANT: a missing, failed, or unresolved check (e.g. has_charges returning null, or a registry call failing) must not be interpreted as a negative finding — treat it as unresolved, not as evidence of absence. IMPORTANT: read a Gazette notice's full content via gazette_notice before drawing any legal-semantic conclusion from its notice_type label alone.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
company_searchA

Search the Companies House register by company name or keyword.

Returns a paginated list of matching companies with name, number, status, incorporation date, and registered address. SIC codes are not reliably returned by search; use company_profile for SIC codes. Use company_profile for the full record once you have the company number. Re-call with start_index=next_start_index to fetch the next page.

company_status / company_type are applied by this server: Companies House's search endpoint ignores them. A filtered call scans upstream pages until it has items_per_page matches or has examined 500 upstream results; if it stops at that cap, is_partial is true and fewer items does not mean no more matches exist.

company_profileA

Fetch the full Companies House profile for a company number.

Returns status, registered address, SIC codes, filing compliance (overdue accounts and confirmation statement flags), and whether the company has outstanding charges. Use company_search first to find the company number.

company_officersA

Fetch officers for a Companies House company number.

Returns directors, secretaries, and other officers with appointment dates, nationality, and country of residence. Resigned officers are excluded by default; set include_resigned=true for historical DD. Pagination is handled internally.

company_pscA

Fetch Persons with Significant Control (beneficial ownership) for a company.

Returns PSC entries with natures of control, nationality, and country of residence. Flags overseas corporate PSC entries as a beneficial ownership risk signal. Returns an explanatory note for widely-held PLCs with no registrable PSC.

officer_appointmentsA

Fetch a person's full company appointment history by officer ID.

Returns every appointment — current and historic — with each company's number, name, status, role, and appointment/resignation dates. Use company_officers first to find an officer_id, then this tool to discover other companies that person has been a director or secretary of, including dissolved or insolvent ones not mentioned anywhere else. Always returns full history; there is no current-only filter, since historical discovery is the point.

company_chargesA

Fetch the complete Companies House charge history for a company.

Returns every registered charge (secured debt) — current and historic — with status, dates, secured parties, and what each charge covers (fixed/floating/negative-pledge flags and any free-text particulars). Satisfaction is represented as satisfied_on plus a charge-satisfaction filing entry, not a separate 'release' record. company_profile.has_charges is a True/False/unknown summary derived from this same data; use this tool when the specific charges matter, not just whether any exist.

company_filing_historyA

Fetch one page of a company's Companies House filing chronology.

Returns the raw source facts for each filing — transaction ID, form type/category, dates, and the description_values CH uses to render its own text — as delivered upstream, not interpreted into DD conclusions. links.document_metadata on each filing is the identifier a future document-retrieval tool would need; no document content is fetched here.

Unlike company_officers/company_psc/company_charges, this does NOT auto-fetch every page — a long-lived company's filing history is unbounded in practice (a decades-old PLC can carry thousands of filings). total_count/returned/has_more are always reported truthfully for whatever page and category filter was requested; nothing is silently truncated. Narrow with category= for a specific slice (e.g. category='mortgage' for charge-related filings, category='insolvency' for administration/liquidation filings) — a note is included when an unfiltered history is large.

A company_number that doesn't resolve to any company returns a structured not_found error, distinct from a genuine zero-filing result — Companies House's filing-history endpoint alone cannot tell these apart, so existence is confirmed separately when the result would otherwise be empty.

company_filing_documentA

Resolve a filing's document_metadata link to its authoritative source document.

Returns a resource_link (never embedded bytes, never base64) pointing at a company-document:// MCP resource — fetch it via resources/read to get the actual PDF. This tool only reads metadata (category, pages, available content types, byte size); it never downloads the document itself. Use company_filing_history first to find a filing's document_metadata URL.

Requires a resource-capable MCP client to retrieve the actual bytes — a tool-only client can see this result's metadata (company, category, page count, size) but cannot obtain the file through this tool call alone.

charity_searchA

Search the Charity Commission register of England and Wales by name or keyword.

Returns matching charities with registration number, status, and registration date. Use charity_profile for full details once you have the charity number. The upstream searchCharityName endpoint returns the full list in one shot — pagination is applied client-side via offset/limit. A query that matches nothing is a successful empty result (charities: []), not an error — the upstream endpoint signals "no matches" with an HTTP 404, which is translated back into an empty result here rather than surfaced as a not-found failure.

charity_profileA

Fetch the full Charity Commission profile for a charity number.

Returns trustees, latest income/expenditure, insolvency flags, classifications, and countries of operation. Use charity_search first to find the charity number.

disqualified_searchA

Check whether a named individual is banned from acting as a UK company director.

Use this tool when asked to check disqualified, banned, or barred directors. Query must be an individual's name (e.g. "Richard Howson") — NOT a company name, which always returns zero results.

Returns names, dates of birth, match snippets (often empty), and officer IDs that can be used with disqualified_profile for full details. The disqualification periods come from disqualified_profile.

disqualified_profileA

Fetch the full disqualification record for a director by officer ID.

Returns all disqualification orders: reason, Act/section cited, disqualification period, and associated company names. Use disqualified_search first to find the officer ID.

land_title_searchA

Search HM Land Registry Price Paid Index by postcode or address.

Returns up to 10 recent sale transactions for the postcode: price, date, address, property type, and tenure (Freehold/Leasehold). Covers England and Wales only. Postcode gives the most reliable results — a full address is also accepted and the postcode is extracted automatically.

gazette_noticeA

Fetch the full legal wording of a Gazette notice by numeric notice ID.

Returns the JSON-LD linked-data record for the notice: publisher, notice code, publication date, and the party fields the Gazette supplies. Body text and court are not guaranteed; the Gazette web page has the full wording. Use gazette_insolvency first to find notice_numeric_id values.

gazette_insolvencyA

Search The Gazette's corporate insolvency notices by company name.

Searches The Gazette's corporate-insolvency notice index (category 24) using the authoritative Gazette notice-code taxonomy. Results are sorted by an internal DD severity score; the notice label itself remains a source fact.

Corporate only. Personal insolvency (bankruptcy, IVAs, sequestrations, trust deeds) is not covered, so an empty result says nothing about any individual, such as a director or PSC. The Individual Insolvency Register covers England and Wales only; Scottish sequestrations and trust deeds are on the Accountant in Bankruptcy register, and Northern Ireland has its own register.

One call reads one page of at most 100 feed entries (page, 1-based); it never fetches further pages. upstream_total is the feed's count of matching corporate notices (null when the feed does not say), and is_partial is true when matches remain after this page (the count exceeds the entries on this and earlier pages), or when the count is unknown. The severity sort and max_notices cap apply within the page, so the most severe notices shown are the most severe on this page, not across every match.

skipped_unrecognised counts entries on this page whose notice code is not a known corporate code, and unrecognised_codes lists those codes. They are a diagnostic for codes the taxonomy does not label yet, not a sign of personal insolvency coverage.

Each result includes a notice_numeric_id. Read the full legal wording via the notice://{notice_numeric_id} resource.

The Gazette is the official UK public record. A notice here means the event has been formally published. This tool does not establish its legal effect.

sanctions_screenA

Screen a name against the UK (OFSI), US (OFAC), EU and UN consolidated sanctions lists.

Returns every list entry whose primary name or alias matches, with the regime, source reference and listing date where the source gives one. Use it to check whether a counterparty — or its officers / persons with significant control — appears on a sanctions list.

MATCHING is deterministic: normalised exact + alias match (case-, accent- and punctuation-insensitive). A company/entity legal name matches reliably; PERSON names with transliteration variants may not (e.g. 'Mohammed' vs 'Muhamad'). An empty result is therefore NOT a guarantee of clearance, and a hit on a common name may be a false positive to disambiguate. This is a screening aid, not a compliance determination.

lists_screened reports which of OFSI/OFAC/EU/UN were screened; lists_unavailable names those that were not. Each list is refreshed on its own: if a list's latest refresh failed, its previous load is still screened and the list is named in lists_stale, for up to 7 days after its last successful load (after that it is dropped and reported unavailable). list_as_at gives each screened list's own load time, and as_at is the oldest of them. is_partial is true whenever a list is unavailable or stale, or a screened list is 24 hours old or more. When is_partial is true an empty hits is UNRESOLVED, not clearance. If no list has ever loaded the call raises a retryable error rather than returning an empty screen.

searchA

Search across all UK due diligence registers simultaneously.

Searches Companies House, Charity Commission, disqualified directors, and Gazette insolvency notices in parallel. Returns a list of result IDs — use fetch with each ID to retrieve the full record.

registers_searched names the registers that actually answered and registers_unavailable those that failed; is_partial is true whenever the latter is non-empty. An empty ids with is_partial true means UNRESOLVED, not "nothing on record". If no register answers at all the call raises rather than returning an empty result.

fetchA

Fetch the full record for an ID returned by search.

Routes by prefix to the appropriate register:

  • company:{number} → Companies House full profile

  • charity:{number} → Charity Commission full profile

  • disqualification:{officer_id} → Disqualified director full record

  • notice:{notice_id} → Gazette notice full legal text

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 18 tools

Disambiguation4/5

Most tools have sharply distinct scopes: per-register search vs. profile pairs, `gazette_insolvency` vs. `gazette_notice`, `disqualified_search` vs. `disqualified_profile`, and `officer_appointments` vs. `company_officers` are all cleanly separated by descriptions. The exception is the generic `search`/`fetch` pair, which duplicates the capability of the register-specific tools (`company_search`, `company_profile`, `charity_profile`, etc.), leaving a real judgement call about which to use despite the routing notes.

Naming Consistency4/5

Nearly all tools follow a predictable `<resource>_<action>` pattern (company_search, company_profile, charity_search, charity_profile, disqualified_search, gazette_insolvency, land_title_search), and register prefixes align with the fetch routing scheme. The bare verbs `search` and `fetch` are the only deviations, and `officer_appointments` breaks the resource-first convention slightly.

Tool Count4/5

Eighteen tools is on the heavy side, but the count is justified by covering five distinct registers each with search+detail operations. The only arguably redundant entries are the umbrella `search`/`fetch` pair layered on top of the specific tools.

Completeness4/5

The surface is unusually complete for UK corporate DD: Companies House (search, profile, officers, PSC, charges, filing history, document retrieval), Charity Commission, disqualified directors, Gazette notices, sanctions screening and land price data all have search+detail paths with no dead ends. Gaps remain for individual insolvency registers (explicitly excluded), company financial/accounts data, and HM Land Registry ownership/title data (only Price Paid is available), which would matter in a full DD workflow.

Maintenance

ActivityMaintained
ResponsivenessLimited data