Skip to main content
Glama

search_companies

Search a global company database from an external data provider (not only the user's saved companies) and RETURN the matched companies (name, domain, industry, size, location, and whether the user already saved each) plus a cursor for paging. It charges the user 1 credit per company returned and saves or changes nothing else. Pass a structured filters object; industry/tag/country filter values must be valid catalog values, which get_company_search_filter_options lists, and the investors filter takes an investor's domain, not its name. Use get_company_filter_autocomplete to resolve company names for nameLike and, with orgType=investor, investor domains for investors; use get_location_filter_autocomplete for the place names headquartersCity takes. The filter descriptions in the input schema cite REST routes that are not tools here: GET /companies/filter-options stands for get_company_search_filter_options, which returns every list they cite except technologies; GET /companies/autocomplete?field=company, with or without orgType=investor, stands for get_company_filter_autocomplete (its matches give preferred_name and domains); and field=location stands for get_location_filter_autocomplete. No tool serves field=state or the technologies list, so send headquartersStateName values as full state or province names, as is (e.g. Florida), and technologies values as names from the provider's technology vocabulary in their exact spelling and casing (e.g. Salesforce, Next.js, AWS). Send at least one filter (exclusions alone are fine): an empty filter set is refused with 422 SEARCH_FILTERS_INVALID. A balance below 1 credit per requested result (size, default 25) is refused with 402 INSUFFICIENT_CREDITS.

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

Input Schema

NameRequiredDescriptionDefault
sizeNo
cursorNo
filtersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond annotations: it discloses the 1-credit-per-result cost model (with size default 25), that nothing else is saved or changed, and the exact failure modes (402 INSUFFICIENT_CREDITS, 422 SEARCH_FILTERS_INVALID, 422 CITY_FILTER_UNRESOLVED). It also explains silent-empty behaviors for investors/naicsCodes where bad values produce no error, which annotations cannot convey.

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?

Front-loads purpose, return shape, and cost before filter guidance, and every sentence is dense with actionable detail. The middle section mapping schema REST routes to actual tools is verbose but necessary because those routes are not real tools here, so the length is largely earned rather than padding.

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?

Complete for a high-complexity, deeply nested filter tool: it covers cost, error codes, catalog validation, autocomplete helpers, no-output-schema return fields, and paging. Nothing an agent needs to call this correctly 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?

Adds real meaning beyond the schema: investors takes a domain not a name, technologies must use exact provider spelling/casing, headquartersStateName takes full state names, and at least one filter is mandatory. Several details restate the already-rich schema descriptions, but the cross-tool resolution instructions are new value.

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+resource ('Search a global company database'), explicitly scopes it against saved companies ('not only the user's saved companies'), and enumerates the returned fields plus cursor. An agent can distinguish this from list/save siblings without opening the 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?

Names concrete prerequisites and routes: use get_company_search_filter_options for catalog values, get_company_filter_autocomplete for company names and investor domains, get_location_filter_autocomplete for city names. It does not compare itself to other search entry points like search_people or build_prospect_search_filters, so the guidance is strong but not fully exhaustive on when-to-use-this-vs-alternative.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.