Skip to main content
Glama

Leadconnector

Leadconnector List Pipelines

leadconnector_list_pipelines
Read-onlyIdempotent

List all sales pipelines and their stages in the account. Returns a {pipelines:[...]} envelope with pipeline IDs, names, and ordered stages. Use the returned pipeline ID with leadconnector_list_opportunities. 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_pipelines"
  }
}

Input Schema

NameRequiredDescriptionDefault
_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"
      -  }
      -]New value: +[
      +  {
      +    "_apiKey": "pit-your-private-integration-token",
      +    "locationId": "ve9EPM428h8vShlRW1KT"
      +  },
      +  {
      +    "_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)."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"New value: +"GoHighLevel/LeadConnector v1 Location API key (Settings → Business Profile → API Key). NOT a v2 Private Integration Token (`pit-` prefixed)."
  5. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-leadconnector-api-key"
      +  }
      +]
  6. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new context: the {pipelines:[...]} envelope, ordered stages, BYO-token auth with no Pipeworx-supplied credential, and the v2 `pit-` token requirement for locationId. Those auth and return-shape details are not derivable from the annotations and are important for a tool that fails without correct credentials.

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 short sentences, front-loaded with purpose and return shape, then the sibling hand-off, then auth constraints. No filler or duplicated phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with no output schema, the description covers purpose, return envelope, credential requirements across token versions, and next-step usage. Nothing an agent needs to invoke it successfully is missing.

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%, with both _apiKey and locationId fully documented in the schema, so the description's "_apiKey (plus locationId for a v2 pit- token)" largely restates it. Baseline 3 applies since the schema carries parameter meaning.

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?

States a specific verb and resource ("List all sales pipelines and their stages in the account") and describes the return shape, which cleanly separates it from siblings like leadconnector_list_opportunities. An agent knows exactly what it retrieves without opening the schema.

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?

Gives explicit downstream routing: use the returned pipeline ID with leadconnector_list_opportunities, which establishes this as a prerequisite/discovery call. It stops short of naming a when-not condition or a true alternative pipeline source, so it is strong but not exhaustive.

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.