Skip to main content
Glama
kaylum54

companies-house-screening-mcp

by kaylum54

companies-house-screening-mcp

MCPホストから英国企業をCompanies House公開レジスタでスクリーニングします。サプライヤーリストの一括スクリーニング、ワンコールの企業スナップショット、リスクスコアではなく事実に基づくシグナルを提供します。

ステータス: 全6フェーズ中フェーズ6。 11のツール、実行中のサーバーから生成されCIでゲートされるドキュメント、ツール選択評価、ライブAPIから記録されたフィクスチャ。リリースパイプラインは構築済み。まだ公開されていません。

もう一つあります。知っておくべきです

companies-house-mcp by @aicayzer は2025年7月から存在し、v4.0.0で、積極的にメンテナンスされています。同じAPIをカバーしています。このプロジェクトは最初ではなく、そう主張もしません。

この2つは形が異なるため、どちらが適しているかは何をしているかによります。

幅広さを求めるなら彼らのものを使いましょう。 より多くのAPIを公開しています — 登録簿、免除、英国の事業所、役員の資格喪失 — そして重要なことに、提出された書類そのものをダウンロードできます。こちらは意図的にそうしていません: Companies Houseの文書APIはここでは対象外です。

閲覧ではなくスクリーニングを行うならこちらを使いましょう。 重要な違い:

一括スクリーニング

screen_companies は最大50の名前または番号を受け取り、それぞれ1行を返します。他にこれを行うものはありません。

企業番号を推測しない

取得ツールは、リクエストの前に企業名を完全に拒否します。名前が与えられると、モデルは正しく見える番号を生成し、もっともらしい間違った番号は、下流で何もフラグを立てない別の実在の企業を返します。ADR 5。

スコアではなくシグナル

各観察の背後にある日付または名前とともにレジスタから読み取られた事実、そして意図的に評価なし。ADR 7 にその議論があります。

静かに何も落とさない

部分的な結果にはラベルが付けられます。短く返ってきたスクリーニングテーブルは常にその理由を述べます。ADR 8。

古くならないドキュメント

ツールリファレンスは実行中のサーバーから生成され、すべての例が実行されます。どちらかがずれた場合、CIは失敗します。ADR 9。

ツール選択評価

実際のモデルにどのツールに手を伸ばすかを尋ね、不安定さで失敗します。ADR 10。

11の決定がdocs/adrに文書化されています。明白な方法では進まなかったものも含めて。

Related MCP server: Companies House MCP Server

インストール

npx -y companies-house-screening-mcp

ホスト設定:

{
  "mcpServers": {
    "companies-house": {
      "command": "npx",
      "args": ["-y", "companies-house-screening-mcp"],
      "env": { "COMPANIES_HOUSE_API_KEY": "your_key" }
    }
  }
}

またはDockerで — -i があり -t がないことに注意してください。TTYはJSON-RPCフレーミングを破壊するためです:

docker run --rm -i -e COMPANIES_HOUSE_API_KEY=your_key ghcr.io/OWNER/companies-house-screening-mcp

無料のAPIキーをdeveloper.company-information.service.gov.ukで取得してください: 登録し、Live環境に対してアプリケーションを作成し、RESTタイプのキーを作成します(ストリームキーも同じ方法で認証されますが、別のサービス用です)。

なぜ別のAPIラッパーなのか

これを構築する明白な方法は、エンドポイントごとに1つのMCPツールを置くことです。22の薄いパススルー、週末の仕事、そしてそれがほとんどの公開されたMCPサーバーです。また、3つの具体的な点で悪いです:

  • すべてのツールスキーマは、タスクが必要とするかどうかに関係なく、毎ターンモデルのコンテキストに存在します。

  • オーケストレーションをモデルに押し付けます。「このサプライヤーをオンボードしても安全か」は、検索、次にプロフィール、次に役員、次にチャージ、次に破産 — 5往復と、流れを失う5つの機会になります。

  • Companies Houseのペイロードは、モデルが読まない構造を運びます — links、etag、kind、アイテムごとのETag、提出トランザクション配列、9キーの住所オブジェクト。それらを整形して取り除くと、想定ではなく実際に記録された応答に対して測定して、エンドポイントに応じて36%から72%節約できます(npm run measure)。

したがって、このサーバーは質問を中心に形作られた11のツールを公開し、そのうち2つ(company_snapshot と screen_companies)はサーバー側でファンアウトを行い、1つの派生オブジェクトを返します。取得ツールは企業番号を受け入れ、企業名を拒否します。名前が与えられるとモデルが番号を推測し、もっともらしい間違った企業番号は、下流で何も間違いとしてフラグを立てない実在の企業を返すためです。

ツール

ツール

戻り値

find_company

名前または番号のランク付けされた候補。disambiguation_needed フラグ付き。

find_officer

人物の名前の候補役員ID。任命数付き。

get_company

プロフィールに加え、延滞提出、チャージ、破産、最近の設立の派生フラグ。

get_officers

現任および辞任した役員。それぞれに、他の企業を調べるために必要なID付き。

get_filing_history

何がいつ提出されたか。カテゴリでフィルタリング可能。

get_charges

担保付き債務。APIが決して報告しない派生の outstanding_count 付き。

get_psc

実際に企業を支配しているのは誰か、そしてその支配がどのように保持されているか。

get_insolvency

破産事件と任命された実務者。

get_officer_appointments

役員が関与するすべての企業 — 利益相反ツール。

company_snapshot

プロフィール、役員、チャージ、破産を1回の呼び出しで、シグナル付き。

screen_companies

最大50社を入力、それぞれ1行を出力、静かに何も落とさない。

完全なリファレンス: docs/tools。実例: docs/recipes — サプライヤースクリーニング、取締役の利益相反チェック、請求書検証、債務者リスク、競合他社の提出監視。

シグナルは事実であり、評価ではありません。 このサーバーは企業をスコアリングせず、取引しても安全かどうかを教えません — レジスタで見つけたものを、各観察の背後にある日付または名前とともに報告し、判断はコンテキストを持つ人に委ねます。空のシグナルリストは、リスト上の何も見つからなかったことを意味し、企業が健全であることを意味しません。ADR 7 に完全な論拠があります。

