Skip to main content
Glama

WritersLogic business agents

settlement-date

Settlement date for a trade date: US equities T+1 on NYSE and Federal Reserve days, or T+n on a caller calendar — Computes the settlement date for a trade date under US equities T+1 (17 CFR 240.15c6-1, compliance date 2024-05-28) counting only days when the NYSE and the Federal Reserve Banks are open, or T+n on a named or caller calendar, and checks an asserted settlement date. The settlement-day rule (NYSE and Reserve Banks both open, so Columbus Day and Veterans Day are skipped) is our inference, not a publ

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": {
      "settlement": "<settlement>",
      "tradeDate": "<tradeDate>"
    },
    "name": "settlement-date"
  }
}

Input Schema

NameRequiredDescriptionDefault
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).
holidaysNoExtra non-business dates YYYY-MM-DD (company closures, a calendar we do not carry).
cycleDaysNocustom only.
tradeDateYes
settlementYesus-equities: T+1 since 2024-05-28 on the us-equities-settlement calendar (2026-2028). custom: cycleDays on calendar/holidays/weekend.
claimedSettlementDateNo

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