Skip to main content
Glama

dealmachine_property_count

Read-onlyIdempotent

Counts properties matching locations and filters (provide locations, filters, include_lists or exclude_lists), such as is_corporate_owned for corporation, LLC or business owners, or with anchor=people their matching contacts. Use the same anchor, contact_audience and require_phone as the search. Needs a connected DealMachine account; counting consumes no credits.

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_property_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
anchorNo
filtersNo
locationsNo
scrub_dncNoCount only contacts with a phone not on the Do Not Call registry
mobile_onlyNoCount only contacts with a wireless phone number
exclude_listsNoRemove records in any excluded list, including records in included lists.
include_listsNoReturn records in any included list. Can be combined with exclude_lists.
landline_onlyNoCount only contacts with a landline phone number
require_emailNoCount only contacts with an email address
require_phoneNoWith anchor=people, count only contacts with a phone
contact_audienceNoRequired for anchor=people; cannot be none
active_phones_onlyNoCount only contacts with an active reported phone number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / active_phones_only
      Added value: +{
      +  "description": "Count only contacts with an active reported phone number",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / exclude_lists
      Added value: +{
      +  "description": "Remove records in any excluded list, including records in included lists.",
      +  "properties": {
      +    "people_list_ids": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "property_list_ids": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / include_lists
      Added value: +{
      +  "description": "Return records in any included list. Can be combined with exclude_lists.",
      +  "properties": {
      +    "people_list_ids": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    },
      +    "property_list_ids": {
      +      "items": {
      +        "anyOf": [
      +          {
      +            "exclusiveMinimum": 0,
      +            "maximum": 9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        ]
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / landline_only
      Added value: +{
      +  "description": "Count only contacts with a landline phone number",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / locations / minItems
      Removed value: -1
    • addedInput schema / properties / mobile_only
      Added value: +{
      +  "description": "Count only contacts with a wireless phone number",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / require_email
      Added value: +{
      +  "description": "Count only contacts with an email address",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / scrub_dnc
      Added value: +{
      +  "description": "Count only contacts with a phone not on the Do Not Call registry",
      +  "type": "boolean"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "locations"
      -]
  2. Changed3 schema fields changed
    • addedInput schema / properties / anchor
      Added value: +{
      +  "enum": [
      +    "properties",
      +    "people"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / contact_audience
      Added value: +{
      +  "description": "Required for anchor=people; cannot be none",
      +  "enum": [
      +    "owners",
      +    "owners_and_family",
      +    "renters",
      +    "residents",
      +    "none"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / require_phone
      Added value: +{
      +  "description": "With anchor=people, count only contacts with a phone",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, and the description adds two non-obvious operational facts: a connected DealMachine account is required and counting consumes no credits. Return shape is not described, but the safety and cost profile is well covered.

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?

Three dense sentences, front-loaded with the core action and constraints; the parenthetical anchors the required inputs early. Slightly packed with examples, but every clause carries information useful for invocation.

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 12-parameter tool with nested location/list objects and no output schema, the description covers the account prerequisite, cost behavior, and key parameter relationships. It doesn't state the return payload (e.g., a bare count versus grouped counts), which is the main remaining gap.

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?

Schema coverage is 75%, so the schema carries most parameter docs, yet the description adds real meaning: an example filter semantics ('is_corporate_owned for corporation, LLC or business owners') and the cross-parameter coupling that anchor, contact_audience and require_phone should match the corresponding search call. That goes beyond what the schema states.

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?

Opens with a specific verb+resource ('Counts properties') and immediately scopes it to locations and filters, then clarifies the anchor=people case where it counts matching contacts instead. That contrast also distinguishes it from the search-style siblings without needing to name them.

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 the inputs to supply ('provide locations, filters, include_lists or exclude_lists') and instructs the agent to reuse 'the same anchor, contact_audience and require_phone as the search', which implies when this count tool is the mirror of a search. No explicit when-not-to-use or named alternative tool, so not a 5.

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.