Skip to main content
Glama

hotmart_sales_history_list

List individual Hotmart sales transactions with filters for product, buyer, date range, and status. Use for detailed sales history.

Instructions

Sales History. Example: hotmart_sales_history_list(max_results=10). Don't use this for aggregated metrics — use hotmart_sales_summary_list for totals/counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_resultsNoMax results per page
page_tokenNoPagination token for the next page
product_idNoProduct ID
start_dateNoStart date. Unix timestamp in **milliseconds** (not seconds, not ISO). Ex: `1730419200000` = 2024-11-01 00:00 UTC. Python: `int(datetime(2024,11,1).timestamp() * 1000)`.
end_dateNoEnd date. Unix timestamp in **milliseconds** (not seconds, not ISO). Ex: `1730419200000` = 2024-11-01 00:00 UTC. Python: `int(datetime(2024,11,1).timestamp() * 1000)`.
sales_sourceNoSale source
transactionNoTransaction code
selectNoCustom field selection in response
buyer_nameNoBuyer name
buyer_emailNoBuyer email
offer_codeNoOffer code. Format: alphanumeric Hotmart code (ex: `H123A4B5`, not UUID, not int)
commission_asNoAuthenticated user's commission role. Allowed values: 'PRODUCER', 'COPRODUCER', 'AFFILIATE'
transaction_statusNoTransaction status.
payment_typeNoPayment type.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. However, it only says 'Sales History' and gives an example, omitting details like pagination behavior, authentication requirements, rate limits, or the nature of the response. This is insufficient for a tool with 14 optional parameters.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with only two sentences and an example. Every part serves a purpose: stating what it does, giving a usage example, and providing an exclusion. No wasted words.

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?

Despite having an output schema (not shown) and full parameter documentation in the schema, the description lacks essential contextual information such as how pagination works with page_token, the format of dates (though partially in param description), or what the response contains. For a complex tool with 14 parameters, more context is needed beyond the schema.

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?

Schema description coverage is 100%, meaning all parameters have descriptions in the schema. The tool description does not add significant meaning beyond the schema; it only provides a usage example. Baseline of 3 is appropriate.

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

Purpose5/5

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

The description clearly states 'Sales History' and provides an example of usage. It distinguishes itself from the sibling tool `hotmart_sales_summary_list` by specifying when not to use it (for aggregated metrics), making the purpose very clear.

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

Usage Guidelines5/5

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

The description explicitly advises against using this tool for aggregated metrics and directs the user to `hotmart_sales_summary_list` instead, providing clear when-to-use and when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/thaleslaray/hotmart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server