Skip to main content
Glama
CompanyEnrich MCP Server

CompanyEnrich MCP Server

Official

Search Companies

search_companies

Find companies by structured filters, natural-language semantic query, or lookalike seed domains, with paging and optional data expansions.

Instructions

Searches companies in one of three ways: by filters alone, by a natural-language semantic query, or by lookalike seed domains (companies similar to the ones given). Filters can be combined with either; semantic and lookalike cannot be combined. A semantic query infers filters such as location, size and funding by default and reports them in interpretation. Costs per returned company: 1 credit for a filter search, 2 for semantic, 5 for lookalike; an empty result costs one result's price. Each expansion (financial, keywords, naicsCodes, technologies, workforce) adds 1 credit per returned company. Each value filter is an object: in matches any listed value, notIn excludes matches, and all (keywords, technologies, naicsCodes and categories only) requires every listed value. Results are paged with a cursor: pass nextCursor from the previous response as cursor and keep the rest of the query the same. Cursors expire after 24 hours.

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": "search_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorNo`nextCursor` from the previous response. Omit for the first page.
expandNoExtra company data to include. Each expansion (financial, keywords, naicsCodes, technologies, workforce) adds 1 credit per returned company.
filterNoCompany filters.
pageSizeNoMaximum number of results to return, from 1 to 100.
semanticNoNatural-language company search. Cannot be combined with lookalike.
lookalikeNoFinds companies similar to seed companies. Cannot be combined with semantic.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.1

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the full credit-cost model per mode (1/2/5), the charge for an empty result, per-expansion surcharges, and cursor expiry after 24 hours. It also states the paging contract ('pass `nextCursor` … keep the rest of the query the same'). The annotations declare readOnlyHint=false but the description does not contradict this: the call is non-mutating yet consumes credits, which is consistent.

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 front-loaded: mode selection and exclusion rules come first, then cost, then filter operator semantics, then paging. Every sentence carries operational information the agent needs before calling, with no filler or restatement of the title.

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 six parameters, deep nesting, and no output schema, the description covers the critical gaps: mode exclusivity, cost, and pagination lifecycle. It does not sketch the shape of a returned company or what `interpretation` contains beyond inferred filters, which is a minor residual gap for a tool with no output schema.

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; the description adds genuine meaning on top by defining the `in` / `notIn` / `all` operator semantics and noting which fields support `all`. It also clarifies that `cursor` must be paired with an otherwise unchanged query, which the schema alone does not convey. Remaining filters (e.g. `require`, `workforceSize`) are left to their schema descriptions.

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?

Opens with a specific verb and resource plus the three mutually distinct modes of operation (filter-only, `semantic`, `lookalike`), so an agent can map an intent onto a mode immediately. It also clarifies what `lookalike` means parenthetically ('companies similar to the ones given'), removing ambiguity that the sibling `enrich_company` names do not resolve.

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 explicit combination rules: filters may be combined with either semantic or lookalike, while semantic and lookalike are mutually exclusive. It also explains that semantic queries infer filters by default and report them in `interpretation`, which tells the agent how to follow up. It stops short of routing to sibling tools such as `count_companies` for result counting, so no explicit alternative is named.

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