Skip to main content
Glama

api_commerce_reorder_point

Read-onlyIdempotent

Calculate demand-based reorder threshold and suggested replenishment quantity for supplier lead times. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": {
      "daily_demand": "<daily_demand>",
      "lead_days": "<lead_days>",
      "stock_on_hand": "<stock_on_hand>"
    },
    "name": "api_commerce_reorder_point"
  }
}

Input Schema

NameRequiredDescriptionDefault
lead_daysYesSupplier lead time in days
target_daysNoReplenishment coverage days, default lead_days
daily_demandYesExpected units sold per day
safety_stockNoSafety stock in units, default 0
stock_on_handYesUnits on shelf
incoming_stockNoCommitted incoming units, default 0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description is free to add operational context – and it does: a per-call price of 0.01 USDC on Base x402 and the X-Provider-Key header for customer-owned provider credentials. That is genuinely useful purchasing/auth context an agent cannot get from the schema. It stops short of stating the response payload or whether the calculation is deterministic/pure.

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?

Two sentences, purpose front-loaded, with the payment and credential details trailing where they belong. No filler or repetition. Slightly dense semicolon packing in the second sentence is the only minor cost.

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?

For a read-only, single-purpose calculation tool with full schema coverage and no output schema, the description names the two computed outputs (threshold and suggested quantity) and adds cost and auth requirements. An agent has enough to decide and call it; only the exact return shape is unstated.

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 description coverage is 100%, so every one of the six parameters already carries its own meaning and defaults (target_days defaults to lead_days, safety_stock and incoming_stock default to 0). The description only gestures at lead_days and demand conceptually and adds no syntax, units, or formula detail beyond the schema, so baseline 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 verb and resource: 'Calculate demand-based reorder threshold and suggested replenishment quantity for supplier lead times.' An agent knows exactly what computation it gets. It stops short of naming how it differs from the other commerce/inventory siblings (e.g. api_herb_reorder, api_commerce_shipping_volume), so it is clear but not fully differentiated.

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 by the domain vocabulary (reorder point, supplier lead times) – an agent can infer this is for inventory replenishment math. There is no explicit when-to-use, when-not-to-use, or pointer to a sibling alternative, and no prerequisite conditions beyond the auth note.

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