Skip to main content
Glama

hotmart_coupons_write_create

Mutações em cupons de desconto Hotmart. Ações:

  • create: cria um cupom num produto (product_id + code + discount decimal 0-1, ex.: 0.1 = 10%).

  • delete: remove um cupom (coupon_id).

[Flattened action: create]

Bulk support: accepts product_ids, coupon_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
accountNo
discountNo
coupon_idNo
coupon_idsNo
product_idNo
product_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

The description indicates the tool is a mutation (creates coupons), consistent with readOnlyHint=false. No annotations are contradicted. However, it lacks details on permissions, idempotency, or what happens to existing coupons with the same code, which limits transparency.

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 description is relatively short but includes redundant information about the delete action and a 'Flattened action' note that adds confusion. The structure uses a list and a sentence, but could be more streamlined.

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

Completeness2/5

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

Given the tool has 7 parameters with no output schema, the description leaves many aspects unexplained: required vs optional parameters, default values, response format, error handling, and detailed behavior for bulk operations. This incompleteness hampers the agent's ability to invoke the tool correctly.

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?

The description explains product_id, code, and discount (decimal 0-1), and mentions bulk arrays product_ids and coupon_ids. However, several parameters (account, coupon_id) are not explained, and the relationship between bulk parameters and the create action is ambiguous, leaving gaps since schema coverage is 0%.

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 states 'create: cria um cupom num produto (product_id + code + discount decimal 0-1)' which clearly identifies the tool's purpose as creating a coupon. The mention of a delete action and 'Flattened action: create' introduces minor confusion but does not obscure the primary purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description lists actions and mentions bulk support, implying when to use the tool for creating coupons. However, it does not explicitly differentiate from sibling tools like hotmart_coupons_write_delete or provide guidance on when not to use this tool.

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.