Skip to main content
Glama

Leadconnector

Leadconnector List Contacts

leadconnector_list_contacts
Read-onlyIdempotent

Search or list CRM contacts in a GoHighLevel/LeadConnector account. Free-text query matches name, email, or phone. Returns a {contacts:[...], meta} envelope with contact IDs, names, emails, phones, tags, and custom fields. Requires your own GoHighLevel token via _apiKey (plus locationId for a v2 pit- token).

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "_apiKey": "pit-your-private-integration-token",
      "locationId": "ve9EPM428h8vShlRW1KT"
    },
    "name": "leadconnector_list_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax contacts to return (default 20, max 100)
queryNoFree-text search across contact name, email, and phone
_apiKeyYesYour own GoHighLevel/LeadConnector token (BYO, Pipeworx does not supply one). Either a v2 Private Integration Token (`pit-` prefixed; Settings -> Private Integrations), pass `locationId` with it, or a legacy v1 Location API key (Settings -> Business Profile -> API Key). GoHighLevel has retired v1 key creation, so new accounts will have a v2 token.
locationIdNoGoHighLevel sub-account (Location) ID. REQUIRED with a v2 `pit-` token, ignored for a v1 key. It is the id in the dashboard URL: .../location/<locationId>/...

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"Your own GoHighLevel/LeadConnector token (BYO — Pipeworx does not supply one). Either a v2 Private Integration Token (`pit-` prefixed; Settings → Private Integrations) — pass `locationId` with it — or a legacy v1 Location API key (Settings → Business Profile → API Key). GoHighLevel has retired v1 key creation, so new accounts will have a v2 token."New value: +"Your own GoHighLevel/LeadConnector token (BYO, Pipeworx does not supply one). Either a v2 Private Integration Token (`pit-` prefixed; Settings -> Private Integrations), pass `locationId` with it, or a legacy v1 Location API key (Settings -> Business Profile -> API Key). GoHighLevel has retired v1 key creation, so new accounts will have a v2 token."
    • changedInput schema / properties / locationId / description
      Previous value: -"GoHighLevel sub-account (Location) ID. REQUIRED with a v2 `pit-` token, ignored for a v1 key. It is the id in the dashboard URL: …/location/<locationId>/…"New value: +"GoHighLevel sub-account (Location) ID. REQUIRED with a v2 `pit-` token, ignored for a v1 key. It is the id in the dashboard URL: .../location/<locationId>/..."
  2. Changed1 schema field changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "_apiKey": "your-leadconnector-api-key"
      -  },
      -  {
      -    "_apiKey": "your-leadconnector-api-key",
      -    "limit": 50,
      -    "query": "John Smith"
      -  }
      -]New value: +[
      +  {
      +    "_apiKey": "pit-your-private-integration-token",
      +    "locationId": "ve9EPM428h8vShlRW1KT"
      +  },
      +  {
      +    "_apiKey": "pit-your-private-integration-token",
      +    "limit": 50,
      +    "locationId": "ve9EPM428h8vShlRW1KT",
      +    "query": "John Smith"
      +  },
      +  {
      +    "_apiKey": "your-legacy-v1-location-api-key"
      +  }
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"GoHighLevel/LeadConnector v1 Location API key (Settings → Business Profile → API Key). NOT a v2 Private Integration Token (`pit-` prefixed) — those are not supported yet."New value: +"Your own GoHighLevel/LeadConnector token (BYO — Pipeworx does not supply one). Either a v2 Private Integration Token (`pit-` prefixed; Settings → Private Integrations) — pass `locationId` with it — or a legacy v1 Location API key (Settings → Business Profile → API Key). GoHighLevel has retired v1 key creation, so new accounts will have a v2 token."
    • addedInput schema / properties / locationId
      Added value: +{
      +  "description": "GoHighLevel sub-account (Location) ID. REQUIRED with a v2 `pit-` token, ignored for a v1 key. It is the id in the dashboard URL: …/location/<locationId>/…",
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / _apiKey / description
      Previous value: -"GoHighLevel/LeadConnector Location API key (Settings → Business Profile → API Key)"New value: +"GoHighLevel/LeadConnector v1 Location API key (Settings → Business Profile → API Key). NOT a v2 Private Integration Token (`pit-` prefixed) — those are not supported yet."
  5. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-leadconnector-api-key"
      +  },
      +  {
      +    "_apiKey": "your-leadconnector-api-key",
      +    "limit": 50,
      +    "query": "John Smith"
      +  }
      +]
  6. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description goes beyond that by disclosing the BYO-token authentication model, the v1-vs-v2 token distinction, the locationId requirement for `pit-` tokens, and the `{contacts:[...], meta}` return envelope — real operational context an agent needs before calling.

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

Conciseness5/5

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

Three compact sentences: purpose, query semantics, return shape, then auth constraint — all front-loaded with zero filler. Every sentence carries information the agent needs.

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 read-only list tool with full schema coverage and no output schema, the description covers purpose, return envelope, and the non-obvious auth requirements. Minor gap: nothing about pagination or how `meta` should be used to page past the 100-result limit.

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 description coverage is 100%, so the schema already documents all four parameters in detail. The description largely restates that content (free-text query fields, token requirements) without adding syntax, defaults, or edge-case meaning beyond the schema, so 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 ('Search or list CRM contacts') plus the platform ('GoHighLevel/LeadConnector'), and clarifies that query performs free-text matching across name, email, and phone. It does not explicitly distinguish itself from leadconnector_get_contact or other leadconnector_list_* siblings, so it stops short of a 5.

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 implied through the query parameter (search vs. plain listing) and the example payloads, but there is no explicit when-to-use/when-not-to-use statement and no routing to alternatives such as get_contact for a single record. Adequate but leaves the agent to infer selection.

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.