Skip to main content
Glama

dealmachine_people_count

Read-onlyIdempotent

Count matching people without consuming credits. Filters use the people catalog.

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

Input Schema

NameRequiredDescriptionDefault
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_phoneNoCount only people with a phone number
active_phones_onlyNoCount only contacts with an active reported phone number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 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 / require_phone
      Added value: +{
      +  "description": "Count only people with a phone number",
      +  "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. 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, idempotentHint, and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context: the call is free (no credit consumption), which is the single most decision-relevant fact for an agent choosing between count and search. It does not discuss result accuracy, staleness, or cost of the follow-up search.

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?

Two short sentences with no filler, and the credit-saving benefit is front-loaded. The second sentence is slightly elliptical — "Filters use the people catalog" requires the reader to know a people-catalog tool exists — but nothing is wasteful.

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?

For a 10-parameter, nested-object counting tool with no output schema, the description covers purpose and cost but says nothing about what the count response looks like (a scalar vs. a breakdown), whether counts are exact or approximate, or how filters and locations combine. It is adequate but leaves meaningful gaps for a tool of this complexity.

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 80% and the schema already documents locations, list inclusion/exclusion, and phone/email filters well. The only added meaning is that filter entries must reference the people catalog, which clarifies the otherwise vague "Valid DealMachine filter ID" field. That is useful but marginal against an already-rich schema, so the baseline 3 applies.

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?

States a specific verb and resource ("Count matching people") plus a distinguishing property ("without consuming credits"), which separates it from the credit-consuming sibling search tool without naming it. It is clear what the tool returns conceptually, though it never names dealmachine_people_search or dealmachine_property_count as the contrasting alternatives.

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?

"Without consuming credits" implies the intended usage pattern: preview a count before running a paid search or export. "Filters use the people catalog" hints that filter IDs come from the filters tool. However, no explicit when-to-use/when-not guidance or named alternative is given, so the routing 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.