marketcal
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| is_trading_dayA | Return whether a given date is a trading day on an exchange (i.e. not a weekend and not an exchange holiday). |
| next_trading_dayA | Return the next trading day strictly after the given date on an exchange. |
| previous_trading_dayB | Return the most recent trading day strictly before the given date on an exchange. |
| settlement_dateA | Compute the settlement date by advancing N trading days from a trade date (e.g. days=1 for T+1, the modern equities default). Skips weekends and exchange holidays. |
| trading_days_betweenB | Count the trading days in the inclusive range [start, end] on an exchange. |
| market_holidaysA | List the exchange holidays (YYYY-MM-DD) for a given calendar year. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool has a unique purpose: checking a date, finding next/previous trading days, computing settlement, counting days, and listing holidays. No overlap.
Most tools use verb_noun pattern (is_trading_day, next_trading_day, etc.), but 'settlement_date' and 'trading_days_between' break the pattern slightly, making it mostly consistent.
With 6 tools covering essential trading calendar operations, the set is well-scoped without unnecessary bloat or deficiency.
The tool set covers all core trading day calculations: checking, finding adjacent days, settlement, counting days, and holiday listing. No obvious gaps.