Skip to main content
Glama

wafle_coupons_create

Create a coupon for a wafle store by defining the code, discount type (percentage, fixed, or free shipping), and value. Configure usage limits, validity period, and product applicability as needed.

Instructions

Create a coupon. Codes are case-insensitive. Date fields are epoch seconds (0 = no bound).

Common patterns:

  • type=percentage, value=10 → 10% off whole cart.

  • type=fixed, value=5000, applies_to='product', applies_to_ids=[123] → ARS 5000 off product 123.

  • type=free_shipping → no shipping cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
slugYesWafle store slug, e.g. 'gamerland' or 'lensitive'.
typeYes
valueYesDiscount magnitude (% for percentage, currency for fixed).
activeNo
max_usesNo0 = unlimited.
stackableNo
starts_atNo
applies_toNoall
expires_atNo
min_subtotalNo
applies_to_idsNo
Behavior4/5

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

The description adds valuable behavioral context beyond the sparse annotations (idempotentHint=false, destructiveHint=false). It discloses case-insensitivity of codes, epoch-second date fields with 0 as no bound, and demonstrates type-specific semantics through examples. However, it does not cover all side effects or return behavior, so a full 5 is not warranted.

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 concise and well-structured, front-loading the essential purpose and then providing bullet-point examples. Every sentence contributes value, making it easy to scan and understand.

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?

Given 12 parameters and no output schema, the description covers the most important usage patterns but omits several parameters (e.g., min_subtotal, stackable, max_uses) and does not describe the return value. It is sufficient for a simple create, but not fully 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.

Parameters4/5

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

With schema description coverage at only 25%, the description compensates by clarifying the key parameters through practical examples: how type, value, applies_to, and applies_to_ids interact. It also explains date field semantics. Yet not all parameters (e.g., min_subtotal, stackable, active) are addressed, leaving some ambiguity.

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 'Create a coupon' with a specific verb and resource, unambiguously distinguishing it from sibling tools like wafle_coupons_update, wafle_coupons_delete, and wafle_coupons_list. The purpose is immediately evident.

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?

Usage context is implied through the name and the common patterns, but there is no explicit guidance on when to use this tool versus alternatives (e.g., wafle_coupons_update for modifying existing coupons). The examples hint at usage scenarios but do not state exclusions or alternatives.

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/the33warehouse-tech/wafle-mcp'

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