Skip to main content
Glama

Preview Create Search

preview_create_search
Read-only

SIZE A MARKET WITHOUT CREATING ANYTHING: how many people (or, with object_type account, companies) a data provider has for a create search, a sample of ten, and how they split against this CRM -- employers already accounts, people already contacts. The same free search preview_records_run makes, with no run: for 'how many VPs of Sales are there at US software companies' or comparing a few ways to cut a market, call this once per cut instead of creating a run to preview and deleting it, and instead of overwriting the saved TAM with set_tam. Same search rows as create_records_run (call list_search_criteria for the vocabulary). Free: no credit is spent and nothing is written. available is the whole count; when you want to bring the people in, create the run.

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": {
      "connection_id": "<connection_id>",
      "search": "<search>"
    },
    "name": "preview_create_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchYesWho to bring in, as rows of input/operator/value. Every row must hold (they are ANDed); several values in one row mean ANY of them. Call list_search_criteria for each input's operators and its exact vocabulary: the values that read most plausibly are often the ones this provider refuses. person_ids is exclusive: it NAMES people, so it cannot share a search with rows that describe a population. Specific people, by provider id (is): free text Job title (contains/is exactly/is not): free text; “is exactly” wants the WHOLE title character for character (“Vice President, Global Sales Operations”), so it usually finds nobody; “contains” is almost always what you want. Job function (is): one of 186 values Management level (is/is not): one of 6 values Department (is): one of 11 values Industry (is/is primarily): one of 180 values Company name (is): free text Company, by provider id (is): free text Company type (is): one of 3 values State or region (is): free text; matches the company's HEADQUARTERS state or the person's own location, mostly the former: a Texas-headquartered company's staff anywhere match Texas Country (is): free text Postal code (is): free text Has (is): one of 5 values; several values mean ALL of them, so this input NARROWS. “email” is worth reaching for: barely half of any population has a business email Employees (at least/at most): a whole number Revenue (at least/at most): a whole number Contact accuracy (at least): a whole number; 70 to 99
providerNoThe data provider to search. Omit for ZoomInfo. Clay has no search to size.
object_typeNoWhat to count: contact or lead searches people, account searches companies. Defaults to contact.contact
connection_idYesThe CRM connection. Required. Call list_crm_connections to get one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / search / description
      Previous value: -"Who to bring in, as rows of input/operator/value. Every row must hold (they are ANDed); several values in one row mean ANY of them. Call list_search_criteria for each input's operators and its exact vocabulary — the values that read most plausibly are often the ones this provider refuses. person_ids is exclusive: it NAMES people, so it cannot share a search with rows that describe a population.\n  Specific people, by provider id (is) — free text\n  Job title (contains/is exactly/is not) — free text; “is exactly” wants the WHOLE title character for character (“Vice President, Global Sales Operations”), so it usually finds nobody — “contains” is almost always what you want.\n  Job function (is) — one of 186 values\n  Management level (is/is not) — one of 6 values\n  Department (is) — one of 11 values\n  Industry (is/is primarily) — one of 180 values\n  Company name (is) — free text\n  Company, by provider id (is) — free text\n  Company type (is) — one of 3 values\n  State or region (is) — free text; matches the company's HEADQUARTERS state or the person's own location, mostly the former: a Texas-headquartered company's staff anywhere match Texas\n  Country (is) — free text\n  Postal code (is) — free text\n  Has (is) — one of 5 values; several values mean ALL of them, so this input NARROWS. “email” is worth reaching for: barely half of any population has a business email\n  Employees (at least/at most) — a whole number\n  Revenue (at least/at most) — a whole number\n  Contact accuracy (at least) — a whole number; 70 to 99"New value: +"Who to bring in, as rows of input/operator/value. Every row must hold (they are ANDed); several values in one row mean ANY of them. Call list_search_criteria for each input's operators and its exact vocabulary: the values that read most plausibly are often the ones this provider refuses. person_ids is exclusive: it NAMES people, so it cannot share a search with rows that describe a population.\n  Specific people, by provider id (is): free text\n  Job title (contains/is exactly/is not): free text; “is exactly” wants the WHOLE title character for character (“Vice President, Global Sales Operations”), so it usually finds nobody; “contains” is almost always what you want.\n  Job function (is): one of 186 values\n  Management level (is/is not): one of 6 values\n  Department (is): one of 11 values\n  Industry (is/is primarily): one of 180 values\n  Company name (is): free text\n  Company, by provider id (is): free text\n  Company type (is): one of 3 values\n  State or region (is): free text; matches the company's HEADQUARTERS state or the person's own location, mostly the former: a Texas-headquartered company's staff anywhere match Texas\n  Country (is): free text\n  Postal code (is): free text\n  Has (is): one of 5 values; several values mean ALL of them, so this input NARROWS. “email” is worth reaching for: barely half of any population has a business email\n  Employees (at least/at most): a whole number\n  Revenue (at least/at most): a whole number\n  Contact accuracy (at least): a whole number; 70 to 99"
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description still earns credit by adding non-obvious behavior: no credits are spent, nothing is written, `available` is the whole count rather than a page, and the response includes a ten-person sample plus a CRM-overlap split. It does not discuss rate limits or provider-specific quotas, which keeps it short of a 5.

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 key claim is front-loaded in caps and the routing advice follows logically. There is mild redundancy — 'WITHOUT CREATING ANYTHING' is restated by 'Free: no credit is spent and nothing is written' and again by 'instead of creating a run to preview and deleting it' — but each restatement reinforces a distinct cost/risk point.

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?

There is no output schema, and the description compensates by naming the return fields (available count, ten-record sample, CRM split) and their meaning. Combined with the free/non-mutating guarantee and the pointer to list_search_criteria for valid values, an agent has everything needed to call it correctly and interpret the result.

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, but the description adds real meaning: it clarifies object_type account counts companies, that `search` uses the same rows as create_records_run, that list_search_criteria supplies the vocabulary, and that `available` is the full population size. The detailed per-input operator/vocabulary notes live in the schema itself rather than the description, so it does not fully duplicate them.

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 opens with a specific verb and resource — size a market (headcount at a provider) without creating anything — and immediately disambiguates the two object modes (people vs. companies via object_type account). It also states the three outputs (total available, a sample of ten, CRM overlap), so an agent can distinguish it from create_records_run or preview_records_run at a glance.

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?

It gives concrete triggering examples ('how many VPs of Sales are there at US software companies'), an explicit call pattern (once per cut when comparing segments), and two named alternatives it replaces: creating a run to preview and then delete, and overwriting the saved TAM with set_tam. The handoff to create_records_run when you actually want the people is also stated.

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.