すべてのツールは readOnlyHint: true で注釈され、出力スキーマを公開し、verbose を受け取って整形されたペイロードと一緒に未加工のペイロードを返します。

ツールの内部

構成要素

機能

loadConfig

起動時にすべての環境変数を検証し、内部フィールドではなく変数名を指定して、すべての問題を一度に報告します。

CompaniesHouseClient

ベーシック認証リクエスト、リクエストごとのタイムアウト、429および5xxでのジッター付きリトライ、条件付き再検証、失敗時の古いデータへのフォールバック。

RateLimiter

文書化された5分あたり600に合わせたスライディングウィンドウ。安全マージンと直列化された取得付き。

ResponseCache

ディスクよりもメモリ、リソース種別ごとのTTL、アトミック書き込み、破損したエントリはミスとして扱われます。

CompaniesHouseError

すべての失敗は、安定したコード、平易な文、次のステップを運びます。

Projections

上流をフィールドごとに防御的に読み取ります。出力は公開されたスキーマに対して厳密に検証されます。

284のテスト、ネットワーク不要、実行にAPIキーは不要です。

設定

必要な変数は1つだけです。

変数

デフォルト

備考

COMPANIES_HOUSE_API_KEY

—

必須。REST APIキーをデベロッパーポータルで作成する。ストリーミングキーではない。

CH_API_BASE_URL

https://api.company-information.service.gov.uk

プロキシ用の上書き。

CH_RATE_LIMIT

600

ウィンドウあたりのリクエスト数。キーを別のプロセスと共有している場合は下げる。

CH_RATE_WINDOW_MS

300000

5分。

CH_RATE_SAFETY_MARGIN

0.95

このプロセスが使用する予算の割合。

CH_CACHE_ENABLED

true

CH_CACHE_DIR

プラットフォームのキャッシュディレクトリ

XDG_CACHE_HOME と LOCALAPPDATA を尊重する。

CH_TIMEOUT_MS

10000

リクエストごと。

CH_MAX_RETRIES

3

最初の試行後のリトライ回数。

CH_LOG_LEVEL

info

error、warn、info、debug。ログはstderrに出力される。

CH_ENV_FILE

—

サーバーが読み取る .env の絶対パス。デフォルトでは設定されない。意図的。

開発

npm install
npm test
npm run typecheck
npm run build
npm run docs:generate

ドキュメントは生成され、CIで検証される。 docs/tools は実際のMCPクライアントを介して実行中のサーバーからレンダリングされ、docs/recipes 内のすべての呼び出しはページのビルド時に実行される。コミットされた内容と異なる場合 npm run docs:check は失敗し、CIはテストの前にそれを実行し、テストスイートも同じ比較を実行するため、変更がまだ目の前にあるうちに失敗が発生する。ツールの説明を変更したら再生成する必要がある。そうしないとビルドが赤くなる。

テストスイートは、ライブのCompanies House APIから記録されたフィクスチャに対してオフラインで実行されるため、新規クローンは何も設定せずに動作する。npm run record-fixtures で再記録できる — どの企業から取得したか、なぜそれらが選ばれたかは tests/fixtures/README.md を参照。

キーを取得したら、.env.example を .env にコピーして記入する:

npm run test:live

すべての開発コマンドはそのファイルを読み取る。シェルにすでに設定されているものは優先される。公開サーバーは、CH_ENV_FILE がファイルを指定しない限り .env を読み取らない — ホストはホストの作業ディレクトリでサーバーを起動し、たまたまそこにある .env を拾うのは、誤った認証情報を読み込む良い方法だからだ。

そのテストはCIで毎晩実行される。その役割は合格することではなく、Companies Houseがフィールドを変更した週に大きな音を立てて失敗することだ。そうすることで、ユーザーがドリフトに気づく前にフィクスチャが更新される。

ツール選択評価

このリポジトリのすべてのテストはツールが機能するかを問う。どのテストも問えないことが一つある。それは、人が実際の質問をしたときにモデルが正しいツールに手を伸ばすかどうかだ — ツールが正しく、高速で、完全にカバーされていても、説明が曖昧だったり別のツールと重複していたりすると、選択されないことがある。これは公開されたMCPサーバーで最も一般的な実際の欠陥だ。

npm run eval -- --repeat 3

OpenRouter または Anthropic API 経由で実行される — OPENROUTER_API_KEY または ANTHROPIC_API_KEY を設定する。デフォルトではOpenRouter上の z-ai/glm-5.2 を使用し、フルパスで約4ペンスかかる。なぜなら、料金が原因で誰も実行しない評価は何もしていないのと同じだからだ。ツールサポートのある任意のモデルを --model で指定して比較できる。

人が実際に使う言い回しで表現された14の質問を、最初に呼び出されたツール、禁止されたツールに触れたかどうか、引数が正しかったかどうか、そして最も重要なものとして、モデルが質問に含まれていない会社番号を捏造したかどうかで採点する。3回中2回合格したケースはフレーキーとして報告され失敗する。なぜなら、断続的な選択は2つの説明が重複していることを意味するからだ。

3つのモデル(GLM 5.2、Kimi K3、DeepSeek V4 Pro)で実行すると、93〜98%のスコアとなる。グラウンディンググループ — 会社名が与えられ番号がない場合、番号を思い出すのではなく検索する — は3つすべてで7/7合格。失敗は集中しており、そのうち3つはモデルではなく、私自身のツール説明の欠陥と、1つは評価自体の欠陥であることが判明した。

Companies Houseのキーは不要。何も実行されない。完全な比較とその結果は evals/README.md、推論は ADR 10 を参照。

設計ノート

11の決定が docs/adr に文書化されている:

  1. アーキテクチャ決定の記録

  2. スライディングウィンドウレートリミッターとその安全マージン

  3. 例外ではなくデータとしてのエラー

  4. キャッシュ、TTL、および古いフォールバック

  5. 質問型ツール、および名前が拒否される理由

  6. 結果ペイロードが2回送信される理由

  7. スコアではなくシグナル

  8. 部分的な結果、および何も静かに破棄しないこと

  9. 生成されたドキュメント、CIで検証

  10. ツール選択評価

  11. タグ駆動リリース、証明付きで署名

