Skip to main content
Glama

commerce_assortment_gap_analysis

Destructive

Detect missing products and assortment gaps in your commerce catalog. Submit a goal or structured inputs to receive actionable analysis and recommendations within your tenant scope.

Instructions

Run the commerce domain agent action assortment_gap_analysis.

Routes through the platform's domain-agent dispatcher under your JWT, tenant, and company scope.

Args: message: Free-text objective for the action. inputs: Optional JSON string of structured inputs for the action.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputsNo{}
messageNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/5.0
Behavior2/5

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

The description mentions routing through a dispatcher with JWT/tenant/company scope but does not disclose potential side effects or outcomes. The destructiveHint annotation is not reflected in the text, and no information about what the action does is provided.

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?

The description is brief and to the point, with no redundant phrasing. It efficiently states the mechanism and two parameters.

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?

The tool is a generic dispatcher but the description omits what the action produces, its output schema, or its expected effect. An agent cannot infer the outcome or side effects of invoking this 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?

The schema has no parameter descriptions, and the description only labels 'message' as 'Free-text objective' and 'inputs' as 'Optional JSON string' without explaining their content, format, or relationship to the action. This adds minimal meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it runs a 'commerce domain agent action' but does not explain what 'assortment gap analysis' actually does. It provides a verb and resource but no meaningful distinction from other dispatcher or domain tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no indication of when to use this tool versus any sibling tools. It lacks conditions, prerequisites, or alternative selection guidance.

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