Skip to main content
Glama

search_and_save_people_to_list

Destructive

Searches an external data provider's database of professional profiles by job title, seniority, company, industry, location, skills, and other attributes, then saves the matching contacts to a Prospect List in a background job that takes a few minutes. Returns the created or updated list result only. It costs 1 credit per person saved, plus 1 credit for the lookup that finds the first match, and starts only when the balance covers every person asked for. When FuseAI already holds a matched person as a contact, that contact's stored name, title, company, location and work history are replaced with the profile data found. Each person newly added to a list can start the user's active "Added to list" automations, and an active dynamic campaign that uses the list enrolls them and starts contacting them on its next refresh. ADDING TO AN EXISTING LIST: the people already on it are left out of the search, so count is how many people new to the list it adds, and the same filters sent again add the next ones; skippedListMemberCount says how many it left out (up to 1,000, so on a bigger list some can be found again). SEARCH WITHIN A LIST: with withinListId (the list's id) or withinListName, the search runs over the members of that list only (their LinkedIn connections list, a saved list, any contact list they or a teammate shares), looked up by their LinkedIn profiles, and saves the members who match. Use it for which of my connections / which people in list X work at a kind of company or hold a kind of role: it answers from the database's data about them, not from the list's own fields, and never needs the list's rows read.

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_and_save_people_to_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoThe number of prospects to find. Defaults to 10. Max 500. For an existing list, only people not on it yet count.
filtersYesPeople-search filters as FLAT dotted keys (e.g. job_title_levels, location_region, education.school.name — never a nested education/experience object). Include/exclude fields take arrays of {status: include|exclude, value} objects; a bare string or an array of strings are includes, and an exclude is always an entry. location_name/skills/education.school.name take string arrays; keywords is a string array; numeric ranges go under rangeInputs. Unknown keys are rejected, inside company_filters too. These filters are no longer served and are ignored if sent, so they never narrow the search: sex, github_url, github_username, facebook_url, job_title_sub_role, experience.title.sub_role, experience.company.industry, experience.company.location.country, experience.company.location.name, experience.company.location.continent, experience.company.type, location_continent, job_company_location_continent.
newListNameNoName for a new Prospect List. Infer this when the user does not provide one.
withinListIdNoThe id of the contact list to search WITHIN: only its members are searched, by their LinkedIn profiles, so the matches are the members who fit the filters ("which of my LinkedIn connections work at YC companies" -> the id of their LinkedIn connections list). The user's own list or a teammate's shared one. Prefer it to withinListName. A list of more than 10000 members can't be searched this way, and a `linkedin_url` filter cannot be sent with it. The matches are saved to the destination list (newListName or existingListName) like any search.
withinListNameNoThe name of one of the user's OWN contact lists to search within, when its id is not at hand (withinListId is preferred: the name a list is shown under can differ from its own). Same rules as withinListId.
existingListNameNoExisting Prospect List name when the user asks to add to a list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (non-read-only, destructive, open-world), it discloses credit cost (1 per person saved plus 1 for the lookup), the balance precondition that gates the call, the multi-minute background execution, and — critically — that stored contact fields (name, title, company, location, work history) are overwritten for existing contacts. It also warns that additions trigger 'Added to list' automations and can enroll people in an active dynamic campaign that starts contacting them, which is exactly the destructive side effect an agent needs.

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 purpose, cost, and side effects are front-loaded before the mode-specific sections, and the caps-labeled 'ADDING TO AN EXISTING LIST' and 'SEARCH WITHIN A LIST' blocks aid scanning. It is dense and the within-list sentence is long, but nearly every sentence carries behavioral or cost information rather than filler.

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 credit-charging, destructive, asynchronous tool with no output schema, the description covers cost, gating, overwrite behavior, and automation side effects well. The notable gap is what the background job returns immediately (a job id or handle?) and how to retrieve the finished list, which matters for a multi-minute operation.

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 description coverage is 100%, so the baseline is 3. The description adds the interpretation that `count` counts only people new to an existing list and that `skippedListMemberCount` (up to 1,000) reports exclusions, but much of this is already present in the schema's own `count` and `withinListId` descriptions, so the added meaning is modest.

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 opening sentence names a specific verb and resource — searching an external provider's professional-profile database by named attributes — and then the second action, saving matches to a Prospect List as a background job. It also distinguishes itself from a pure search by stating that only the created/updated list result is returned, so an agent can tell it apart from search_people or save_people_to_list.

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 explicit scenarios: adding to an existing list (existing members are excluded and `count` means new additions) and searching within a list ('which of my connections work at YC companies'), plus the destination choice between `newListName` and `existingListName`. It stops short of naming a sibling to use instead when the user only wants to search without saving, so the routing guidance is clear but not exhaustive.

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.