Skip to main content
Glama

Humanitix MCP Server and API by Cotlet

Create discount code in Humanitix

humanitix_create_discount_code
Read-onlyIdempotent

Create discount code in the user's own Humanitix account from ChatGPT, Claude or any AI agent. Returns how to do it in Humanitix step by step (screens, buttons, fields) and opens nothing by itself; then do it with the cotlet_browser_* tools in the user's Humanitix Cloud Browser. Humanitix's official API: Humanitix has a public API (v1.29.3) and no official MCP server (checked 31 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": "humanitix_create_discount_code"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, and the description's 'opens nothing by itself' is consistent with that and usefully reinforces it. Beyond that it adds little behavioral context: no mention of latency, rate limits, or whether the guide text is stable or account-specific. The Humanitix API version note is background, not behavior.

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 core routing advice is front-loaded and short, but the trailing sentence about Humanitix's public API and MCP server status does not help an agent decide or invoke. The 'checked 31 Oct 2026' metadata is noise in an invocation-time description.

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?

With zero parameters, no output schema, and annotations covering the safety profile, the description supplies what is needed: it says the output is a step-by-step guide covering screens, buttons, and fields. What it omits is how to sequence this call relative to opening a browser session, which would have made it complete.

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 baseline is 4. There are no parameter semantics for the description to compensate for, and it correctly implies no inputs are needed.

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

Purpose3/5

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

The description eventually makes clear that the tool produces a step-by-step guide rather than a discount code, but it opens with the verb 'Create discount code', which conflicts with the later 'returns how to do it... and opens nothing by itself'. The agent has to resolve that tension itself. Once resolved the purpose is specific, but the leading framing is misleading.

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 states the workflow explicitly: get the guide here, then actually perform the action with cotlet_browser_* tools in the user's Humanitix Cloud Browser. That is clear routing to the sibling browser tools. It does not, however, say when not to use this tool or what prerequisites (e.g., an open browser session) must exist first.

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