スコープ

恒久的に読み取り専用。すべてのツールは readOnlyHint: true で注釈され、書き込みパスはない。企業に代わって文書を提出するCompanies Houseの提出APIは、リスクプロファイルが異なる別の製品であり、このサーバーのスコープ外である。ストリーミングAPIもスコープ外である。文書APIを通じて提出書類のPDFまたはiXBRLを取得することはフェーズ7であり、読み取り専用のままとなる。

ロードマップ

フェーズ

内容

ステータス

1

クライアント、認証、レートリミッター、キャッシュ、エラーマッピング、フィクスチャ

完了

2

Zodスキーマと整形されたプロジェクションを持つ9つのプリミティブツール

完了

3

company_snapshot と screen_companies

完了

4

CIドリフトチェック付きの生成ツールドキュメント、5つの実践レシピ

完了

5

ツール選択評価スイート、CIでのライブスモークテスト、残りのADR

完了

6

証明付きのnpmおよびDockerリリース

パイプライン構築済み、未公開

ライセンス

ソースコード: MIT。

このサーバーが返すデータは、Companies HouseがOpen Government Licence v3.0の下で公開しており、MITライセンスの対象ではない。再配布する場合は、OGLが要求する帰属表示を付けること:

政府機関の情報を含む。Open Government Licence v3.0の下でライセンスされている。

このプロジェクトはCompanies Houseとは提携しておらず、その承認も受けていない。

Available Tools

11 tools
company_snapshotCompany snapshotA
Read-onlyIdempotent

Everything worth knowing about one company in a single call: profile, serving officers, outstanding charges and insolvency cases, plus a list of signals read off the register. Use this instead of calling get_company, get_officers, get_charges and get_insolvency separately — it costs one round trip of yours rather than four, and it fills in the sections that Companies House reports as 404 when a company simply has none. The signals are facts, not a rating: this server does not score companies, and an empty signal list means nothing on the list was found rather than that the company is sound. Check sections_included before drawing a conclusion from an absent signal.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
company_numberYesEight-character Companies House number, such as 00000006 or SC123456. Leading zeros may be omitted. This tool does not accept a company name — call find_company first if that is all you have.
include_chargesNoInclude charges. On by default.
include_officersNoInclude serving officers. On by default; turn it off to save one request per company.
include_insolvencyNoInclude insolvency cases. On by default.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
nameYes
statusNo
chargesNo
signalsYes
accountsYes
officersNo
age_yearsNo
sic_codesYes
insolvencyNo
dissolved_onNo
company_numberYes
incorporated_onNo
type_descriptionNo
sections_includedYesWhich sections were fetched. Signals can only reflect the sections listed here.
sections_unavailableYesSections that failed. The snapshot is still returned; treat those signals as unknown.
confirmation_statementYes
registered_office_addressNo

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and non-destructive. The description adds valuable behavior: signals are facts not ratings, empty signal list means nothing found rather than soundness, incomplete 404 sections are filled, and the caller must check sections_included before concluding absence. This goes beyond the structured hints without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but well organized: it opens with the core value proposition, then gives the comparison to siblings, then the interpretation caveat, then the sections_included caution. Every sentence adds information and none are redundant with the schema or annotations.

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?

Given the output schema exists and annotations carry the safety profile, the description covers what an agent needs to invoke correctly: when to use it, what it returns at a high level, how to interpret empty signals, and how to control size/cost via parameters. Nothing critical is missing for a read-only aggregation tool.

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

Parameters4/5

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

Schema description coverage is 100%, so the schema already documents all five parameters well. The description adds context beyond the schema, particularly the round-trip cost implication of include_officers and the caution about verbose payload size. It does not re-describe every parameter, which is appropriate given full schema coverage.

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?

The description uses a strong verb phrase ('Everything worth knowing about one company in a single call') and enumerates the exact resources covered: profile, serving officers, outstanding charges, insolvency cases, and signal list. It also explicitly contrasts with sibling calls (get_company, get_officers, get_charges, get_insolvency), making differentiation unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use this tool instead of the four separate sibling tools, noting the round-trip advantage and the fact that it fills in sections that Companies House reports as 404. It also warns against misinterpreting empty signal lists and directs users to check sections_included, and implicitly routes name-only lookups to find_company via the schema description.

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

find_companyFind a companyA
Read-onlyIdempotent

Search Companies House for a UK company by name, trading name or number. Start here whenever you have a name rather than a number, because every other tool in this server needs the number. Returns a shortlist with status, type and incorporation date so that companies with similar names can be told apart. When disambiguation_needed is true, ask the user which one they meant instead of taking the first result — dozens of live companies share a name, and picking the wrong one produces a confident answer about the wrong business.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesCompany name, partial name, or company number.
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
start_indexNoZero-based offset into the full result set. Use pagination.has_more to decide.
items_per_pageNoHow many records to return. Defaults to the API default; the maximum is 100.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
queryYes
companiesYes
paginationYesWhere this page sits in the full result set.
exact_name_matchNoCompany number whose name matches the query exactly. Absent if none did.
disambiguation_neededYesMore than one candidate and no exact name match. Ask the user which one they meant.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool as readOnly, openWorld, idempotent, and non-destructive, so the bar for additional disclosure is met. The description goes beyond annotations by explaining the shortlist contents, the disambiguation flag, and the real risk of confidently answering about the wrong company when names collide. This is valuable behavioral context not present in the schema or annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three sentences, each earning its place: the first states the core function, the second gives routing guidance, and the third warns about a critical failure mode. It is front-loaded with the action and resource, and there is no filler or restatement of the tool name.

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?

For a read-only search tool with a 100%-covered schema, an output schema, and strong annotations, the description is complete. It covers purpose, when to use it, what results look like, and how to handle ambiguity. Nothing needed for correct invocation 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%, so the schema fully documents all four parameters. The description adds no new parameter semantics beyond what the schema already provides, though it does reinforce that the query can be a name, trading name, or number, which matches the schema. Baseline 3 is appropriate because the schema carries the full burden.

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?

