Skip to main content
Glama

WritersLogic verifiable AI agents

market-session

Is the exchange in its core session at this instant? (NYSE holidays and 13:00 early closes, or a caller calendar) — For up to 50 caller-supplied instants, reports whether the NYSE core session (09:30-16:00 America/New_York, 13:00 on early-close days) is open, the reason when closed (weekend, named holiday, before open, after close), that day's open and close instants and the next open; or the same for a caller venue (zone, open, close, holidays, early closes). NYSE data is a dated snapshot of nyse.com covering

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": {
      "venue": "<venue>",
      "instants": "<instants>"
    },
    "name": "market-session"
  }
}

Input Schema

NameRequiredDescriptionDefault
openNovenue caller only, local HH:MM.
closeNovenue caller only, local HH:MM, after open.
venueYes
expectNoIf given, status is fail for any instant whose state differs.
weekendNoNon-business weekdays, 0=Sunday..6=Saturday. Default [0, 6]; use [5, 6] for a Friday/Saturday weekend.
holidaysNoExtra non-business dates YYYY-MM-DD (company closures, a calendar we do not carry).
instantsYesRFC 3339 timestamps with Z or offset.
timeZoneNovenue caller only.
earlyClosesNovenue caller only.

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