Skip to main content
Glama

get_prospect_list_rows_tool

Read-only

Fetches the rows (contacts or companies) inside a specific prospect list, returning each row (its _id plus its fields, including any enriched emails and phones, CRM data and custom-column values) under the top-level data array, with pagination ({ total, page, pageSize, totalPages }) alongside it. meta ALSO carries the list's columns (meta.customColumns; each column's _id is its columnId) — those columnIds are usable wherever an EXISTING column's columnId is required. Supports searching/filtering via filters: per-field entries, each { include:[], exclude:[] } unless noted — common keys: icpMatch ({ include:["yes"] } for ICP-matched), emailValidity (valid|invalid|catch-all|unknown|do_not_mail|personal|unverified), enrichedEmail/enrichedPhone (enriched|not_enriched), crmStatus (include-only: in_crm|not_in_crm — Exists in CRM / Not in CRM), title, dept, level, industryName, country, state, companyName, campaignEngagement, createdBy, crmOwner; numberOfEmployees/revenue (numeric ranges); keywords (string, searched in the job title only: no filter searches a headline or bio); linkedinUrl (string); customColumns: { : { dataType, value|include|exclude|rangeMin|rangeMax } }. Send only the fields you need. Plus sorting and pagination. Provide the list's listId — this also works on a system list's real _id (e.g. All Website Visitors).

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

Input Schema

NameRequiredDescriptionDefault
pageNo
limitNo
listIdYes
sortByNo
filtersNo
pageNumNo
sortOrderNodesc
includeCampaignStatusesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnly/no-destructive/closed-world, and the description adds real value beyond them: the exact return envelope (`data`, `pagination` with total/page/pageSize/totalPages, `meta.customColumns`) and the caveat that a column's `_id` is its columnId and can be reused as an existing columnId. It also encodes filter quirks (crmStatus is include-only, keywords searches the job title only, not headline/bio), which is precisely the kind of behavior an agent cannot infer from annotations alone.

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?

Purpose and return shape are front-loaded, then filter detail, which is the right ordering for a dense filter tool. It is a wall of semicolon-chained clauses with inconsistent emphasis, but nearly every clause carries a fact the agent needs; trimming would lose substantive filter semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For 8 parameters with a deeply nested filters object and no output schema, the description covers the return envelope and the filter surface adequately, so the lack of an output schema is not a gap. It falls short on pagination and sorting (page vs pageNum, limit bounds, sortBy field format) and on the default behavior of includeCampaignStatuses, leaving the caller to infer non-trivial call mechanics.

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 0% schema description coverage the description must carry the load, and it does well for `filters`: the {include, exclude} convention, numeric ranges for employees/revenue, enumerated values for emailValidity/enrichedEmail/enrichedPhone/crmStatus, and the customColumns object shape. However it says nothing about page, pageNum, limit (max 1000), sortBy format, sortOrder, or includeCampaignStatuses — and the schema's two overlapping page parameters (page vs pageNum) are left completely ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/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 ('Fetches the rows ... inside a specific prospect list') and enumerates what a row contains (enriched emails/phones, CRM data, custom-column values). It is clearly distinguishable from a mere id fetch, but it never names the sibling tools (get_list_prospect_ids_tool, download_list_csv_tool) that an agent might confuse it with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'Provide the list's listId — this also works on a system list's real _id (e.g. All Website Visitors)' tells the agent a valid input mode but not when to prefer this over get_list_prospect_ids_tool or download_list_csv_tool. There is no when-not-to-use or prerequisite guidance, so selection between siblings depends on guessing from names.

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.