The description states a specific action ('Search Companies House for a UK company'), specific inputs (name, trading name or number), and a specific output (shortlist with status, type, incorporation date). It distinguishes this tool from siblings by explicitly positioning it as the starting point when you have a name rather than a number, which differentiates it from get_company and similar number-based tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives direct usage guidance: use this tool whenever you have a name rather than a number, because every other tool in the server needs the number. It also gives a concrete behavioral rule: when disambiguation_needed is true, ask the user which company they meant rather than blindly taking the first result.

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

find_officerFind an officerA
Read-onlyIdempotent

Search Companies House for a company officer — a director, secretary or LLP member — by name. Returns candidate officer IDs with how many appointments each holds. Use it when you have a person and want the companies they are involved in; feed the officer_id to get_officer_appointments. Officer records are per-appointment-identity rather than per-person, so a common name returns many candidates and the appointment count and date of birth are usually what separates them.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesThe officer's name.
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
start_indexNoZero-based offset into the full result set. Use pagination.has_more to decide.
items_per_pageNoHow many records to return. Defaults to the API default; the maximum is 100.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
queryYes
officersYes
paginationYesWhere this page sits in the full result set.

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, the description discloses a key behavioral quirk: officer records are per-appointment-identity rather than per-person, so common names return many candidates and appointment count plus date of birth separate them. This is exactly the kind of caveat an agent needs before invoking or interpreting results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the opening sentence, followed by return values, usage guidance, and a caveat. Every sentence adds useful information and there is no padding or redundancy.

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?

Covers what the tool does, when to use it, what it returns, a key data-model caveat, and the downstream tool to call next. With a complete input schema and an output schema present, nothing essential is missing for correct selection and invocation.

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?

The input schema already describes all four parameters with 100% coverage, so the baseline is 3. The description adds no param-specific detail beyond 'by name', which the schema already conveys; it relies on the schema for parameter meaning.

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 the exact operation — 'Search Companies House for a company officer by name' — and scopes it to directors, secretaries, and LLP members. It also clarifies the output is candidate officer IDs with appointment counts, which distinguishes it from company search and officer-appointment retrieval tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit usage condition: use it when you have a person and want the companies they are involved in, and names get_officer_appointments as the next step. It does not spell out when-not-to-use it versus siblings like get_officers, but the context is otherwise clear.

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

get_chargesGet chargesA
Read-onlyIdempotent

Secured debt registered against a company: who holds each charge, what it covers, when it was created and whether it has been satisfied. outstanding_count is derived here because Companies House reports what has been settled but never what has not, and outstanding charges are the number that matters when screening a supplier or a debtor. A floating charge covering all assets is worth reading closely. Needs a company number.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
company_numberYesEight-character Companies House number, such as 00000006 or SC123456. Leading zeros may be omitted. This tool does not accept a company name — call find_company first if that is all you have.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
chargesYes
total_countYes
company_numberYes
satisfied_countYes
outstanding_countYesDerived: total minus satisfied and part-satisfied.
part_satisfied_countYes

TDQS

A4.1/5.0
Behavior4/5

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

While annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, the description adds meaningful behavioral context: outstanding_count is derived because Companies House does not report unsettled charges, and floating charges deserve closer scrutiny. This goes beyond the structured annotations without contradicting them.

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?

The description is four sentences and each contributes value: what the tool returns, an important derived-field nuance, a risk heuristic, and an input requirement. It is appropriately front-loaded with the core definition, though slightly longer than strictly necessary.

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?

Given the output schema exists and the tool is a read-only retrieval operation, the description covers the essential context: what charges are, why the derived field matters, a caution about floating charges, and the required identifier. Minor gaps like pagination are not critical given the output schema.

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%, so the schema already fully documents company_number and verbose. The description adds no new parameter-specific detail beyond restating that a company number is needed, which the schema already covers. A baseline 3 is appropriate.

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?

The description clearly identifies the resource (secured debt/charges registered against a company) and the specific attributes returned: holder, coverage, creation date, and satisfaction status. This distinguishes it from sibling tools like get_company or get_psc, which address different company data domains.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a concrete use case ('when screening a supplier or a debtor') and states the required input ('Needs a company number'). It does not explicitly call out alternatives or when not to use the tool, but the schema does point to find_company when only a company name is available.

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

get_companyGet a company profileA
Read-onlyIdempotent

The registered profile for one UK company: legal name, status, type, incorporation date, registered office, SIC codes, and the accounts and confirmation statement due dates. Also returns derived flags that Companies House does not provide — whether filings are overdue, whether the company holds charges or has insolvency history, and whether it was incorporated within the last year. Use it to verify a company is real and active before relying on it. Needs a company number; call find_company first if you only have a name.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
company_numberYesEight-character Companies House number, such as 00000006 or SC123456. Leading zeros may be omitted. This tool does not accept a company name — call find_company first if that is all you have.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
nameYes
typeNo
flagsYesDerived risk signals. Each one is computed here, not returned by Companies House.
statusNo
accountsYes
age_yearsNoWhole years since incorporation.
sic_codesYesStandard Industrial Classification codes for the trade.
dissolved_onNo
jurisdictionNo
status_detailNo
company_numberYes
incorporated_onNo
type_descriptionNo
confirmation_statementYes
registered_office_addressNo
registered_office_in_disputeNo

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish that the tool is read-only, idempotent, and non-destructive. The description adds valuable behavioral context beyond annotations: it returns derived flags that Companies House itself does not provide, such as overdue indicators, charges/insolvency history presence, and recent incorporation. It also repeats the input constraint that only a company number is accepted. No contradiction with annotations.

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?

The description is longer than minimal but every sentence earns its place: first the returned data inventory, then the derived flags, then the intended use case and prerequisite. It is front-loaded with the resource and scope, and there is no filler or tautology.

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?

Given the read-only annotations, complete parameter schema, and existing output schema, the description covers everything an agent needs to select and invoke this tool correctly: what it returns, what derived flags it adds, when to use it, and how to handle a name-only input. No critical behavioral or prerequisite information 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%, so the schema already fully documents both company_number and verbose. The tool description reinforces the 'do not pass a name' caveat and the find_company prerequisite, but it does not add meaningful parameter-level semantics beyond what the input schema already provides. Baseline 3 is appropriate.

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?

