Skip to main content
Glama

Lead Source Summary

lead_source_summary
Read-onlyIdempotent

LEAD SOURCE BREAKDOWN — counts of prospects by lead source for a property or portfolio over a date window.

Answers "lead sources", "lead source breakdown", "where are prospects coming from", "marketing channel ROI", "how did this park's leads find us", etc. One call returns the full breakdown across all prospects in scope (get_prospect returns a single prospect).

Args: start_date: YYYY-MM-DD. Defaults to 90 days ago when omitted. end_date: YYYY-MM-DD. Defaults to today when omitted. property_id / shortname / portfolio / property_ids: scope.

``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": "lead_source_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateNo
locationNo
portfolioNo
shortnameNo
start_dateNo
property_idNo
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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered; the description adds genuinely new behavior: output is labelled per Location, unreachable Locations are reported as skipped, and IDs are scoped to a single Location. The remaining gap is that it does not say anything about result size or how the per-Location labelling interacts with multi-property scoping.

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

Conciseness3/5

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

The headline and the get_prospect contrast are well front-loaded, but the body mixes an 'Args:' block with a separately indented prose paragraph in inconsistent formatting, and the list of example phrasings is longer than needed. It is readable and mostly earns its length, but the structure is uneven rather than tight.

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 seven-optional-parameter aggregation tool with an output schema (so return values need not be explained) and full annotation coverage, the description supplies what an agent needs: scope, date defaults, and multi-Location semantics including the skipped-Location case. The one shortfall is the ambiguity among the four property-scoping parameters.

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

Parameters4/5

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

With 0% schema description coverage, the description carries the full burden and mostly delivers: it gives formats and defaults for start_date/end_date, and explains the location parameter in depth (single ID, comma list, 'all', blank fallback, skipped Locations). The weakness is that property_id, property_ids, shortname and portfolio are lumped together as 'scope' with no indication of which to prefer or whether they combine, leaving four of seven parameters under-differentiated.

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 opens with a specific verb-and-resource statement ('counts of prospects by lead source for a property or portfolio over a date window') and immediately contrasts itself with get_prospect ('returns a single prospect'). An agent can distinguish it from the analyze_* siblings and get_prospect without inspecting any 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 enumerates the question shapes the tool answers ('where are prospects coming from', 'marketing channel ROI'), states that one call returns the full breakdown across all prospects in scope, and explicitly routes single-prospect lookups to get_prospect. It also points to list_locations for resolving the location argument, giving a concrete alternative for a prerequisite step.

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