Skip to main content
Glama

xpay✦ Finance Collection

getHolidaysByExchange

Access holiday schedules for specific stock exchanges using the Global Exchange Market Hours API. Find out the dates when global exchanges are closed for holidays and plan your trading activities accordingly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd date for the holidays (YYYY-MM-DD format)
fromNoStart date for the holidays (YYYY-MM-DD format)
exchangeYesExchange code (e.g., NASDAQ, NYSE)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does not mention output format, date range handling, timezone considerations, error behavior, or any side effects. This lack of detail leaves the agent uncertain about what to expect from the tool.

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 reasonably concise. The first sentence states the core function, and the second provides a use case. The second sentence is slightly generic ('plan your trading activities') but does not waste much space. Overall, it is appropriately sized.

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

Completeness2/5

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

Given there is no output schema and no annotations, the description should compensate by explaining what the tool returns or how parameters like from/to affect results. It does not mention the output structure or the default behavior when date ranges are omitted. This leaves significant gaps for an agent to invoke the tool correctly.

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 description coverage is 100%, so the baseline is 3. The description does not add any parameter-specific meaning beyond what the schema already provides. It merely refers to 'specific stock exchanges' which mirrors the exchange parameter but adds no syntax or formatting details.

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 clearly states the tool accesses holiday schedules for specific stock exchanges, which indicates the resource and scope. It distinguishes from sibling tools like getExchangeMarketHours and getAllExchangeMarketHours by focusing specifically on holidays. The verb 'access' is somewhat generic, but the overall intent is unambiguous.

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 provides clear context: use this tool to find dates when global exchanges are closed for holidays and plan trading activities. It does not explicitly mention alternatives or exclusions, but the use case is well implied by the holiday focus, which differentiates it from market-hours siblings.

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