Skip to main content
Glama

Find companies

find_companies

Search a lead database for companies by industry, location, headcount, revenue, and growth; save matches to a table, then use company IDs to find decision-makers.

Instructions

Search the lead database for companies and save them as rows in a table (company, domain, industry, employees, location, founded_year, description, linkedin_url, company_urn). Filters are objects keyed by field. Text fields take {include?: string[], exclude?: string[]}; numeric fields take range operators {">=": n, "<=": n}. Location takes alpha-2 country codes ("ES", "US"). Titles match as written, so a search across languages and acronyms lists each variant (["CTO", "Chief Technology Officer", "Director de Tecnología"]). Company fields: name, industry (LinkedIn industry names, e.g. "Financial Services", "Software Development"), location, keyword, domain, type; ranges: headcount, revenue (USD); growth: headcountGrowth {timespan, min, max}. Each company's company_urn works as the currentCompanyUrn filter of a people search, which finds decision-makers at that company.

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": {
      "query": "<query>"
    },
    "name": "find_companies"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to fetch (default 25). Each result costs 1 credit (none with your own Icypeas key); count first.
queryYes
table_idNoAppend results to this table
count_onlyNoOnly return how many leads match. Free; use before a paid search.
table_nameNoName for a new table, used when table_id is omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true; the description is consistent and adds the crucial detail that matching companies are persisted as table rows, plus what fields each row carries. It does not cover the cost/credit model or table-creation semantics, but those are stated in the schema parameter descriptions rather than missing entirely.

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-loaded with purpose and side effect, then grouped logically into filter grammar, field inventory, and cross-tool handoff. Dense but every sentence carries information; the only mild cost is that the field inventory and filter syntax could be scanned faster as a list.

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?

For a tool with a free-form nested filter object and no output schema, the description supplies enough for a correct call: valid field names, operator shapes, code formats, and the returned columns. Minor gaps remain around large-result behavior and the credit implications of limit, which are only in the schema text.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The query parameter is an untyped nested object in the schema, so the description carries the real burden and does so thoroughly: filter objects keyed by field, {include, exclude} for text fields, range operators for numeric fields, alpha-2 location codes, and the warning that titles are matched literally so multilingual variants must be listed. This is meaning the schema cannot supply.

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 names a specific verb and resource ('Search the lead database for companies') and immediately discloses the side effect ('save them as rows in a table'), plus an exact output column list. It also distinguishes the tool implicitly from people search by explaining that the returned company_urn is consumed by a people search.

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 operational context: results land in a table, and company_urn feeds the currentCompanyUrn filter of a people search, which tells the agent how this tool chains into the next step. It does not explicitly state when to prefer this over the sibling find_people tool, so it stops short of full when/when-not guidance.

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