The description states a specific verb and resource: it returns the registered profile for one UK company, and enumerates the exact fields included (legal name, status, type, incorporation date, registered office, SIC codes, due dates). It also distinguishes the tool from find_company by clarifying that get_company needs a company number and does not accept a name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to use this tool to verify a company is real and active before relying on it, and directs agents to call find_company first if only a name is available. It does not explicitly mention when to prefer related sibling tools like get_charges or get_insolvency, but it does clarify that it returns only derived flags about those topics rather than full details.

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

get_filing_historyGet filing historyA
Read-onlyIdempotent

What a company has filed and when — accounts, confirmation statements, officer changes, mortgages, address changes. Use it to judge whether a company is filing on time, to see when accounts were last made up, or to watch a competitor's filing cadence. Descriptions come back as Companies House template keys such as accounts-with-accounts-type-small, with their values alongside; the key is readable enough to interpret and is not translated here because a partial translation would render some filings wrongly. Filter with category to cut the volume. Needs a company number.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
categoryNoRestrict to one category, e.g. accounts, confirmation-statement, officers, mortgage, address, capital, incorporation, resolution, insolvency.
start_indexNoZero-based offset into the full result set. Use pagination.has_more to decide.
company_numberYesEight-character Companies House number, such as 00000006 or SC123456. Leading zeros may be omitted. This tool does not accept a company name — call find_company first if that is all you have.
items_per_pageNoHow many records to return. Defaults to the API default; the maximum is 100.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
filingsYes
paginationYesWhere this page sits in the full result set.
company_numberYes

TDQS

A4.2/5.0
Behavior4/5

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

The description adds genuine behavioral context beyond the read-only annotations by explaining that filing descriptions come back as un-translated Companies House template keys and why partial translation was avoided. It also hints at response volume by recommending category filtering, which is useful for an agent deciding how to call the tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: it states the core purpose first, then use cases, then an important output-format caveat, then a filtering tip. Every sentence earns its place without verbose framing or redundant schema repetition.

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?

Given the output schema and fully described input parameters, the description covers the important operational details: what filings are included, how keys are represented, why translation is skipped, and how to reduce volume. It could be slightly stronger by mentioning pagination behavior explicitly, but the start_index parameter and output schema already carry that burden.

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%, so the parameters are fully documented in the schema. The description adds only minimal parameter-related guidance, such as using category to cut volume and requiring a company number, which mostly restates what the schema already says.

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?

The description opens with a specific statement of what the tool returns — "What a company has filed and when" — and lists concrete filing types such as accounts, confirmation statements, and officer changes. This clearly distinguishes it from sibling tools like get_company or get_officers by focusing on filing history events.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit use cases: judging whether a company files on time, seeing when accounts were last made up, and watching a competitor's filing cadence. It also notes the need for a company number and suggests filtering with category, though it does not explicitly name alternative tools or state when not to use it.

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

get_insolvencyGet insolvency historyA
Read-onlyIdempotent

Insolvency cases registered against a company: the type of proceeding, its key dates, and the insolvency practitioners appointed. Call it when get_company reports has_insolvency_history, or as part of a credit or supplier risk check. A company with no insolvency history returns a not-found error rather than an empty list, which is a quirk of the API and means exactly what it sounds like. Needs a company number.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
company_numberYesEight-character Companies House number, such as 00000006 or SC123456. Leading zeros may be omitted. This tool does not accept a company name — call find_company first if that is all you have.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
casesYes
case_countYes
company_numberYes

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnly/idempotent annotations, it discloses a genuinely surprising API quirk: no history yields a not-found error rather than an empty list. This prevents an agent from misinterpreting an error as a failure of the tool itself.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: what the tool returns, when to use it, and the one edge case an agent must know. Every sentence earns its place and important constraints are front-loaded.

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?

With an output schema present, the description need not re-specify return fields. It covers purpose, trigger, error behavior, and required input, and annotations cover safety, making this complete for reliable invocation.

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%, so both company_number and verbose are already documented in the schema. The description adds only a high-level 'Needs a company number' restatement, so the baseline 3 applies.

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?

The description names a specific resource (insolvency cases registered against a company) and the meaningful output (proceeding type, key dates, practitioners). It also ties it to get_company's has_insolvency_history flag, which differentiates it from sibling tools without needing to inspect schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit trigger conditions: call it when get_company reports has_insolvency_history or as part of a credit/supplier risk check. It does not enumerate exclusions or alternatives, but there is no dedicated sibling insolvency tool, and 'Needs a company number' clarifies a prerequisite.

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

get_officer_appointmentsGet an officer’s appointmentsA
Read-onlyIdempotent

Every company an officer is or has been appointed to. This is the conflict-of-interest and director-network tool: run it across a board to find the shared directorship nobody declared, or across one person to see whether they have a history of dissolved companies. Needs an officer_id, which comes from get_officers or find_officer and never from a name.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
officer_idYesOfficer identifier from get_officers or find_officer, not a person’s name.
start_indexNoZero-based offset into the full result set. Use pagination.has_more to decide.
items_per_pageNoHow many records to return. Defaults to the API default; the maximum is 100.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
nameNo
officer_idYes
paginationYesWhere this page sits in the full result set.
appointmentsYes
date_of_birthNo
active_appointment_countYesDerived from the returned page, not the whole set.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds behavior beyond that: the result includes both current and historical appointments ('is or has been appointed to') and is suited for spotting dissolved-company history. No annotation contradiction exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tightly written sentences: core function, illustrative use cases, and the key input requirement. Every sentence contributes new information and the most important facts are front-loaded.

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?

For a read-only list endpoint with a full output schema and fully documented parameters, the description covers the essential context: what data is returned, why an agent would use it, and where the required identifier comes from. Nothing critical is missing.

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

Parameters4/5

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

Schema description coverage is 100%, so the schema carries most parameter documentation. The description adds important semantic value for officer_id by stating it must come from get_officers or find_officer and not from a name, which prevents a common misuse.

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?

