Skip to main content
Glama

Create coupon in Udemy

udemy_create_coupon
Read-onlyIdempotent

Create coupon in the user's own Udemy account from ChatGPT, Claude or any AI agent. Returns how to do it in Udemy step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Udemy Cloud Browser. Udemy's official API: Udemy has an Instructor API that lists your courses, reads reviews, and reads and answers Q&A questions and direct messages (checked 12 Oct 2026).

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": "udemy_create_coupon"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, and the description reinforces this by stating it 'opens nothing by itself' and returns instructions only. It adds real value beyond the annotations by describing the return content (screens, buttons, fields) and the required downstream tool family.

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?

The core behavior and the hand-off to cotlet_browser_* tools are front-loaded and easy to act on. The trailing note about Udemy's Instructor API and the phrase 'from ChatGPT, Claude or any AI agent' add length without changing agent behavior.

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

Completeness4/5

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

For a zero-parameter, no-output-schema tool, the description covers what it returns, that it performs no side effects, and what to do next. The only gap is not stating prerequisites such as an active Udemy Cloud Browser session before the follow-up tools are used.

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 zero parameters and full schema coverage, there is nothing to disambiguate; the baseline of 4 applies. The description correctly implies the only input is implicit context (the user's own Udemy account).

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?

The description names a specific operation (creating a Udemy coupon) and then clarifies the actual behavior: it returns a step-by-step guide of screens, buttons and fields rather than performing the action. That clarification distinguishes it from the cotlet_browser_* tools it points to, though the opening verb 'Create' slightly oversells what the tool does.

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?

It gives a clear follow-up path: call this to get the procedure, then execute it with cotlet_browser_* tools in the user's Udemy Cloud Browser. It scopes the target to the user's own account. It stops short of naming a when-not condition or a direct alternative among the udemy_* siblings.

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.