Skip to main content
Glama
untitled-developers

Kockatoos Shopify MCP Server

create_automatic_discount_bxgy

Create an automatic Buy X Get Y discount that applies without a code. Define items customer must buy and items they get at a percentage or free discount.

Instructions

Create an automatic Buy X Get Y discount applied without a code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesName shown to customers and in admin.
startsAtYesActivation date (ISO 8601).
endsAtNo
usesPerOrderLimitNo
buyQuantityYesNumber of items customer must buy (e.g. '3').
buyAllNo
buyProductIdsNo
buyCollectionIdsNo
getQuantityYesNumber of items customer gets at a discount (e.g. '1').
getAllNo
getProductIdsNo
getCollectionIdsNo
getDiscountTypeYesType of discount on 'get' items.
getDiscountPercentageNoPercentage off (0–100). Required when getDiscountType is 'percentage'.
combinesWithNoDiscount classes this discount can combine with.
Behavior2/5

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

No annotations are provided, and the only behavioral trait mentioned is 'applied without a code.' There is no disclosure of activation status, prerequisites, side effects, or how the discount interacts with existing ones. The description leaves many behavioral aspects unspecified.

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 description is a single sentence, making it concise and front-loaded. However, this brevity sacrifices important detail that could be included without becoming overly long.

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

Completeness2/5

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

Given the tool's complexity (15 parameters, nested objects, no output schema), the description is insufficient. It fails to explain how buy/get quantities, product IDs, and collections work together, leaving significant gaps for an AI agent to correctly invoke the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 47%, and the description adds no parameter-level detail. Parameters like endsAt, usesPerOrderLimit, buyAll, getAll lack clear meaning beyond their schema descriptions, and the description does not explain how they relate to the BXGY logic or how they are used together.

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 action 'Create an automatic Buy X Get Y discount applied without a code.' It identifies the specific discount type (BXGY) and distinguishes it from other automatic discount types like basic or free shipping, listed among sibling tools.

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?

The description implies when to use it (for BXGY automatic discounts) but does not provide explicit guidance on when not to use it or alternatives. The sibling tools list includes other discount creation tools, providing context, but the description itself lacks direct comparisons.

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/untitled-developers/shopify-mcp'

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