SKILL.md
As tools abaixo aparecem com os nomes que o MCP da Clickmax registra. Se o seu cliente de IA prefixar nomes de tool (
mcp<servidor>,mcp<servidor>, ou outro), use o nome já prefixado que aparecer na sua lista de tools.
When this applies
Use this skill for seller-side transaction and sale operations: inspect a transaction/sale, chart transaction activity, read sale buyer/UTM details, or refund a transaction.
Not this skill:
- recurring subscriptions ->
clickmax-seller-subscriptions - SaaS workspace billing/plans/cards -> payment billing skills
Key assumptions
- transaction and sale are related but distinct records
- external-sale details are gateway/provider-specific and should not be merged into native transaction semantics without saying so
- status, UTM, and provider fields answer different questions: payment state, attribution, and gateway traceability
- refund is permanent, reasoned, and always targets exactly one transaction; there is no product-scoped or cohort-scoped refund
- refunding a cohort means one confirmed call per transaction, so the count of transactions matters before starting
- debt is current accrued platform-fee debt, not all-time historical accounting
idmeans a DIFFERENT id-space per tool, and there is no conversion tool between them: ontransactionsget/transactionsrefundit is the TRANSACTION id (route/transactions/{id}); onsalesgetdetails/salesgetbuyer/salesgetutmsit is the SALE id (route/sales/{id}); onsalesgetexternal_detailsit is a THIRD, external-sale id (route/sales/external/{id}). Never reuse one id across these tools assuming it's the same entity.
Thought process
- Distinguish inspection from refund mutation.
- Identify whether the user needs transaction-level or sale-level detail.
- Confirm any refund path unless the intent is already explicit and unambiguous.
Execute guide
- Use
transactions_listto list transactions by cohort. Pass pagination plus the exact filters the user asked for, such astransactionStatus,productIds, andtransactionPeriod.from/to. - For a paid-sales slice, prefer
transactionStatus = ['paid']and restrict the date window explicitly. - Use
transactions_getwhen the user starts from a transaction id and needs the transaction record itself. - Inspect one sale with
salesgetdetails, then addsalesgetbuyerfor buyer identity/context andsalesgetutmsfor attribution context. - Use
salesgetexternal_detailswhen the user needs provider-facing or external sale detail beyond the main sale record. - Read debt with
transactions_debtwhen the user asks about current platform-fee debt. - Read chart trends with
transactions_chartwhen the user asks for transaction volume or movement over time. - Refund: use
transactions_refundwith the exact transaction id, a valid cancellation reason, and a short description when needed. - When the user describes a cohort instead of one transaction, resolve it with
transactions_listfirst, report how many transactions and how much money it covers, and confirm before refunding any of them.
Report
- For reads: summarize the commercial answer, not raw accounting internals.
- For refunds: report what was refunded, what else was affected, and any failures/skips.
Warnings
- Do not confuse seller transaction refunds with SaaS billing changes.
- A refund cannot be undone; a wrong transaction id costs real money.
Anti-patterns
- Refunding based on fuzzy product matching without confirming the exact transactions.
- Treating sale buyer/UTM helpers as the canonical transaction object.