Skip to main content
Glama

business_abc_analysis

Read-only

ABC / Pareto inventory analysis with optional XYZ demand variability — Offline ABC classification of products, SKUs, customers or suppliers by value. items= (required) name:annual_value;... or name:units:unit_cost;... (3-5000 items). Optional a=80 and b=95 cumulative % cut-offs; history=name:d1,d2,d3;... per-period demand enables XYZ classes by coefficient of variation (x=0.5, y=1.0 thresholds) and the ABC-XYZ matrix with replenishment guidance. Returns class summary (items %, value %), Pareto share of the top 20% of items, Gini coefficient with concentration label, control policy per class and the ranked list with share and cumulative % (limit=, default 200). Price: $0.002 USDC (Base, via x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "business_abc_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYeswidget:52000;gadget:31000;bolt:4000;nut:1200;cable:9000;case:2500;fan:800;screen:15000;chip:22000;label:300

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, openWorldHint=true, destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: the computation is 'offline,' a price is stated ($0.002 USDC on Base via x402), the returned metrics are enumerated, and the result limit default (200) is disclosed. It does not discuss error behavior or what happens at the item-count boundaries, which keeps it from a 5.

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?

Purpose is front-loaded in the first clause, and nearly every sentence carries new information (input syntax, defaults, output contents, price). It is a dense semicolon-heavy block that is harder to scan than a bulleted or multi-sentence structure would be, but there is little filler to cut.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema present, the description carries the burden of describing returns and does so concretely: class summary, Pareto share of the top 20%, Gini coefficient with label, per-class control policy, and the ranked list with cumulative percentages. Combined with input formats, defaults, and pricing, an agent has everything needed to call the tool and interpret the result.

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

Parameters5/5

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

The input schema exposes only a single 'items' property, yet the description documents the full parameter surface the agent would otherwise have no knowledge of: the two accepted item syntaxes, the 3-5000 item bound, the a=80 and b=95 cumulative cut-offs, the history= per-period format, the x=0.5/y=1.0 XYZ thresholds, and limit= with its default. Schema coverage is nominally 100% for the one listed param, but the description is the sole source of meaning for everything else.

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 opens with a specific verb+resource: 'ABC / Pareto inventory analysis' and narrows scope to 'products, SKUs, customers or suppliers by value,' which is distinct from the sibling business_eoq, business_rfm, and business_pricing tools. It stops short of naming any alternative tool by name, so the differentiation is inferred from subject matter rather than stated.

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?

Conditional guidance exists for optional features ('history=... enables XYZ classes'), which tells the agent when the XYZ path activates. However, there is no statement of when to choose this over a sibling analysis, no prerequisites, and no exclusions, so usage is only implied by the described capability.

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