Skip to main content
Glama
ghl-mcp-server-v2

ghl-mcp-server-v2

by zackscriven

ghl_product_price_create

Create a new price for a specific product in GoHighLevel with amount, currency, type, recurring details, and location. Use it to add one-time or recurring pricing to a product via the API.

Instructions

Create Price for a Product The "Create Price for a Product" API allows adding a new price associated with a specific product to the system. Use this endpoint to create a price with the specified details for a particular product. Ensure that the required information is provided in the request payload. Endpoint: POST /products/{productId}/price (Version header: v3; source: v3/products-v3.json) Requires an Agency or Sub-Account token. OAuth scopes: products/prices.write

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "productId": "<productId>",
      "body": "<body>"
    },
    "name": "ghl_product_price_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).
productIdYesID of the product that needs to be used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.1.0
    • addedInput schema / properties / body / properties / membershipOffers / items / title
      Added value: +"MembershipOfferDto"
    • changedInput schema / properties / body / properties / meta / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "internalSource": {
      -        "description": "The internal source of the price.",
      -        "enum": [
      -          "agency_plan",
      -          "funnel",
      -          "membership",
      -          "communities",
      -          "gokollab",
      -          "calendar"
      -        ],
      -        "example": "agency_plan",
      -        "type": "string"
      -      },
      -      "source": {
      -        "description": "The source of the price.",
      -        "enum": [
      -          "stripe",
      -          "woocommerce",
      -          "shopify"
      -        ],
      -        "example": "stripe",
      -        "type": "string"
      -      },
      -      "sourceId": {
      -        "description": "The id of the source of the price from where it is imported",
      -        "example": "123",
      -        "type": "string"
      -      },
      -      "stripePriceId": {
      -        "description": "The Stripe price ID associated with the price.",
      -        "example": "price_123",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "source",
      -      "stripePriceId",
      -      "internalSource"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "internalSource": {
      +        "description": "The internal source of the price.",
      +        "enum": [
      +          "agency_plan",
      +          "funnel",
      +          "membership",
      +          "communities",
      +          "gokollab",
      +          "calendar"
      +        ],
      +        "example": "agency_plan",
      +        "type": "string"
      +      },
      +      "source": {
      +        "description": "The source of the price.",
      +        "enum": [
      +          "stripe",
      +          "woocommerce",
      +          "shopify"
      +        ],
      +        "example": "stripe",
      +        "type": "string"
      +      },
      +      "sourceId": {
      +        "description": "The id of the source of the price from where it is imported",
      +        "example": "123",
      +        "type": "string"
      +      },
      +      "stripePriceId": {
      +        "description": "The Stripe price ID associated with the price.",
      +        "example": "price_123",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "source",
      +      "stripePriceId",
      +      "internalSource"
      +    ],
      +    "title": "PriceMetaDto",
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / body / properties / recurring / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "interval": {
      -        "description": "The interval at which the recurring event occurs.",
      -        "enum": [
      -          "day",
      -          "month",
      -          "week",
      -          "year"
      -        ],
      -        "example": "day",
      -        "type": "string"
      -      },
      -      "intervalCount": {
      -        "description": "The number of intervals between each occurrence of the event.",
      -        "example": 1,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "interval",
      -      "intervalCount"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "interval": {
      +        "description": "The interval at which the recurring event occurs.",
      +        "enum": [
      +          "day",
      +          "month",
      +          "week",
      +          "year"
      +        ],
      +        "example": "day",
      +        "type": "string"
      +      },
      +      "intervalCount": {
      +        "description": "The number of intervals between each occurrence of the event.",
      +        "example": 1,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "interval",
      +      "intervalCount"
      +    ],
      +    "title": "RecurringDto",
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / body / properties / shippingOptions / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "dimensions": {
      -        "allOf": [
      -          {
      -            "properties": {
      -              "height": {
      -                "description": "Height of the price",
      -                "example": 10,
      -                "type": "number"
      -              },
      -              "length": {
      -                "description": "Length of the price",
      -                "example": 10,
      -                "type": "number"
      -              },
      -              "unit": {
      -                "description": "Unit of the price dimensions",
      -                "enum": [
      -                  "cm",
      -                  "in",
      -                  "m"
      -                ],
      -                "example": "cm",
      -                "type": "string"
      -              },
      -              "width": {
      -                "description": "Width of the price",
      -                "example": 10,
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "height",
      -              "width",
      -              "length",
      -              "unit"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "Dimensions of the product"
      -      },
      -      "weight": {
      -        "allOf": [
      -          {
      -            "properties": {
      -              "unit": {
      -                "description": "Weight unit of the product",
      -                "enum": [
      -                  "kg",
      -                  "lb",
      -                  "g",
      -                  "oz"
      -                ],
      -                "example": "kg",
      -                "type": "string"
      -              },
      -              "value": {
      -                "description": "Actual weight of the product",
      -                "example": 10,
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "value",
      -              "unit"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "Weight options of the product"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "dimensions": {
      +        "allOf": [
      +          {
      +            "properties": {
      +              "height": {
      +                "description": "Height of the price",
      +                "example": 10,
      +                "type": "number"
      +              },
      +              "length": {
      +                "description": "Length of the price",
      +                "example": 10,
      +                "type": "number"
      +              },
      +              "unit": {
      +                "description": "Unit of the price dimensions",
      +                "enum": [
      +                  "cm",
      +                  "in",
      +                  "m"
      +                ],
      +                "example": "cm",
      +                "type": "string"
      +              },
      +              "width": {
      +                "description": "Width of the price",
      +                "example": 10,
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "height",
      +              "width",
      +              "length",
      +              "unit"
      +            ],
      +            "title": "PriceDimensionsDto",
      +            "type": "object"
      +          }
      +        ],
      +        "description": "Dimensions of the product"
      +      },
      +      "weight": {
      +        "allOf": [
      +          {
      +            "properties": {
      +              "unit": {
      +                "description": "Weight unit of the product",
      +                "enum": [
      +                  "kg",
      +                  "lb",
      +                  "g",
      +                  "oz"
      +                ],
      +                "example": "kg",
      +                "type": "string"
      +              },
      +              "value": {
      +                "description": "Actual weight of the product",
      +                "example": 10,
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "value",
      +              "unit"
      +            ],
      +            "title": "WeightOptionsDto",
      +            "type": "object"
      +          }
      +        ],
      +        "description": "Weight options of the product"
      +      }
      +    },
      +    "title": "ShippingOptionsDto",
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / body / title
      Added value: +"CreatePriceDto"
  2. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the write non-idempotent nature is partly covered. The description adds genuinely new context: the HTTP endpoint and version, the required token types, and the write scope. It does not explain duplicate-price handling or validation failure behavior, which keeps it below 5.

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

Conciseness3/5

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

The endpoint, version, auth, and scope lines are useful and front-loadable, but the second sentence largely restates the title and the first sentence, and 'Ensure that the required information is provided' is filler. Roughly half the text earns its place.

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 no output schema and a large nested request body, the description covers transport-level facts (endpoint, version, auth, scope) but omits what a successful response contains and the conditional rule that 'recurring' is required when type is 'recurring'. Adequate for a create call, but meaningful gaps remain for a payload this complex.

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 100% and the nested body schema documents every field, so the schema does the heavy lifting. The description only says to supply required information in the request payload and never names the required fields (name, type, currency, amount, locationId) or the type/recurring relationship, so it adds little beyond the schema.

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 gives a specific verb and resource ('Create Price for a Product') and states the operation creates a new price scoped to a particular product. It is clearly distinct from siblings like ghl_product_price_update or ghl_product_price_delete by naming the create action, though it never explicitly contrasts with 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?

'Use this endpoint to create a price with the specified details for a particular product' establishes context, and the auth line (Agency or Sub-Account token) plus OAuth scope 'products/prices.write' are concrete prerequisites. It stops short of naming alternatives or when not to use it, so it does not reach the top band.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools