Skip to main content
Glama

cakto_orders_analytics

Read-onlyIdempotent

Analytics de vendas na Cakto: métricas financeiras agregadas por canal/campanha. Agrupe por group_by (utm_source|utm_medium|utm_campaign) e filtre por período (start_date/end_date no formato DD-MM-YYYY neste endpoint). Retorna gross_volume, net_value, total_fees, total_discount e order_count (valores como string, precisão decimal). Vendas sem UTM aparecem como "(unclassified)".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offerNo
accountNo
productNo
end_dateNo
group_byNo
start_dateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds genuinely useful behavioral details beyond those annotations: date format 'DD-MM-YYYY neste endpoint,' return values as strings with decimal precision, and '(unclassified)' grouping for sales without UTM.

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 a single compact paragraph with no filler. It front-loads the tool's purpose, then gives grouping/filtering instructions, return fields, and an edge-case behavior, with every sentence contributing necessary information.

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

Completeness3/5

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

With no output schema, the description responsibly lists the returned metrics and their string/decimal nature, and it documents the main grouping and date parameters. Still, the omission of offer, account, and product semantics leaves part of the invocation contract unexplained, so an agent may not know what those parameters control.

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?

With 0% schema description coverage, the description carries the burden of explaining parameters. It usefully explains group_by with its allowed enum values and start_date/end_date with format, covering 3 of 6 parameters. However, offer, account, and product are completely unexplained in both the schema and the description.

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 opens with 'Analytics de vendas na Cakto: métricas financeiras agregadas por canal/campanha,' clearly identifying the tool as sales analytics with aggregated financial metrics by channel/campaign. This distinguishes it from sibling raw-order tools like cakto_orders_list or cakto_orders_get.

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?

The description gives clear usage context: group by group_by values and filter by start_date/end_date, with the date format explicitly called out. It does not explicitly name alternatives or state when not to use the tool, but the aggregation focus makes the intended use reasonably clear.

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.