Skip to main content
Glama

get_list_prospect_ids_tool

Read-only

Returns the entity ids in a list: contactIds and companyIds for a stored list, or contactIds for the dynamic lists all_enriched_contacts, all_saved_contacts, job_changed_contacts, all_crm_records and my_crm_records. Those five are the only symbolic ids it supports: the other symbolic ids the listId field accepts (all_relations, all_received_invitations, all_sent_invitations, all_crm_companies and my_crm_companies) always return empty arrays. That includes all_relations, although the listId field description gives it as an example, so an empty result for any of these five does not mean the user has no LinkedIn connections, LinkedIn invitations or CRM companies. The customContactIds and customCompanyIds arrays are always empty. It only reads FuseAI's stored lists and records, including its synced copy of CRM records, and does not contact LinkedIn, the CRM or any other outside service. Useful before removing rows, updating cells, or pushing contacts to a CRM with this plugin's other tools.

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": {
      "listId": "<listId>"
    },
    "name": "get_list_prospect_ids_tool"
  }
}

Input Schema

NameRequiredDescriptionDefault
listIdYesA list's Mongo id, or any symbolic dynamic list id (e.g. all_relations, all_enriched_contacts)

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?

Goes well beyond the annotations (readOnlyHint/openWorldHint/destructiveHint) by disclosing that five of the symbolic ids always return empty arrays, that customContactIds and customCompanyIds are always empty, and that an empty result does not mean the user has no connections or CRM companies. It also explicitly states it reads only FuseAI's stored data plus its synced CRM copy and never contacts LinkedIn or the CRM, which prevents a costly misreading of empty results.

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 what is returned, then the symbolic-id caveats, then the read-scope and usage note — a sensible order with no filler sentences. It is a dense run-on paragraph with long enumerations, which slightly hurts scannability but every sentence carries information.

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 one-parameter, read-only tool with no output schema, it effectively describes the return shape (contactIds, companyIds, always-empty custom arrays) and the data source. It says nothing about result size, ordering, or truncation for very large lists, which is a real gap for an id-enumeration tool.

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?

With a single parameter at 100% schema coverage the baseline is 3, and the description does add meaning by correcting the schema's own example: all_relations returns empty despite appearing in the listId field description. However, most of the mapping detail is a caveat about unsupported values rather than additional syntax or format guidance for listId.

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: returns entity ids (contactIds and companyIds) for a stored list, and contactIds only for the named dynamic lists. This is clearly distinct from row-fetching siblings like get_prospect_list_rows_tool, since the description repeatedly frames the output as ids, not rows.

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?

Gives concrete usage context: 'Useful before removing rows, updating cells, or pushing contacts to a CRM with this plugin's other tools,' which ties it to remove_list_rows_tool, update_list_cell_tool and CRM-push flows. It lacks an explicit statement of when not to use it (e.g., 'use get_prospect_list_rows_tool if you need field values'), so it stops short of full alternative routing.

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.