Skip to main content
Glama

ClockCrest time tools

Stock market hours

get_market_hours
Read-onlyIdempotent

Regular trading hours of major stock exchanges and whether each is open right now according to its weekly timetable, with the next open and close in UTC. Exchange holidays and early closes are NOT modelled — tell the user to check the exchange calendar (sourceUrl) for those.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_market_hours"
  }
}

Input Schema

NameRequiredDescriptionDefault
exchangeNoOnly this exchange: nyse, nasdaq, tsx, lse, euronext-paris, xetra, six, bist, tadawul, dfm, adx, egx, jse, nse, bse, sgx, hkex, sse, szse, tse, krx, asx, nzx

Output Schema

NameRequiredDescriptionDefault
atYesUTC instant, YYYY-MM-DDTHH:MM:SSZ
countYes
notesYesCaveats and conventions that apply to this response.
sourceYesWhere the data or the algorithm comes from.
exchangeYes
exchangesYes
lastUpdatedYesDate the underlying data set was last generated or checked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already establish this as a safe, idempotent, closed-world read, so the bar is lower, and the description still adds real substance: results are derived from a weekly timetable, times are in UTC, and the schedule-only model means holidays and early closes will be wrong. Disclosing that known accuracy limitation is exactly the behavioral context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler. The output scope is front-loaded and the caveat is placed after it, where it reads as a qualifier rather than burying the main purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return shape need not be restated, and the annotations cover the safety profile. Together with the timetable and holiday caveats, an agent has everything needed to call this correctly and to caveat its answer to the user.

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 coverage is 100% and the single exchange parameter carries a complete enum with descriptions, so the schema does the work. The description only gestures at 'major stock exchanges' and never explains what omitting the parameter does (all exchanges vs. a default), which is the one semantic the schema cannot convey.

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?

The description names the specific resource (regular trading hours of major stock exchanges), the live status it reports (whether each is open right now), and the extra data returned (next open and close in UTC). That is far more precise than the title, but it never distinguishes itself from siblings such as get_current_time or get_calendar, so an agent must infer the split from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear when-not-to-use boundary: holidays and early closes are explicitly out of scope, and the agent is told to redirect the user to the exchange calendar (sourceUrl). What is missing is any positive routing toward the sibling tools for the adjacent time/calendar queries, so the guidance covers exclusions but not alternatives.

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