Skip to main content
Glama

create_coupons_promotion_bulk

Create multiple coupons for a promotion in a single request by specifying a prefix, quantity, and optional expiration date.

Instructions

🟡 WRITE · creates data · Promotions · POST /v2/promotions/{id}/coupons-bulk

Create coupons in a promotion (Bulk)

Bulk create coupons in a promotion. The endpoint response is an array with the created coupon resources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPromotion id
bodyNo
Behavior3/5

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

Discloses it's a write operation (POST) and returns an array of created resources. No contradiction with annotations (readOnlyHint=false, destructiveHint=false). But lacks details on auth, rate limits, or side effects beyond what annotations imply.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Concise with a front-loaded summary line including emoji and HTTP method/path. No unnecessary words. Could be slightly more detailed but not overly long.

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?

Adequate for a bulk creation tool, but does not explain partial failure behavior, idempotency, or return format in detail (no output schema). Could be more helpful with typical usage context.

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 50%, and the description adds no extra meaning to parameters like prefix, quantity, expires. The description does not explain parameter format or constraints beyond the schema.

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?

Clearly states the verb 'create', resource 'coupons in a promotion', and that it's bulk. Distinguishes from the sibling tool create_coupon_promotion which likely creates a single coupon.

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 when-to-use or when-not-to-use guidance. Does not mention alternatives like create_coupon_promotion for single coupon creation.

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/ohneben/Learnworlds-MCP'

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