The description states the exact resource ('Every company an officer is or has been appointed to') and positions the tool as the conflict-of-interest/director-network lookup. This clearly distinguishes it from siblings like get_company or get_officers, which have different scopes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete when-to-use scenarios: running across a board to expose undeclared shared directorships, or checking a person's history of dissolved companies. It does not explicitly list sibling alternatives or exclusion conditions, but the use-case framing is clear enough to route an agent correctly.

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

get_officersGet company officersA
Read-onlyIdempotent

The directors, secretaries and members of one company, current and resigned, each with an officer_id you can pass to get_officer_appointments. Use it to see who runs a company, or as the first step in a conflict-of-interest check across a board. Service addresses are withheld unless verbose is set, because they are personal data and are rarely what the question needs. Needs a company number; call find_company first if you only have a name.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
start_indexNoZero-based offset into the full result set. Use pagination.has_more to decide.
company_numberYesEight-character Companies House number, such as 00000006 or SC123456. Leading zeros may be omitted. This tool does not accept a company name — call find_company first if that is all you have.
items_per_pageNoHow many records to return. Defaults to the API default; the maximum is 100.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
officersYes
paginationYesWhere this page sits in the full result set.
active_countNo
company_numberYes
inactive_countNoAppointments that ended because the company did, rather than by resignation. Non-zero on a dissolved company, and the reason active + resigned can fall short of the total.
resigned_countNo

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark the tool read-only and idempotent, and the description adds non-obvious behavior: service addresses are withheld for privacy unless verbose is set. It also discloses that verbose returns a much larger raw payload, which helps the agent set expectations beyond what the annotations convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, each earning its place: the tool's output, the use cases, the privacy caveat, and the prerequisite. The most actionable information is front-loaded, and there is no redundant wording.

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?

With an output schema present, the description does not need to explain return values. Combined with full schema documentation for all parameters, the description covers purpose, usage context, privacy behavior, and how to chain with sibling tools, so nothing critical is missing.

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

Parameters4/5

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

Schema description coverage is 100%, which sets a baseline of 3. The description adds extra meaning for company_number by emphasizing it cannot be a name and requires find_company first, and for verbose by explaining the privacy trade-off. The remaining parameters are adequately documented in the schema.

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: get officers of one company, including current and resigned. It also distinguishes itself from related siblings by noting each result carries an officer_id to pass to get_officer_appointments, making it clearly different from find_officer or get_officer_appointments.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly gives when to use the tool: to see who runs a company or as the first step in a conflict-of-interest check. It also names the prerequisite (company number) and directs the agent to call find_company first if only a name is available.

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

get_pscGet persons with significant controlA
Read-onlyIdempotent

Who OWNS a company. Use this for any question about ownership, shareholders, beneficial owners or who is ultimately behind a business — the company profile does not carry ownership and get_company will not answer it. Returns each person or entity with significant control: how much they own (shareholding band), how that control is held (voting rights, right to appoint directors), and whether the interest is current or ceased. Ownership is often not the same as the directors, so this is a different question from get_officers. Where a company cannot identify a controller it files a statement instead of a person, and that statement is returned in the name field. Needs a company number.

ParametersJSON Schema
NameRequiredDescriptionDefault
verboseNoAlso return the untouched Companies House payload under `raw`, alongside the shaped result. Roughly two and a half times the size; use it only when a field you need is missing from the shaped result.
start_indexNoZero-based offset into the full result set. Use pagination.has_more to decide.
company_numberYesEight-character Companies House number, such as 00000006 or SC123456. Leading zeros may be omitted. This tool does not accept a company name — call find_company first if that is all you have.
items_per_pageNoHow many records to return. Defaults to the API default; the maximum is 100.

Output Schema

ParametersJSON Schema
NameRequiredDescription
rawNoThe untouched Companies House payload. Present only when verbose was true.
metaYesProvenance and budget for this answer.
paginationYesWhere this page sits in the full result set.
controllersYes
active_countNo
ceased_countNo
company_numberYes

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavior beyond the annotations: it explains the returned fields, states that interests can be current or ceased, and discloses the edge case where a statement is returned in the name field instead of a person. This provides actionable behavioral context without contradicting the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but every sentence earns its place: it states the core purpose, gives usage context, distinguishes from siblings, explains the return data, and covers a key edge case. The most important routing signal is front-loaded with 'Who OWNS a company,' and the final 'Needs a company number' is a useful practical requirement. There is no filler or repetition.

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?

For a read-only, idempotent tool with an output schema and 100% schema parameter coverage, the description is complete. It explains what the tool returns, when to use it, how it differs from related tools, how to handle the statement fallback, and the prerequisite of a company number. Pagination is already covered by the schema's start_index and items_per_page descriptions, so no further behavioral detail 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%, so the input schema already documents all four parameters thoroughly, including company_number format, verbose behavior, pagination offset, and items_per_page. The description adds only 'Needs a company number' and the hint to call find_company if only a name is available, which the schema already states. This is the baseline 3 case: the schema carries the parameter-semantics burden and the description does not need to compensate.

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?

The description opens with the concrete, memorable phrase 'Who OWNS a company' and immediately identifies the resource: persons with significant control, including shareholding bands and control mechanisms. It also differentiates itself from related tools by explicitly stating that get_company will not answer ownership questions and that ownership is a different question from get_officers, so an agent can distinguish it from siblings without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance: 'Use this for any question about ownership, shareholders, beneficial owners or who is ultimately behind a business.' It also names exclusions and alternatives, warning that get_company will not answer this and directing users to find_company if they only have a company name. This is exactly the kind of routing context an agent needs.

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

screen_companiesScreen a list of companiesA
Read-onlyIdempotent

Use this whenever the question is about MORE THAN ONE company — a list, a comparison, "which of these", a batch from procurement, anything with several names or numbers in it. Prefer it over calling company_snapshot repeatedly: it costs a quarter of the requests and returns a table you can read at a glance. Screens up to 50 companies and returns one row each: status, age, and which signals were found. Names that match more than one company are never guessed at; they come back under unresolved with their candidates so you can ask which was meant. Anything skipped for want of rate-limit budget comes back under not_screened with the reason, so the table is never quietly shorter than the list you passed in. Rows carry signal codes only — call company_snapshot on one company number for the detail behind them. Officers are excluded by default because they cost an extra request per company; sections_used says what the signals could see.

