Skip to main content
Glama

business_eoq

Read-only

Inventory EOQ, safety stock and reorder point — Economic order quantity with total annual ordering + holding cost, orders per year, days between orders, safety stock for a target service level (demand and lead-time variability), reorder point, average inventory, turns and a cost sensitivity table. Params: demand (annual units), order_cost, holding ($/unit/year) or holding_pct + unit_cost; optional lead_days (7), daily_sd or demand_cv (%), lead_sd, service (% default 95), moq, days_per_year (365). Offline. 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": {
      "demand": "<demand>",
      "order_cost": "<order_cost>",
      "holding": "<holding>"
    },
    "name": "business_eoq"
  }
}

Input Schema

NameRequiredDescriptionDefault
demandYes12000
holdingYes2.5
order_costYes75

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?

The description adds genuinely useful context beyond the annotations: it is a pure offline computation, and it discloses a concrete paywall ('$0.002 USDC (Base, via x402)') that an agent must know before calling. However, it does not state whether payment failure is surfaced as an error or what the response payload looks like, and the 'Offline' claim sits in mild tension with openWorldHint=true. That tension is a soft inconsistency rather than a direct contradiction, since the annotations still agree this is a non-destructive read.

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?

Outputs and defaults are front-loaded and information-dense with little filler, which is good. But the parameter listing is a long semicolon-separated run-on that duplicates schema fields and, worse, spends most of its length on parameters the schema does not define, so the density works against clarity.

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 no output schema, the description correctly enumerates return values and defaults, which is the main thing an agent needs for a calculation tool, and it discloses the payment model. The completeness is undercut by the parameter/schema mismatch: the description promises service levels, lead-time variability inputs and MOQ that the schema does not accept, so an agent cannot tell whether those features are reachable.

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?

Schema coverage is nominally 100%, but the schema 'descriptions' are only literal examples ('12000', '2.5', '75'), so the description's unit clarification (demand = annual units, holding = $/unit/year, order_cost) is doing real work. The problem is that it then advertises many optional parameters — lead_days, daily_sd, demand_cv, lead_sd, service, moq, days_per_year, holding_pct, unit_cost — none of which exist in the 3-property input schema, leaving the agent unsure which parameters it can actually send.

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?

The first clause names a specific verb-plus-resource ('Inventory EOQ, safety stock and reorder point') and immediately enumerates the computed outputs (orders/year, days between orders, turns, cost sensitivity table). No sibling tool in the catalog computes inventory economics, so an agent can identify this as the inventory-math calculator without opening the schema.

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: an agent infers 'call this when you need EOQ or reorder-point math' from the output list. There is no explicit when-to-use statement, no exclusions, and no routing to alternatives — though for a self-contained calculator with no close sibling, the cost of that omission is modest.

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