Skip to main content
Glama
longbridge

longbridge

Official

Trading Days

trading_days
Read-onlyIdempotent

Get trading days for HK, US, CN, or SG markets between specified dates. Returns full and half trading days as date strings.

Instructions

Get trading days for a market between dates. Returns trading_days[] and half_trading_days[] as "yyyy-mm-dd" strings. market: HK/US/CN/SG.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketYesMarket code: HK, US, CN, SG
startYesStart date (yyyy-mm-dd)
endYesEnd date (yyyy-mm-dd)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
trading_daysYesFull trading days in the requested range (yyyy-mm-dd).
half_trading_daysYesHalf-day trading sessions in the requested range (yyyy-mm-dd).
Behavior4/5

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

Annotations (readOnlyHint, idempotentHint, openWorldHint) already indicate safe, read-only behavior. Description adds useful detail about return format (two arrays of date strings) without contradicting annotations.

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 concise sentences with key information front-loaded. No unnecessary words or repetition.

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?

Covers essential aspects: market codes, date format, and output arrays. Could benefit from mentioning that dates are inclusive or handling of market holidays, but overall complete given the output schema exists.

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?

Input schema has 100% coverage with clear descriptions for each parameter. Description only repeats market options, adding minimal value beyond the schema. Baseline 3 is appropriate.

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?

Description clearly states the action (get), resource (trading days), market options, and output format. It distinguishes itself from siblings like 'trading_session' by specifying it returns date strings for trading days and half trading days.

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

Usage Guidelines3/5

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

No explicit when-to-use or when-not-to-use guidance. While the purpose is clear, there is no mention of alternatives or context where this tool is appropriate versus other sibling tools like 'trading_session' or 'market_status'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/longbridge/longbridge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server