Skip to main content
Glama
elsi06

Shopify MCP Manager

by elsi06

create_basic_discount

Create a percentage or fixed amount discount code for your Shopify store, with optional start/end dates, usage limits, and per-customer restrictions.

Instructions

Creates a percentage or fixed amount discount code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesDiscount code (e.g. "SUMMER20")
titleYesInternal discount title
amountNoFixed discount amount. Use either percentage or amount.
endsAtNoEnd date (ISO 8601, optional)
startsAtNoStart date (ISO 8601)
percentageNoPercentage discount (e.g. 0.20 for 20%). Use either percentage or amount.
usageLimitNoMaximum number of uses (optional)
appliesOncePerCustomerNoOnly once per customer
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only reveals the discount type capability and omits side effects, required permissions, uniqueness constraints, activation timing, or return value details. For a creation tool, this is insufficient transparency.

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 a single, efficiently structured sentence without filler. It leads with the verb and resource, making it easily scannable and appropriately concise relative to the tool's complexity.

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?

With 8 parameters, no annotations, and no output schema, the description leaves out critical operational context such as what the function returns, whether the discount is immediately active, and error behavior. The schema covers parameters but not the broader usage context.

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?

The schema already describes all 8 parameters with 100% coverage, including the 'use either percentage or amount' caveat. The description's mention of percentage and fixed amount adds no new parameter-level meaning beyond the schema, so the baseline of 3 is applied.

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 ('creates') and the resource ('discount code'), and goes further by specifying the two supported types ('percentage or fixed amount'). This makes it easy to select and distinguishes it from sibling list tools like list_discount_codes and list_automatic_discounts.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of whether this is for manual discount codes only, or how it relates to automatic discounts, prerequisites, or scenarios where another tool would be more appropriate.

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/elsi06/shopify-mcp-manager'

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