Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Analytics trend over time

analytics_timeseries
Read-only

Retrieve zero-filled KPI trend series for revenue, profit, orders, units, AOV, and margins across day, week, or month buckets for a chosen date range.

Instructions

KPI trend series over a date range, bucketed by day, week, or month (zero-filled). Each bucket carries gross revenue, gross profit, COGS, order count, units, AOV, average margin, and margin coverage. Requires an Advanced Analytics plan. Read-only.

[#48246d]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analytics_timeseries"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date (YYYY-MM-DD). Omit to default to today (UTC).
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.
intervalNoBucket granularity (default day).
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.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and destructiveHint, so the safety profile is covered. The description adds genuinely new behavioral context beyond annotations: an Advanced Analytics plan requirement (an access prerequisite the agent needs before calling) and zero-filled buckets, which tells the agent gaps represent zero-valued periods rather than missing data.

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?

Sentences are front-loaded and dense: purpose, bucket semantics, returned metrics, plan requirement, and read-only status in three sentences. The trailing artifact '[#48246d]' is pure noise and slightly mars an otherwise efficient description.

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 usefully enumerates the returned metrics and explains zero-filling, plus states the plan prerequisite. It stops short of covering practical limits such as bucket-count caps or pagination, which matters for an open-ended date range.

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%, so all six parameters including defaults and currency-segmentation semantics are already documented in the schema. The description reinforces interval bucketing and zero-fill behavior but adds little parameter-level meaning beyond what the schema provides.

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 states a specific resource and behavior: a KPI trend series over a date range bucketed by day/week/month, with enumerated metrics per bucket. It's clearly distinct in kind from a summary or breakdown, but it never names a sibling or contrasts itself with analytics_summary/analytics_breakdown explicitly.

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 purpose implies when to use it (trend analysis over time), but there is no explicit when-to-use guidance, no exclusions, and no pointer to the alternative tools for point-in-time summaries or dimensional breakdowns. Usage is inferable rather than stated.

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