Skip to main content
Glama
agentladle

AgentLadle MCP AKShare

get_trading_days

Read-onlyIdempotent

Get trading days for CN, HK, or US markets between two dates.

Instructions

Get trading days for a market between dates.

Directly invoke with market and date range. market must be CN/HK/US. Dates must be YYYY-MM-DD. get_trading_days(market="CN", start="2026-01-01", end="2026-06-30")

Args: market: Market code: CN / HK / US start: Start date YYYY-MM-DD end: End date YYYY-MM-DD

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYes
startYes
marketYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
hintNo
errorNo
cachedNo
sourceNo
statusYes
updated_atNo
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, so the safety profile is clear. The description adds behavioral constraints (market must be CN/HK/US, dates YYYY-MM-DD) and implies a read-only lookup, consistent with annotations. No contradiction.

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 well-structured with comments, strategy, critical rules, examples, and an 'Args' section. However, the 'Args' section largely duplicates the parameter descriptions, making it slightly redundant. Still, it is clear and front-loaded.

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?

Given that an output schema exists (though not shown in full), the description need not explain return values. The description covers all necessary aspects: purpose, valid inputs, and usage strategy. It is complete for a parameter-rich tool with high annotation coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must fully explain parameters. It does: market as 'Market code: CN / HK / US', start as 'Start date YYYY-MM-DD', end as 'End date YYYY-MM-DD'. This adds meaning beyond the raw schema, but could be improved by explicitly listing allowed values for market.

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 clearly states 'Get trading days for a market between dates.' This is a specific verb+resource combination that distinguishes it from siblings like 'get_quote' or 'get_candlesticks' which return different financial data.

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

Usage Guidelines5/5

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

The description includes a <strategy> section that tells the AI to directly invoke with market and date range, <critical_rules> specifying valid market codes and date format, and an <examples> section showing exact usage. This provides comprehensive guidance on when and how to use the tool.

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/agentladle/mcp-akshare'

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