Skip to main content
Glama

search_companies

Read-onlyIdempotent

Search UK Companies House by company name or fragment to resolve a business name into its registration number, then use that number for detailed company lookups.

Instructions

Free-text company-name search against UK Companies House. Use this to resolve a company NAME into the registration number that lookup_company needs.

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": {
      "q": "<q>"
    },
    "name": "search_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesCompany name or fragment.
limitNoMax results (default 8).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.11

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety and idempotency profile is fully covered structurally. The description adds the jurisdiction of the underlying dataset, which is useful, but says nothing about matching behavior (exact vs fuzzy vs prefix), result ordering, or the shape of returned records. With annotations carrying the behavioral burden, a 3 is appropriate.

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 short sentences with zero filler. The capability is stated first and the downstream purpose second, so an agent gets the key fact before the routing advice.

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?

There is no output schema, so the description must hint at what comes back; 'resolve a company NAME into the registration number' adequately signals that results carry registration numbers. For a two-parameter read-only search this is nearly complete, with only the result shape and match semantics left unstated.

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 parameters (q, limit) are already documented with types, bounds, and defaults, which sets the baseline at 3. The description adds only that q should be a company NAME, implicitly excluding registration numbers or officer names; it says nothing about how fragments are matched or how limit affects ordering.

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 ('Free-text company-name search') and names the exact data source ('UK Companies House'). It also states the outcome ('resolve a company NAME into the registration number'), which lets an agent distinguish it from lookup_company without opening either schema.

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 clear routing guidance: use this when you have a name and need the registration number that lookup_company requires. That establishes the ordering between the two tools. It stops short of stating when-not-to-use conditions, such as searching by registration number or officer name, which other siblings (lookup_by_identifier, search_entities) likely cover.

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