Skip to main content
Glama
CompanyEnrich MCP Server

CompanyEnrich MCP Server

Official

Count People

count_people
Read-only

Count matching people for a search query without returning records or using credits, so you can size or validate filters before running a paid people search.

Instructions

Counts the people a search_people query would match, without returning them. Free; no credits deducted. Use it to size or check a query before running the paid search. Takes the same filter, semantic and company arguments as search_people. Returns count, the matches your plan can access, and total, all matches. A semantic query also returns interpretation, the filters inferred from it.

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

Input Schema

NameRequiredDescriptionDefault
filterNoSame as `filter` in search_people.
companyNoSame as `company` in search_people.
semanticNoSame as `semantic` in search_people.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true, so the description carries the rest and does so well: it discloses that no credits are deducted, that no records are returned, that results are split into plan-accessible ('count') vs. all ('total'), and that semantic queries infer filters. This is substantive behavior an agent could not infer from the annotation.

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?

Front-loads the core purpose, then cost, then usage, then parameters, then return shape – an ideal information ordering. Five sentences with no filler; each one carries a distinct fact.

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?

No output schema exists, so the description compensates by naming the returned fields (count, total, interpretation) and explaining what distinguishes them. For a zero-required-parameter counting tool with nested object args delegated to a sibling, nothing needed to invoke or interpret it is missing.

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

Parameters3/5

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

Schema coverage is 100%, and the description's parameter statement ('Takes the same `filter`, `semantic` and `company` arguments as search_people') is essentially a restatement of what each schema property already says. Useful as a pointer to the sibling contract, but it adds no new semantics beyond the schema.

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 ('Counts the people a search_people query would match') and immediately differentiates itself from the sibling: it counts without returning records. An agent can tell exactly what this does versus search_people without opening either 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?

Gives explicit routing guidance: 'Use it to size or check a query before running the paid search,' naming both the trigger condition and the alternative it precedes. The cost motivation (free vs. paid) makes the when-to-use decision unambiguous.

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