Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Analytics breakdown

analytics_breakdown
Read-only

Aggregate KPIs by one dimension such as product type, sales channel, or fulfillment provider to compare performance; excess rows fold into an “(everything else)” row so totals reconcile.

Instructions

Aggregate KPIs broken down by one dimension: product_type, sales_channel, fulfillment_provider, product, variant, or hold_reason. Rows are sorted for display; overflow past the limit folds into an "(everything else)" row so totals still reconcile. Requires an Advanced Analytics plan. Read-only.

[#127113]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dimension": "<dimension>"
    },
    "name": "analytics_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date (YYYY-MM-DD). Omit to default to today (UTC).
limitNoMax rows before folding the rest into "(everything else)" (default 50).
startNoStart date (YYYY-MM-DD). Omit to default to 30 days before end.
storeNoStore uuid to narrow to one store. Omit for all accessible stores.
currencyNoReporting currency (e.g. "USD"). Currencies are segmented, never summed.
dimensionYesThe dimension to break down by (required).
workspaceNoWorkspace uuid to scope to (agency accounts). Omit for the Default workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so restating "Read-only" adds nothing. The genuinely useful additions are the Advanced Analytics plan gate (an error condition the agent cannot see elsewhere) and the "(everything else)" folding rule that keeps totals reconciling when rows overflow the limit.

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

Conciseness4/5

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

Three tightly packed sentences with the scope, the row-folding contract, and the plan prerequisite front-loaded. The stray "[#127113]" trailer is unexplained noise that an agent cannot act on.

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

Completeness4/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 does useful work by describing the shape of the result (sorted rows plus an "(everything else)" row) and by disclosing the plan requirement. What remains unstated is the structure of the KPI values themselves, but that is a modest gap for an aggregation tool.

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%, and the description largely repeats it: the dimension list mirrors the enum and the folding behavior mirrors the limit parameter's own description. It contributes no extra syntax, default, or format detail beyond what the schema already carries, so baseline 3 applies.

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 opens with a specific verb and resource ("Aggregate KPIs broken down by one dimension") and enumerates the six allowed dimensions, which implicitly separates it from analytics_timeseries (time-based) and analytics_summary. It never names those siblings outright, so the differentiation is inferable rather than explicit.

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 establishes the precondition that a dimension is required and that an Advanced Analytics plan is needed, plus the mechanics of limit-based folding. It gives no explicit routing guidance telling the agent when to pick this over analytics_summary, analytics_timeseries, or analytics_ops.

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

Deploy Server

Other Tools