Skip to main content
Glama

Analyze Lost Prospects

analyze_lost_prospects
Read-onlyIdempotent

Lost-lead funnel analysis (LostProspectBreakdown, 687).

Breakdown of where in the funnel prospects are getting lost (Inquired / Application / Denied / etc.), agents with the most lost leads, properties with the worst conversion, and a recent lost-prospect timeline. Defaults to the trailing ~90 days. Complements analyze_prospect_pipeline (which counts everything coming in); this counts everything that drops out.

``location`` (optional): a Rent Manager Location ID, a comma-separated
list, or ``"all"`` to run across every Location on this connection (see
``list_locations``). Blank = all Locations if the connection has several,
else its only Location. Output is labelled per Location; a Location that
can't be reached is listed as skipped. IDs (property, tenant, ...) belong
to one Location, so pass that Location when you filter by one.

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": "analyze_lost_prospects"
  }
}

Input Schema

NameRequiredDescriptionDefault
top_nNo
end_dateNo
locationNo
portfolioNo
start_dateNo
property_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower; the description adds genuinely new behavior: multi-Location fan-out, per-Location labelled output, and the fact that unreachable Locations are reported as skipped rather than failing silently. It also warns that IDs belong to a single Location, which prevents a real class of bad calls. It stops short of describing result shape or how the breakdown is computed.

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-loaded with the purpose and the sibling contrast before the parameter detail, and the parenthetical product reference grounds it. The location paragraph is long but dense with distinct, non-redundant rules; no sentence is filler.

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?

An output schema exists so return values needn't be explained, and annotations cover the safety profile, leaving the parameter gaps as the main deficiency. Five of six parameters remain undefined in both schema and description, which is a material omission for a tool an agent must call with filters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 6 parameters, so the description carries the full burden — yet it only explains `location` (in detail, including the 'all' sentinel and blank default). `top_n`, `start_date`, `end_date`, `portfolio`, and `property_ids` are left entirely undefined, with only a weak hint about a ~90-day default for the dates.

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 ('Lost-lead funnel analysis', 'where in the funnel prospects are getting lost') and enumerates the concrete outputs (agents with most lost leads, properties with worst conversion, lost-prospect timeline). It explicitly distinguishes itself from the sibling analyze_prospect_pipeline by contrast: that one counts inflows, this one counts drop-outs.

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?

Names the alternative (analyze_prospect_pipeline) and the exact condition that selects between them, so an agent can route without opening either schema. It also states the default window (trailing ~90 days) and directs the agent to list_locations for resolving location values.

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