Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-ghl

by AIWerk

payments_create_coupon

Create a coupon for GoHighLevel payments by specifying name, code, discount type and value, start date, and optional usage limits, end date, or subscription applicability.

Instructions

Create Coupon

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesCoupon Code
nameYesCoupon Name
altIdNoLocation Id Defaults to GHL_LOCATION_ID when omitted.
altTypeNoAlt Type Defaults to GHL_LOCATION_ID when omitted.
endDateNoEnd date in YYYY-MM-DDTHH:mm:ssZ format
startDateYesStart date in YYYY-MM-DDTHH:mm:ssZ format
productIdsNoProduct Ids
usageLimitNoMax number of times coupon can be used
discountTypeYesDiscount Type
discountValueYesDiscount Value
limitPerCustomerNoLimits whether a coupon can be redeemed only once per customer.
applyToFuturePaymentsNoIs Coupon applicable on upcoming subscription transactions
applyToFuturePaymentsConfigNoIf coupon is applicable on upcoming subscription transactions, how many months should it be applicable for a subscription
Behavior2/5

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

The description does not disclose any behavioral traits beyond the basic action. While it aligns with the readOnlyHint=false annotation, it adds no context about side effects, requirements, or response format. No contradiction with annotations.

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

Conciseness2/5

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

The description is extremely under-specified—a single phrase that adds no value. It is not a concise, well-structured definition but rather a placeholder that fails to earn its place.

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

Completeness1/5

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

Given the tool's complexity (13 parameters, nested objects, required fields), a one-word description is completely inadequate. It provides no context about usage, configuration, or implications, leaving the agent with no guidance.

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?

Schema description coverage is 100%, so the schema already documents all parameters. The description adds no parameter-specific meaning, but the baseline of 3 is appropriate since the schema carries the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Create Coupon' is a tautology that merely restates the tool name. It fails to distinguish this tool from sibling tools like payments_update_coupon or payments_delete_coupon, offering no additional specificity.

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. The description does not mention context, exclusions, or reasons to choose this over related coupon operations.

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/AIWerk/mcp-server-ghl'

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