Skip to main content
Glama

lookup_company

Read-onlyIdempotent

Retrieves a UK company record by Companies House number, including officers, persons with significant control, and parent or subsidiary links, plus a ready-built ownership graph for tracing control.

Instructions

Look up a UK company by its Companies House registration number and return the company record plus a ready-built ownership graph (officers, persons of significant control, parent/subsidiary edges). Pass the number verbatim — do not strip leading zeros (e.g. 09446231, SC123456).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "number": "<number>"
    },
    "name": "lookup_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesUK Companies House registration number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral information: the response is not just a record but a pre-built ownership graph, which tells the agent it does graph assembly work rather than raw retrieval. It omits error behavior for an unknown or foreign registration number and any rate-limit or auth notes.

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?

Two sentences, both load-bearing: the first defines scope and output, the second encodes the input constraint. The output composition is front-loaded and the caveat follows, with 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.

Completeness4/5

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

With no output schema, the description must describe return values, and it does so by naming the record and the graph components. The only gap is the negative case — what happens when the number is invalid, not found, or not a UK company — which matters for an open-world lookup that can fail on bad input.

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 would be 3, but the description adds real meaning beyond the schema: 'pass the number verbatim' and 'do not strip leading zeros', with two concrete format examples. That prevents a plausible failure mode (leading-zero truncation or reformatting) that the schema's maxLength constraint does not communicate.

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 (look up) and resource (UK company by Companies House registration number) and enumerates the return payload: company record plus ownership graph with officers, PSCs, and parent/subsidiary edges. This clearly separates it from search-oriented siblings like search_companies, which take free-text rather than a registration number.

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

Usage Guidelines3/5

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

The description makes the input condition clear (you must already have a Companies House number) and gives a concrete formatting rule about preserving leading zeros. However, it never names an alternative such as get_company_details, lookup_by_identifier, or trace_ownership_path, so an agent must infer from the sibling list which tool to prefer when it has a name rather than a number.

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