Skip to main content
Glama

company_product_portfolio

Build a product portfolio by scoring every SKU against growth, margin, velocity, and stock thresholds, flagging risks and recommending one action per SKU.

Instructions

Build the sealed product portfolio: every SKU placed by growth, margin, velocity, days of cover, sell-through, and return rate against the bundle's thresholds (grow, harvest, fix, cut, new, unmeasured), flagged (overstocked, stockout risk, return problem, unpriced, uncosted), with one recommendation per SKU naming the number behind it (payload: optional window_start, window_end, previous_window_start for growth).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nowNo
engineNo
operationNobuild
entity_refNo
project_idYes
bundle_jsonYes
payload_jsonNo{}

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

B3.4/5.0
Behavior3/5

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

The description clearly discloses what the tool computes and returns (classification buckets, flags, recommendations, payload windows), which is valuable because no annotations are present. However, it does not say whether 'build' or 'sealed' persists data, whether the operation is read-only, or what side effects/permissions are involved.

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 information is dense and relevant, and the main action is front-loaded, but the single sentence packs many domain-specific terms and parentheticals, making it harder to scan than a short structured definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 details are covered, and the description supplies the classification logic and payload semantics. It is not fully complete because it omits the meaning of 'sealed', threshold bundle structure, and several parameters, which matters for a 7-parameter tool with no annotations.

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 coverage is 0%, so the description must compensate; it does explain 'bundle thresholds' (presumably bundle_json) and the optional payload windows, but leaves required project_id and optional engine, operation, now, and entity_ref unexplained. An agent cannot derive all parameter meanings from the schema or description.

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 verb and resource ('Build the sealed product portfolio') and then specifies the output: every SKU classified by six metrics against bundle thresholds, with flags and one per-SKU recommendation. This is detailed enough to distinguish it from generic siblings like company_portfolio and company_product_margin.

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 description implies the use case: call this when you need a classified, flagged product portfolio with recommendations. It does not explicitly state when to use this instead of siblings such as company_portfolio or commerce_product_analysis, nor are exclusions given.

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