Skip to main content
Glama

get_prospect_counts

Read-onlyIdempotent

Prospect totals by state (how many are queued, in progress, replied, finished, blocklisted and so on), optionally for one campaign. Cheaper than paging search_prospects when you only need numbers.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_prospect_counts"
  }
}

Input Schema

NameRequiredDescriptionDefault
searchNoFree-text search, same as in search_prospects.
campaign_idNoOnly this campaign (id from list_campaigns). Omit for no filter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, closed-world behavior, so the safety profile is fully covered. The description adds value beyond that by disclosing a performance characteristic (cheaper than paging search_prospects) and hinting at the aggregated, state-bucketed shape of the result. The bucket list ends in 'and so on', so the exact breakdown is not fully pinned down.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the first establishes what is counted and the optional scope, the second gives the decision rule. Purpose is front-loaded and no wording is wasted.

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 simple, fully annotated read-only aggregation tool with complete schema coverage and no output schema, the description covers purpose, scope, and the alternative. The only residual gap is the exact set of returned state keys, which the vague 'and so on' leaves open.

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 both parameters (search, campaign_id) are already documented in the schema. The description reinforces that the campaign filter is optional but adds no syntax or format detail beyond what the schema states. Baseline 3 is appropriate when the schema carries the parameter burden.

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?

Names a specific verb (counts/totals) and resource (prospects), then enumerates the state buckets being tallied (queued, in progress, replied, finished, blocklisted). It also explicitly contrasts itself with search_prospects, so an agent can distinguish it from the paging/search sibling without opening a schema.

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?

States a clear selection rule: use this when you only need numbers, because it is cheaper than paging search_prospects. It also clarifies that the campaign scope is optional. No explicit when-not cases are given (e.g., when per-prospect detail is required), but the core routing guidance is present.

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