ParametersJSON Schema
NameRequiredDescriptionDefault
companiesYesCompany names or numbers. Mixed input is fine. Maximum 50 per call.
include_chargesNoInclude charges. On by default.
include_officersNoFetch officers too, enabling the no_active_officers and recent_officer_departures signals. Off by default: it adds one request per company.
include_insolvencyNoInclude insolvency cases. On by default.

Output Schema

ParametersJSON Schema
NameRequiredDescription
metaYesProvenance and budget for this answer.
screenedYes
requestedYes
unresolvedYesInputs that could not be resolved to exactly one company. Never guessed at.
not_screenedYesInputs deliberately skipped, with the reason. Nothing is dropped silently.
sections_usedYesSignals in this table can only reflect these sections. Officers are off by default.

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark this read-only/idempotent, but the description adds substantial behavioral context: one row per company, signal codes only, unresolved names returned with candidates rather than guessed, not_screened entries with reasons for rate-limit skips, and officer handling with cost implications. None of this is visible in the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but every sentence contributes: usage guidance is front-loaded, the alternative is named early, and edge-case behaviors are explained in logical order. No filler or repetition of schema content.

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?

Given the tool's complexity and the presence of an output schema, the description covers all necessary operational details: limits, return shape, unresolved/not_screened behavior, signal-code usage, and officer cost trade-offs. Nothing an agent needs to safely invoke it is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful context beyond the schema: it explains that names matching multiple companies are not guessed, unresolved results include candidates, and include_officers carries an extra request cost. This helps an agent choose parameters more wisely.

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?

Description states a specific verb and resource ('Screen a list of companies') and immediately clarifies it is for MORE THAN ONE company. It explicitly contrasts with company_snapshot, so an agent can distinguish the intended use without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides explicit when-to-use conditions: lists, comparisons, batches, and anything with several names or numbers. It also names the alternatives (company_snapshot for detail, repeated calls as the less efficient option) and explains when to switch.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 11 tool updatesv0.4.0
    • Changedcompany_snapshot7 fields changed
      • changedOutput schema / properties / charges / properties / holders / description
        Previous value: -"Who holds the outstanding charges."New value: +"Holders of returned charges not recorded as fully satisfied."
      • addedOutput schema / properties / charges / properties / part_satisfied_count
        Added value: +{
        +  "type": "number"
        +}
      • changedOutput schema / properties / charges / required
        Previous value: -[
        -  "total_count",
        -  "outstanding_count",
        -  "satisfied_count",
        -  "holders"
        -]New value: +[
        +  "total_count",
        +  "outstanding_count",
        +  "satisfied_count",
        +  "part_satisfied_count",
        +  "holders"
        +]
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
      • addedOutput schema / properties / officers / properties / pagination
        Added value: +{
        +  "additionalProperties": false,
        +  "description": "Coverage of the fetched officer page, before filtering to active officers. Follow get_officers pagination for the full list; counts describe the whole register.",
        +  "properties": {
        +    "has_more": {
        +      "description": "More records exist. Call again with start_index advanced by `returned`.",
        +      "type": "boolean"
        +    },
        +    "items_per_page": {
        +      "type": "number"
        +    },
        +    "returned": {
        +      "description": "How many records are in this response.",
        +      "type": "number"
        +    },
        +    "start_index": {
        +      "type": "number"
        +    },
        +    "total_results": {
        +      "type": "number"
        +    }
        +  },
        +  "required": [
        +    "start_index",
        +    "items_per_page",
        +    "total_results",
        +    "returned",
        +    "has_more"
        +  ],
        +  "type": "object"
        +}
      • changedOutput schema / properties / officers / required
        Previous value: -[
        -  "active"
        -]New value: +[
        +  "pagination",
        +  "active"
        +]
      • changedOutput schema / properties / signals / items / properties / code / enum
        Previous value: -[
        -  "dissolved",
        -  "insolvency_proceedings",
        -  "not_active",
        -  "insolvency_history",
        -  "accounts_overdue",
        -  "confirmation_statement_overdue",
        -  "outstanding_charges",
        -  "floating_charge_over_all_assets",
        -  "no_active_officers",
        -  "recent_officer_departures",
        -  "incorporated_within_last_year",
        -  "registered_office_in_dispute"
        -]New value: +[
        +  "dissolved",
        +  "insolvency_proceedings",
        +  "not_active",
        +  "insolvency_history",
        +  "accounts_overdue",
        +  "confirmation_statement_overdue",
        +  "outstanding_charges",
        +  "part_satisfied_charges",
        +  "floating_charge_over_all_assets",
        +  "no_active_officers",
        +  "recent_officer_departures",
        +  "incorporated_within_last_year",
        +  "registered_office_in_dispute"
        +]
    • Changedfind_company2 fields changed
      • addedInput schema / properties / query / maxLength
        Added value: +256
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedfind_officer2 fields changed
      • addedInput schema / properties / query / maxLength
        Added value: +256
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedget_charges1 field changed
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedget_company1 field changed
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedget_filing_history1 field changed
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedget_insolvency1 field changed
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedget_officer_appointments1 field changed
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedget_officers2 fields changed
      • addedOutput schema / properties / inactive_count
        Added value: +{
        +  "description": "Appointments that ended because the company did, rather than by resignation. Non-zero on a dissolved company, and the reason active + resigned can fall short of the total.",
        +  "type": "number"
        +}
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedget_psc1 field changed
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
    • Changedscreen_companies8 fields changed
      • addedInput schema / properties / companies / items / maxLength
        Added value: +256
      • changedOutput schema / properties / meta / properties / licence / description
        Previous value: -"Companies House data is Open Government Licence v3.0."New value: +"OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply."
      • addedOutput schema / properties / screened / items / properties / meta
        Added value: +{
        +  "additionalProperties": false,
        +  "description": "Provenance and budget for this answer.",
        +  "properties": {
        +    "age_seconds": {
        +      "description": "How long ago the cached answer was retrieved. Absent for a live answer.",
        +      "type": "number"
        +    },
        +    "cached": {
        +      "description": "Answer came from the local cache rather than a live request.",
        +      "type": "boolean"
        +    },
        +    "licence": {
        +      "const": "OGL-v3.0",
        +      "description": "OGL v3.0 applies to eligible public-sector information. Personal data and other OGL exclusions are not licensed by this label; applicable data-protection duties still apply.",
        +      "type": "string"
        +    },
        +    "rate_limit_remaining": {
        +      "description": "Requests still available in the current five-minute window. Pace long runs by this.",
        +      "type": "number"
        +    },
        +    "rate_limit_resets_in_ms": {
        +      "description": "Milliseconds until more budget becomes available.",
        +      "type": "number"
        +    },
        +    "stale": {
        +      "description": "Answer came from an expired cache entry because Companies House was unreachable. Treat the data as possibly out of date.",
        +      "type": "boolean"
        +    }
        +  },
        +  "required": [
        +    "cached",
        +    "stale",
        +    "rate_limit_remaining",
        +    "rate_limit_resets_in_ms",
        +    "licence"
        +  ],
        +  "type": "object"
        +}
      • addedOutput schema / properties / screened / items / properties / officers_pagination
        Added value: +{
        +  "additionalProperties": false,
        +  "description": "Officer page coverage when officers were requested.",
        +  "properties": {
        +    "has_more": {
        +      "description": "More records exist. Call again with start_index advanced by `returned`.",
        +      "type": "boolean"
        +    },
        +    "items_per_page": {
        +      "type": "number"
        +    },
        +    "returned": {
        +      "description": "How many records are in this response.",
        +      "type": "number"
        +    },
        +    "start_index": {
        +      "type": "number"
        +    },
        +    "total_results": {
        +      "type": "number"
        +    }
        +  },
        +  "required": [
        +    "start_index",
        +    "items_per_page",
        +    "total_results",
        +    "returned",
        +    "has_more"
        +  ],
        +  "type": "object"
        +}
      • addedOutput schema / properties / screened / items / properties / sections_included
        Added value: +{
        +  "description": "Sections actually fetched for this company.",
        +  "items": {
        +    "type": "string"
        +  },
        +  "type": "array"
        +}
      • addedOutput schema / properties / screened / items / properties / sections_unavailable
        Added value: +{
        +  "items": {
        +    "additionalProperties": false,
        +    "properties": {
        +      "code": {
        +        "description": "The error code from the failed request.",
        +        "type": "string"
        +      },
        +      "message": {
        +        "type": "string"
        +      },
        +      "section": {
        +        "description": "Which part of the snapshot could not be read.",
        +        "type": "string"
        +      }
        +    },
        +    "required": [
        +      "section",
        +      "code",
        +      "message"
        +    ],
        +    "type": "object"
        +  },
        +  "type": "array"
        +}
      • changedOutput schema / properties / screened / items / properties / signal_codes / items / enum
        Previous value: -[
        -  "dissolved",
        -  "insolvency_proceedings",
        -  "not_active",
        -  "insolvency_history",
        -  "accounts_overdue",
        -  "confirmation_statement_overdue",
        -  "outstanding_charges",
        -  "floating_charge_over_all_assets",
        -  "no_active_officers",
        -  "recent_officer_departures",
        -  "incorporated_within_last_year",
        -  "registered_office_in_dispute"
        -]New value: +[
        +  "dissolved",
        +  "insolvency_proceedings",
        +  "not_active",
        +  "insolvency_history",
        +  "accounts_overdue",
        +  "confirmation_statement_overdue",
        +  "outstanding_charges",
        +  "part_satisfied_charges",
        +  "floating_charge_over_all_assets",
        +  "no_active_officers",
        +  "recent_officer_departures",
        +  "incorporated_within_last_year",
        +  "registered_office_in_dispute"
        +]
      • changedOutput schema / properties / screened / items / required
        Previous value: -[
        -  "input",
        -  "company_number",
        -  "name",
        -  "signal_codes",
        -  "signal_count"
        -]New value: +[
        +  "input",
        +  "company_number",
        +  "name",
        +  "signal_codes",
        +  "signal_count",
        +  "sections_included",
        +  "sections_unavailable",
        +  "meta"
        +]
  2. 11 tool updatesv0.2.0
    • First observedcompany_snapshot
    • First observedfind_company
    • First observedfind_officer
    • First observedget_charges
    • First observedget_company
    • First observedget_filing_history
    • First observedget_insolvency
    • First observedget_officer_appointments
    • First observedget_officers
    • First observedget_psc
    • First observedscreen_companies

