Skip to main content
Glama
CompanyStack MCP server

CompanyStack MCP server

Official

Screen companies by figures, place and filings

screen_companies
Read-onlyIdempotent

Filter UK companies by financials, SIC code, location, status, and filing flags to build prospect lists or run sector and lending screens.

Instructions

The financial screener: UK companies matching every filter given, for prospect lists, sector and lending screens. Filters on the latest filed accounts (turnover, net assets, profit, employees, total assets: whole pounds), year-on-year turnover growth, SIC code, region, town or ONS local authority, incorporation date, overdue accounts, Gazette notices and outstanding charges. When a figure is filtered or sorted on, each company is judged on its latest filed accounts (basis_code accounts); otherwise every company on the register counts, with or without accounts (register). Give at least one filter. Returns total (capped at 10,000), filters_applied, notes and results with company_number, company_name, status, SIC, the latest figures, town, region, incorporation date, due dates and overdue days, outstanding charges and the latest Gazette notice. Figures that fail plausibility checks and companies at mass-registration addresses are left out. Page with offset. Needs the Starter API plan or above (a Free key gets a plan_upgrade_required error with an upgrade_url).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "screen_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo
townNoRegistered office post town, e.g. "LEEDS".
limitNoCompanies per page, 1–100 (default 25).
orderNo
offsetNoCompanies to skip, for paging.
regionNoRegion slug, e.g. "london", "north-west", "yorkshire-and-the-humber", "scotland".
statusNoCompany status, e.g. "active".
gazetteNoGazette notice groups, comma-separated, e.g. "insolvency".
sic_codeNoSIC code or its start (2–5 digits), comma-separated for several, e.g. "62" or "56101,56102".
max_assetsNoTotal assets at most.
max_profitNoProfit at most.
min_assetsNoTotal assets at least.
min_profitNoProfit at least.
has_chargesNoOnly companies with outstanding charges (secured borrowing).
max_turnoverNoTurnover at most, in pounds.
min_turnoverNoTurnover at least, in pounds, e.g. 1000000.
max_employeesNoEmployees at most.
min_employeesNoEmployees at least.
max_net_assetsNoNet assets at most.
min_net_assetsNoNet assets at least (negative for net liabilities).
exclude_holdingNoLeave out holding and financing vehicles.
incorporated_toNoIncorporated on or before (YYYY-MM-DD).
local_authorityNoONS local authority codes, comma-separated, e.g. "E08000035" (Leeds).
accounts_overdueNoOnly companies whose accounts are overdue.
incorporated_fromNoIncorporated on or after (YYYY-MM-DD).
min_turnover_growthNoTurnover growth on the year before, at least, in percent.

Output Schema

NameRequiredDescriptionDefault
sortNo
basisNo
limitNo
notesNo
orderNo
totalNo
offsetNo
resultsNo
basis_codeNo
total_cappedNo
filters_appliedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnly/idempotent/openWorld annotations: the 10,000 total cap, the offset paging model, exclusion of implausible figures and mass-registration addresses, and the Starter-plan requirement with the specific plan_upgrade_required error and upgrade_url. These are operational constraints an agent could not infer from structured fields alone.

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 purpose, filter set, basis rule, and return shape are front-loaded, and the plan caveat is correctly placed last. It is a dense block with long enumeration lists, but nearly every clause (cap, exclusions, paging, plan gate) carries information an agent needs.

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 26-parameter tool with an output schema, the description covers the required-input rule, the basis-of-evaluation logic, exclusions, result fields, paging, and access tier, while leaving field-level details to the schema and output schema. Nothing material for correct invocation appears 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 92%, so the schema already carries most parameter meaning, but the description adds real value by specifying figures are in whole pounds, that amounts derive from the latest filed accounts, and that net assets can be negative. It does not walk through the many individual filters, which is acceptable given the high 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?

States a specific verb and resource (a financial screener returning UK companies matching every filter given) plus the concrete use cases of prospect lists, sector and lending screens. It is clearly distinct from siblings such as search_companies or screen_sanctions because it names the account-based filter set it operates on.

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 a hard precondition ('Give at least one filter') and explains the important conditional behavior: figures are judged on latest filed accounts when a figure is filtered/sorted on, otherwise every company on the register counts. It does not explicitly name a sibling alternative or say when *not* to use it, so it falls short of a 5.

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