Skip to main content
Glama

list_campaign_prospects

Read-onlyIdempotent

Prospects currently materialized into the campaign. Supports the same filters as search_prospects (state including suppressed, how they were added, blocklisted, replied, contacted). meta.total is the total matching the filters; pass meta.nextCursor back as cursor for the next page. One campaign's prospects. Use search_prospects to search across every campaign, and update_prospect or bulk_update_prospects to change them.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "list_campaign_prospects"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPage size. Default 50, max 200.
stateNoOnly prospects in this state (suppressed = another campaign already owns the lead). Omit for all.
cursorNoOpaque pagination cursor from a previous response's meta.nextCursor
repliedNoFilter by whether the prospect has replied. Omit for both.
added_viaNoHow the person was added: app, api, mcp, integration, or unknown (added before this was tracked).
contactedNotrue = sequence has started (current step >= 1), false = not contacted yet (step 0).
blocklistedNoFilter by whether the prospect is blocklisted. Omit for both.
campaign_idYesId of the campaign (from list_campaigns).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: how pagination works via meta.total and passing meta.nextCursor back as cursor. It stops short of describing anything about ordering or item shape, keeping it a 4 rather than 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?

It is short and front-loads the core scope, then pagination, then alternatives. The sentence "One campaign's prospects." is redundant with the opening sentence and slightly disrupts the flow, which keeps it from a 5.

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 an 8-parameter read-only list tool with no output schema, the description covers scope, filters, pagination round-trip, and sibling routing, which is enough to call it correctly. The lack of any note on result ordering or item contents is a minor gap given the absence of an output schema.

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 every filter (state, added_via, replied, contacted, blocklisted, limit, cursor) is already documented, including enum meanings and the suppressed caveat. The description's filter enumeration largely restates the schema, adding no syntax or edge-case detail beyond it; baseline 3 applies.

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 states a specific resource and scope: "Prospects currently materialized into the campaign" and reinforces it with "One campaign's prospects." It also explicitly distinguishes itself from search_prospects, so an agent can pick the right tool 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?

It names alternatives and the condition that selects them: use search_prospects for cross-campaign searching, and update_prospect or bulk_update_prospects to modify results. This is explicit routing guidance, not implied usage.

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.

Resources