Skip to main content
Glama

analytics_top_products

Identify top-selling products by revenue or quantity sold, showing revenue and percentage of total, to pinpoint best performers across connected e-commerce platforms.

Instructions

Obtiene el ranking de productos más vendidos con revenue y porcentaje del total

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoCantidad de productos en el ranking (por defecto: 10)
periodNoPeríodo a analizarthis_month
sort_byNoOrdenar por revenue o cantidad vendidarevenue
providerYesPlataforma de e-commerce
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions output includes revenue and percentage of total, but does not state that this is a read-only operation, how the ranking is computed, any default behavior (e.g., sort by revenue), or limitations. Lacks safety and operational context.

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?

A single, front-loaded sentence with no filler. It immediately states the action and output. Appropriate for the tool's simplicity.

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?

With 4 parameters, no output schema, and no annotations, the description is too brief. It doesn't explain the response structure, default behavior, or usage context. While the schema documents parameters, the lack of output schema means the agent is left guessing at the return format.

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 input schema provides 100% description coverage for all 4 parameters, so the baseline is 3. The description adds minimal semantic value beyond the schema; it only hints at the overall output, not the specific meaning of parameters like limit or sort_by, which are already documented.

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 uses a specific verb 'Obtiene' (gets) and identifies the resource as 'ranking de productos más vendidos' (ranking of best-selling products) with revenue and percentage of total. This clearly distinguishes it from sibling analytics tools like analytics_revenue or analytics_dashboard, which focus on different metrics.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool versus alternatives. It doesn't mention scenarios, prerequisites (e.g., provider requirement), or contrast with sibling analytics tools. The description simply states what it does, leaving the agent to infer usage.

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/spirit122/commercehub-mcp'

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