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

ghl-mcp-server-v2

by zackscriven

ghl_product_bulk_edit

Bulk-edit product fields and price variants across multiple products in one call, with target scope review before sending.

Instructions

Bulk-edits fields across multiple products and their prices in one call — review the target scope carefully before sending. Bulk Edit Products and Prices API to bulk edit products and their associated prices (max 30 entities) Endpoint: POST /products/bulk-update/edit (Version header: v3; source: v3/products-v3.json)

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": {
      "body": "<body>"
    },
    "name": "ghl_product_bulk_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.1.0
    • changedInput schema / properties / body / properties / products / items / properties / prices / items / 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 / products / items / properties / prices / items / 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 / properties / products / items / properties / prices / items / title
      Added value: +"BulkEditPriceDto"
    • changedInput schema / properties / body / properties / products / items / properties / seo / allOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "description": {
      -        "description": "SEO description",
      -        "example": "This is the best product you can buy online with amazing features and great value",
      -        "type": "string"
      -      },
      -      "title": {
      -        "description": "SEO title",
      -        "example": "Best Product - Buy Now",
      -        "type": "string"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "description": {
      +        "description": "SEO description",
      +        "example": "This is the best product you can buy online with amazing features and great value",
      +        "type": "string"
      +      },
      +      "title": {
      +        "description": "SEO title",
      +        "example": "Best Product - Buy Now",
      +        "type": "string"
      +      }
      +    },
      +    "title": "ProductSEODto",
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / body / properties / products / items / title
      Added value: +"BulkEditProductDto"
    • addedInput schema / properties / body / title
      Added value: +"BulkEditRequestDto"
  2. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so safety profile is partially covered. The description adds genuinely useful context — a hard 30-entity cap and a warning about scope — but does not explain whether updates are partial/merge or replacement, what happens to omitted prices, or what occurs when the cap is exceeded, which matters a lot for a bulk mutation.

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 first line is well front-loaded and earns its place. The second line restates the title ('Bulk Edit Products and Prices') and the third is internal spec provenance (endpoint, version header, source JSON file) that adds little for an agent choosing a tool.

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 a very large nested schema and no output schema, the description covers the essentials (what it does, entity cap, caution) but leaves out update semantics and return behavior for a mutation that can touch 30 products and their prices. It is adequate but not complete 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 description coverage is 100%, so the deeply nested body (products, prices, SEO, shipping, recurring) is already fully documented and the baseline is 3. The description repeats only that products and prices are edited and adds the 30-entity limit; it contributes no extra meaning about the single body parameter.

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 states a specific verb and scope: bulk-editing fields across multiple products and their associated prices in a single call, with a stated cap of 30 entities. It is clear what the tool does, but it never differentiates itself from close siblings such as ghl_product_bulk_update, ghl_product_update, or ghl_product_price_update, which an agent must choose between.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is a caution to 'review the target scope carefully before sending,' which is a warning rather than a routing rule. There is no statement of when to prefer this over ghl_product_bulk_update or per-entity ghl_product_update / ghl_product_price_update, and no prerequisites or exclusions are given.

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