Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Analyze what sells

analyze_what_works
Read-only

Analyzes product and order data to surface top-selling products, top sales channel, and average order value within a selected time window.

Instructions

Surface insights from the merchant's own products + orders: best sellers, top channel, average order value. Read-only. Own-account signal (cross-merchant intelligence is a future feature).

[#f6f4f3]

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": "analyze_what_works"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeNo
workspaceNo
store_uuidNo
time_windowNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

B3/5.0
Behavior3/5

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

The 'Read-only' sentence merely restates readOnlyHint=true and destructiveHint=false, earning no extra credit. It does add some behavior beyond annotations by scoping the data to the merchant's own account and clarifying what the output is derived from (products + orders), which is useful context. Annotations already carry the safety profile, so a 3 is appropriate, but nothing is said about aggregation granularity or cost.

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

Conciseness3/5

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

The useful content is front-loaded and the three sentences are mostly lean, but the trailing stray token '[#f6f4f3]' is pure noise that a calling agent must ignore. Sizing is reasonable; structure is fine, but the artifact and the parenthetical aside cost it.

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 four undocumented parameters, no output schema, and only terse annotations, the description leaves the agent without enough to invoke it correctly — particularly how scope and time_window change the returned insight set. It answers 'what' but not 'how to call it well' for a moderately parameterized analytics tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters (scope, workspace, store_uuid, time_window), and the description compensates for none of them — it never explains what 'scope' selects among designs/products/channels/all, nor what time_window='all' implies. Enum values hint at semantics inside the schema, but the description adds no meaning beyond the raw field names.

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 uses a specific verb ('surface insights') plus the concrete resources (the merchant's own products and orders) and enumerates the outputs: best sellers, top channel, average order value. That is far clearer than a generic 'analytics' tool, but it never distinguishes itself from the crowded analytics_* / channel_performance family, so an agent must guess which sibling to pick.

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?

It supplies an implicit usage boundary by stating the signal is own-account only and that cross-merchant intelligence is a future feature, which tells the agent when to look elsewhere. However, it gives no explicit 'use this instead of analytics_summary/analytics_breakdown when…' guidance and no prerequisites, so selection among siblings is still inference.

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