Skip to main content
Glama
gavin3129

akshare-mcp

by gavin3129

get_financial_statements

Retrieve key financial-statement data (income statement, balance sheet, cash flow) for any A-share company using its 6-digit code. Select annual or quarterly reports.

Instructions

Get key financial-statement line items for an A-share company.

Args: symbol: A 6-digit A-share code, e.g. "600519". period: "annual" for the latest fiscal-year report (default), or "quarterly" for the most recent quarterly report.

Returns: A dict with the latest income_statement, balance_sheet and cash_flow key items (values in CNY), plus the report_date they were drawn from. On failure, a dict with an error key.

Example: >>> get_financial_statements("600519", "annual") # doctest: +SKIP {'symbol': '600519', 'period': 'annual', 'report_date': '2023-12-31', 'income_statement': {'total_revenue': 1.5e11, 'net_profit': 7.4e10, ...}, 'balance_sheet': {...}, 'cash_flow': {...}}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
periodNoannual

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description carries full burden. It describes the return dict structure, includes error handling, notes currency (CNY), and explains period options. No mention of auth or rate limits, but sufficient for a read-only 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?

Well-structured with Args, Returns, Example sections. Front-loaded with purpose. Slightly verbose but still concise enough.

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?

With an output schema existing, the description still provides detailed return info, error handling, and parameter guidance. Complete for a tool of this complexity.

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

Parameters5/5

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

Schema coverage is 0%, so description compensates fully. It explains symbol as a 6-digit A-share code with example, and period as 'annual' (default) or 'quarterly'. Adds meaning beyond the schema types.

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 key financial-statement line items for an A-share company.' It specifies the resource (financial statements) and scope (A-share), and it distinguishes itself from siblings like get_industry_news and get_stock_quote.

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 explains when to use each parameter, including default behavior for period. It provides an example. It does not explicitly state when not to use, but the sibling context makes the usage clear.

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

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