TDQS

A4.4/5.0

Scored across 11 tools

Disambiguation5/5

Each tool targets a distinct resource/action: company search vs company profile, officer search vs officer list vs officer appointments, and individual getters vs aggregate snapshot/batch screening. The one area of potential overlap, company_snapshot with get_company/get_officers/get_charges/get_insolvency, is explicitly described as a replacement for combined calls, so agents can choose correctly.

Naming Consistency4/5

The naming mostly follows a clear find_/get_ pattern, where find_ is for search and get_ is for retrieval by an ID. The pattern is weakened slightly by company_snapshot and screen_companies, which are descriptive but break the verb-prefix convention.

Tool Count5/5

11 tools is well within the ideal range and every tool earns its place: seven single-resource lookups, two search entry points, one aggregate snapshot, and one batch screening tool. The count feels deliberately scoped for a Companies House screening domain rather than padded or thin.

Completeness5/5

The surface covers the full screening workflow: company identification, company status, officers, ownership/PSC, charges, insolvency, filing history, officer appointment networks, individual deep-dives, and batch comparison. There are no obvious dead ends or missing operations that would prevent an agent from answering typical due-diligence questions.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    C
    quality
    F
    maintenance
    Access UK company data through the Companies House API directly in MCP clients, with 45+ tools for company info, search, officers, filing history, ownership, and charges.
    37
    39 npm
    29
    AGPL 3.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    A local MCP server that exposes the UK Companies House API as tools for Claude Desktop and Cowork, enabling company search, profile retrieval, officer lookup, and document downloads.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server exposing the full UK Companies House Public Data API, enabling natural language queries for company profiles, search, officers, filing history, charges, insolvency, and persons with significant control, as well as downloading and reading PDF documents.
    -