Skip to main content
Glama

SKU mapping health

get_sku_mapping_health
Read-only

How much recent sales value sits on SKUs not mapped to a catalog master (so margin and COGS are wrong), the top unmapped SKUs, and per-channel diagnostics (orders found, stores no longer linked). Covers Amazon, Flipkart, Meesho, Myntra, Snapdeal, Shopify, JioMart, Ajio, offline.

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

Input Schema

NameRequiredDescriptionDefault
rangeNoSales window: 7d (default), 30d, or mtd. Prefer 7d; 30d can time out on large catalogs.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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=false, so safety is covered. The description adds useful scope (which channels are inspected, which diagnostics are produced), but says nothing extra about cost, latency, or what an empty result means.

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 metric before the sub-diagnostics and channel list; two sentences with little waste. The nine-channel enumeration is long but earns its place by defining coverage boundaries for a closed-world tool.

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 an output schema present, return-value detail need not be explained, and the description covers what is computed and over which channels. The missing piece for a tool of this complexity is guidance on when to reach for it versus sibling diagnostics such as get_product_master or get_margin_config.

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?

There is only one parameter and schema description coverage is 100%, including the 7d/30d/mtd enum and the timeout caveat. The description adds no parameter meaning beyond the schema, so the baseline of 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?

States a specific resource and what it reports: recent sales value on unmapped SKUs, top unmapped SKUs, and per-channel diagnostics (orders found, stores no longer linked). An agent knows exactly what this returns, though it never contrasts itself with nearby tools like get_product_master or get_margin_config.

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?

Usage is only implied through the framing that unmapped SKUs make margin and COGS wrong, so an agent can infer it's a diagnostic for bad margin data. There is no explicit when-to-use, no exclusions, and no named alternative for checking catalog mapping.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources