Skip to main content
Glama

xpay✦ Finance Collection

getExchangeMarketHours

Retrieve trading hours for specific stock exchanges using the Global Exchange Market Hours API. Find out the opening and closing times of global exchanges to plan your trading strategies effectively.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exchangeYesExchange code (e.g., NASDAQ, NYSE)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

There are no annotations, so the description is the sole source of behavioral info. It states 'Retrieve trading hours' which implies a read-only operation, and mentions 'opening and closing times' as the data returned. However, it does not disclose output format, timezone handling, or error behavior, so it provides only moderate transparency.

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

Conciseness4/5

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

The description is two sentences and front-loaded with the key action. The second sentence repeats the idea of retrieving hours and adds a generic benefit, which is slightly redundant. It is still compact, but not zero-waste, so a 4 is appropriate.

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

Completeness4/5

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

The tool has a simple interface with one parameter and no output schema, so the burden on the description is lower. It clearly states the purpose and the data returned. However, it omits any mention of return format or how exchange codes are validated, which could be helpful in this API context. The description is adequate but not exhaustive, so a 4.

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?

The single parameter 'exchange' is fully described in the schema with an example. The tool description adds no additional parameter details beyond calling them 'specific stock exchanges'. Since schema coverage is 100%, the baseline is 3 and the description does not elevate it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Retrieve' with the resource 'trading hours for specific stock exchanges', clearly distinguishing it from the sibling 'getAllExchangeMarketHours' by focusing on a single exchange. This makes the tool's purpose immediately obvious.

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?

The description implies usage for planning trading strategies and specifies 'specific stock exchanges', which suggests it is for single-exchange queries. However, it does not explicitly name alternative tools like 'getAllExchangeMarketHours' or 'getHolidaysByExchange', so it lacks explicit when-not guidance. This warrants a 4 rather than a 5.

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