Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Portfolio analytics (all clients)

analytics_portfolio
Read-only

Aggregate per-client workspace KPIs and rolled-up totals across every analytics-visible workspace for an agency portfolio view; read-only and requires Enterprise Advanced Analytics.

Instructions

Cross-client portfolio: per-workspace (per-client) KPIs plus rolled-up totals — the agency view. Groups store rollups by each store's current workspace over every workspace you can view analytics in. Requires an agency (Enterprise) account with Advanced Analytics; other accounts get a feature_unavailable error. Read-only.

[#65a008]

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_portfolio"
  }
}

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.
currencyNoReporting currency (e.g. "USD"). Currencies are segmented, never summed.
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

A4.1/5.0
Behavior4/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 the description earns credit for what they don't cover: the Enterprise/Advanced Analytics prerequisite, the exact error returned otherwise, and the grouping rule (stores bucketed by their current workspace). It does not discuss volume, cost, or latency for a potentially large cross-account rollup.

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?

Front-loaded with the core purpose and then the access constraint; every sentence carries information. The trailing '[#65a008]' token is unexplained noise that should not be in a tool 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?

All four parameters are optional and fully documented, and the description covers scope, entitlement, and what the response conceptually contains (per-workspace KPIs plus totals). With no output schema present, a sentence on result shape or ordering would close the last gap, but the definition is sufficient to call correctly.

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 start/end defaults, currency segmentation, and workspace scoping are already documented. The description reinforces the workspace dimension ('over every workspace you can view analytics in') but adds no syntax, format, or edge-case detail beyond the schema — baseline 3.

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?

States a specific resource and shape: per-workspace (per-client) KPIs plus rolled-up totals, framed as 'the agency view' across every workspace you can view analytics in. That phrasing separates it from single-workspace siblings like analytics_summary without needing to name them.

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?

Gives clear context for selection — use this for cross-client/agency rollups — and states the entitlement gate (agency/Enterprise with Advanced Analytics) plus the failure mode (feature_unavailable). It stops short of explicitly naming an alternative for non-agency accounts, so the agent must infer that a workspace-scoped analytics tool is the fallback.

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