Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_product_inventory_update

Bulk update inventory quantities and out-of-stock purchase settings for multiple items using a single API request.

Instructions

Update Inventory The Update Inventory API allows the user to bulk update the inventory for multiple items. Use this endpoint to update the available quantity and out-of-stock purchase settings for multiple items in the inventory. Endpoint: POST /products/inventory (Version header: v3; source: v3/products-v3.json) OAuth scopes: products/prices.write

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).
Behavior3/5

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

Annotations already indicate the tool is not read-only (readOnlyHint=false). The description adds value by specifying the endpoint method (POST), OAuth scopes (products/prices.write), and the bulk nature of the operation. However, it does not disclose potential side effects, idempotency, rate limits, or other behavioral details beyond what annotations provide.

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?

The description is extremely concise: only three sentences that cover the action, resource, fields, endpoint, and scopes. Nothing is wasted, and the key information is front-loaded.

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?

Given the tool's complexity (nested objects, single parameter with array of items) and the presence of annotations, the description adequately covers the purpose, key fields, and authentication. It could mention that the update is a full replacement or idempotency, but overall it is sufficiently complete for a bulk update tool.

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?

With 100% schema description coverage, the baseline is 3. The description mentions 'available quantity and out-of-stock purchase settings', which map to the schema's 'availableQuantity' and 'allowOutOfStockPurchases' fields, but does not add significant meaning beyond what the schema already defines.

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?

The description clearly states the verb 'Update Inventory' and specifies the resource (multiple items) and the fields updated (available quantity and out-of-stock purchase settings). It effectively distinguishes from sibling tools like ghl_product_inventory_list (read-only) and other product tools by focusing on inventory bulk update.

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?

The description explains when to use the tool (bulk update inventory for multiple items) but does not provide explicit guidance on when not to use it or suggest alternatives. No comparison to similar tools like ghl_product_bulk_update is given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zackscriven/ghl-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server