Skip to main content
Glama

Create coupon in Payhip

payhip_create_coupon
Read-onlyIdempotent

Create coupon in the user's own Payhip account from ChatGPT, Claude or any AI agent. Returns how to do it in Payhip step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Payhip Cloud Browser. Payhip's official API: Payhip has a narrow public API (checked 28 Oct 2026): it creates, lists and retrieves coupons, and verifies, enables, disables or counts uses of software license keys.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "payhip_create_coupon"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and idempotentHint=true; the description corroborates this by stating it "opens nothing by itself" and clarifying that the output is procedural guidance (screens, buttons, fields). It adds real context about the account scope and the handoff to browser tools, though it says nothing about response size, freshness or limits.

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 first two sentences are tightly front-loaded and earn their place. The third sentence, cataloguing Payhip's public API for coupons and license keys with a dated check, is tangential to invoking this tool and dilutes the message.

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?

With no output schema and no parameters, the description must carry the burden, and it does explain the return shape (step-by-step screens/buttons/fields) and the next step. However, it never says what input the generated guidance is based on when no coupon attributes are passed, which is a meaningful gap for a creation-oriented tool.

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?

The tool takes zero parameters, so the schema baseline applies and there is no parameter syntax to explain. The description does not address the interesting implication of a zero-parameter coupon creator (how coupon specifics are conveyed), but that is a minor gap at this parameter count.

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

Purpose4/5

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

Names a specific verb and resource ("Create coupon in the user's own Payhip account") and immediately corrects the natural misreading of the name by stating it "Returns how to do it in Payhip step by step ... and opens nothing by itself." It does not differentiate itself from sibling payhip_* tools, and the closing remarks about Payhip's official API capability list are about the vendor rather than this tool.

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?

Gives clear follow-on routing: use this for the how-to, then "do it with the cotlet_browser_* tools in the user's Payhip Cloud Browser," which effectively names the alternative executor. It never states an explicit when-not-to-use condition (e.g., when the official Payhip API path should be used instead), leaving some inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources