Skip to main content
Glama

dealmachine_prospect_search

Read-onlyIdempotent

Lists the workspace prospects by lifecycle and source, optionally scoped to a list or a tag, starred only, matching address or name words, by status, by who added them, or by when they were added. Paged, up to 100 per page. Free.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNo
searchNoAddress words for properties; name or city words for people
sourceNoHow the prospect was added. Use driving for prospects added during drives.
statusNoOnly prospects with any of these statuses; none means no status set
tag_idNoOnly prospects with this tag, such as `tag_31`
list_idNoOnly members of this list
added_byNoOnly prospects added by these user IDs, such as [7, 12]
per_pageNo
lifecycleNoDefaults to active
added_afterNoOnly prospects added on or after this ISO 8601 date or date-time. A date such as 2026-10-01 means midnight UTC
record_typeNoDefaults to property
added_beforeNoOnly prospects added before this ISO 8601 date or date-time (not including it). A date means midnight UTC
source_groupNod4d for prospects added while driving; map for prospects added any other way
favorites_onlyNo
exclude_tag_idsNoRemove prospects with any excluded tag, even if they match the included tags.
include_tag_idsNoMatch any included tag; applied together with exclude_tag_ids.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / exclude_tag_ids
      Added value: +{
      +  "description": "Remove prospects with any excluded tag, even if they match the included tags.",
      +  "items": {
      +    "pattern": "^tag_[1-9]\\d*$",
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
    • addedInput schema / properties / include_tag_ids
      Added value: +{
      +  "description": "Match any included tag; applied together with exclude_tag_ids.",
      +  "items": {
      +    "pattern": "^tag_[1-9]\\d*$",
      +    "type": "string"
      +  },
      +  "maxItems": 50,
      +  "type": "array"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / added_after
      Added value: +{
      +  "description": "Only prospects added on or after this ISO 8601 date or date-time. A date such as 2026-10-01 means midnight UTC",
      +  "type": "string"
      +}
    • addedInput schema / properties / added_before
      Added value: +{
      +  "description": "Only prospects added before this ISO 8601 date or date-time (not including it). A date means midnight UTC",
      +  "type": "string"
      +}
    • addedInput schema / properties / added_by
      Added value: +{
      +  "description": "Only prospects added by these user IDs, such as [7, 12]",
      +  "items": {
      +    "exclusiveMinimum": 0,
      +    "maximum": 9007199254740991,
      +    "type": "integer"
      +  },
      +  "maxItems": 100,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / source_group
      Added value: +{
      +  "description": "d4d for prospects added while driving; map for prospects added any other way",
      +  "enum": [
      +    "d4d",
      +    "map"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Only prospects with any of these statuses; none means no status set",
      +  "items": {
      +    "enum": [
      +      "hot",
      +      "warm",
      +      "cold",
      +      "follow_up",
      +      "do_not_contact",
      +      "none"
      +    ],
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds two traits not present in structured data: the result is paged and capped at 100 per page, and calls are free (no credit cost). It does not describe total-count/pagination metadata or ordering behavior, which keeps it below 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?

Front-loaded with the core purpose, then two short sentences for pagination and cost; nothing is padding. The first sentence is a long run-on enumeration, but each clause carries distinct filter information, so the density is justified.

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?

With 17 optional parameters, no output schema, and no required fields, the description covers the broad shape of the tool but omits several high-impact knobs (record_type, sort, source_group, tag include/exclude precedence) and gives no hint of the response shape. Adequate to call it correctly in the common case, but not complete for a tool this wide.

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 coverage is 76%, so the schema already documents most parameters well, and the prose mostly restates the same filter set in aggregate rather than adding syntax or semantics. Notably absent from the description is any mention of record_type (property vs. person, defaulting to property), sort, source_group, or the include/exclude tag interaction, which are the parameters most likely to be misused.

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 concrete verb+resource ('Lists the workspace prospects') and enumerates the filter dimensions (lifecycle, source, list, tag, starred, search, status, added-by, added-when). It is clearly a paged listing/search over prospects, but it never distinguishes itself from the sibling dealmachine_property_search or dealmachine_people_search, even though the record_type parameter makes this tool overlap with both.

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: an agent can infer this is the browse/filter tool for prospects versus prospect_get or prospect_add. There is no explicit when-to-use or when-not-to-use statement and no alternative tool is named, so the routing decision against property_search/people_search is left to inference.

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.