Skip to main content
Glama

Fetch a company

fetch
Read-onlyIdempotent

Fetch one UK company by an id from search (company:; a bare company number also works). Returns an object with id, title (company name), url (company page on registrum.co.uk), text (a plain-English summary followed by the full…

Instructions

Fetch one UK company by an id from search (company:; a bare company number also works). Returns an object with id, title (company name), url (company page on registrum.co.uk), text (a plain-English summary followed by the full enriched profile as JSON: status, type, incorporation date, registered address, SIC codes, accounts and confirmation statement status) and metadata (company_number, company_status, company_type, source). Profile only; use get_bundle, get_psc, get_directors or get_financials for ownership, officers and accounts.

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": {
      "id": "<id>"
    },
    "name": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCompany id from search, e.g. 'company:02770940'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.1.9
    • changedInput schema / properties / id / description
      Previous value: -"Company id from search, e.g. 'company:00445790'"New value: +"Company id from search, e.g. 'company:02770940'"
  2. Addedv2.1.0

TDQS

A4.7/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 open-world, so the safety profile is covered. The description adds real behavioral context beyond them: the id accepts either the prefixed form or a bare company number, and it enumerates what the response object contains, which matters since there is no output schema. It stops short of stating error behavior or coverage limits for a not-found id.

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, front-loaded with the action and id format, followed by the return shape and sibling routing. Every clause carries information; the field enumeration is justified because no output schema exists.

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 a single required parameter, full schema coverage, and no output schema, the description supplies exactly the missing pieces: return field meanings and the division of labor with sibling tools. Nothing an agent needs to call it correctly is absent.

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 goes further by stating the 'company:' prefix is optional and that a bare number also works — a tolerance the schema example does not convey. It does not describe what happens with an unknown or malformed id.

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 ('Fetch one UK company by an id from search') and immediately scopes the payload as profile-only, contrasting it with named siblings for ownership, officers and accounts. An agent can distinguish this from get_company or search without opening any schema.

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 names four alternatives (get_bundle, get_psc, get_directors, get_financials) and the conditions that select them ('ownership, officers and accounts'), plus the constraint 'Profile only'. This is close to a complete routing rule.

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