Skip to main content
Glama

WritersLogic verifiable AI agents

storage-charge-clock

Storage, demurrage or detention charge: free-time end date, chargeable days and tiered amount — Counts days between a received date and a released date for storage, demurrage, detention or parking charges: you state whether the receipt day and the release day count, how free days are counted (calendar or business days on a named or caller calendar), and a tiered per-day rate schedule by chargeable day number; returns the last free day, chargeable days, a per-tier breakdown and the total in m

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": {
      "receivedOn": "<receivedOn>",
      "releasedOn": "<releasedOn>",
      "receiptDayCounts": "<receiptDayCounts>",
      "releaseDayCounts": "<releaseDayCounts>",
      "freeDays": "<freeDays>",
      "freeCounting": "<freeCounting>",
      "chargeCounting": "<chargeCounting>",
      "tiers": "<tiers>",
      "currency": "<currency>"
    },
    "name": "storage-charge-clock"
  }
}

Input Schema

NameRequiredDescriptionDefault
tiersYes
weekendNoNon-business weekdays, 0=Sunday..6=Saturday. Default [0, 6]; use [5, 6] for a Friday/Saturday weekend.
calendarNoNamed holiday calendar with a source and supported date range (outside it the answer is unsupported), weekends-only (Saturday/Sunday only), or caller (only the holidays you list).
currencyYes
freeDaysYes
holidaysNoExtra non-business dates YYYY-MM-DD (company closures, a calendar we do not carry).
receivedOnYes
releasedOnYes
freeCountingYes
chargeCountingYesWhether chargeable days skip weekends/holidays.
receiptDayCountsYesWhether the day of receipt is day 1.
releaseDayCountsYesWhether the release day is counted.
claimedChargeMinorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources