Skip to main content
Glama
zlinzzzz

FinData MCP Server

by zlinzzzz

balancesheet

Retrieve balance sheet data for listed companies, including assets, liabilities, and equity, with filters by stock code, report period, and report type.

Instructions

Name:
    上市公司资产负债表。

Description:
    获取上市公司财务三大报表之资产负债表数据。

Args:
    | 名称       | 类型   | 必选 | 描述                                                                 |
    |------------|--------|------|----------------------------------------------------------------------|
    | ts_code    | str    | 是    | 股票代码,每次只能查询一支股票                                                               |
    | ann_date   | str    | 否    | 公告日期(YYYYMMDD格式)                                       |
    | start_date | str    | 否    | 公告开始日期(YYYYMMDD格式)                                           |
    | end_date   | str    | 否    | 公告结束日期 (YYYYMMDD格式)                                          |
    | period     | str    | 否    | 报告期(每个季度最后一天的日期,比如20171231表示年报,20170630半年报,20170930三季报) |
    | report_type| str    | 否    | 报告类型,参考文档最下方说明                                         |
    | comp_type  | str    | 否    | 公司类型(一般工商业:1,银行:2,保险:3,证券:4)                               |
    | fields     | list  | 否    | 从Fields中选取需要查询的字段,必须包含ann_date、f_ann_date、end_date  |

Fields:
    - ts_code:TS股票代码
    - ann_date:公告日期
    - f_ann_date:实际公告日期
    - end_date:报告期
    - report_type:报表类型
    - comp_type:公司类型(1一般工商业2银行3保险4证券)
    - end_type:报告期类型
    - total_share:期末总股本
    - cap_rese:资本公积金
    - undistr_porfit:未分配利润
    - surplus_rese:盈余公积金
    - special_rese:专项储备
    - money_cap:货币资金
    - trad_asset:交易性金融资产
    - notes_receiv:应收票据
    - accounts_receiv:应收账款
    - oth_receiv:其他应收款
    - prepayment:预付款项
    - div_receiv:应收股利
    - int_receiv:应收利息
    - inventories:存货
    - amor_exp:待摊费用
    - nca_within_1y:一年内到期的非流动资产
    - sett_rsrv:结算备付金
    - loanto_oth_bank_fi:拆出资金
    - premium_receiv:应收保费
    - reinsur_receiv:应收分保账款
    - reinsur_res_receiv:应收分保合同准备金
    - pur_resale_fa:买入返售金融资产
    - oth_cur_assets:其他流动资产
    - total_cur_assets:流动资产合计
    - fa_avail_for_sale:可供出售金融资产
    - htm_invest:持有至到期投资
    - lt_eqt_invest:长期股权投资
    - invest_real_estate:投资性房地产
    - time_deposits:定期存款
    - oth_assets:其他资产
    - lt_rec:长期应收款
    - fix_assets:固定资产
    - cip:在建工程
    - const_materials:工程物资
    - fixed_assets_disp:固定资产清理
    - produc_bio_assets:生产性生物资产
    - oil_and_gas_assets:油气资产
    - intan_assets:无形资产
    - r_and_d:研发支出
    - goodwill:商誉
    - lt_amor_exp:长期待摊费用
    - defer_tax_assets:递延所得税资产
    - decr_in_disbur:发放贷款及垫款
    - oth_nca:其他非流动资产
    - total_nca:非流动资产合计
    - cash_reser_cb:现金及存放中央银行款项
    - depos_in_oth_bfi:存放同业和其它金融机构款项
    - prec_metals:贵金属
    - deriv_assets:衍生金融资产
    - rr_reins_une_prem:应收分保未到期责任准备金
    - rr_reins_outstd_cla:应收分保未决赔款准备金
    - rr_reins_lins_liab:应收分保寿险责任准备金
    - rr_reins_lthins_liab:应收分保长期健康险责任准备金
    - refund_depos:存出保证金
    - ph_pledge_loans:保户质押贷款
    - refund_cap_depos:存出资本保证金
    - indep_acct_assets:独立账户资产
    - client_depos:其中:客户资金存款
    - client_prov:其中:客户备付金
    - transac_seat_fee:其中:交易席位费
    - invest_as_receiv:应收款项类投资
    - total_assets:资产总计
    - lt_borr:长期借款
    - st_borr:短期借款
    - cb_borr:向中央银行借款
    - depos_ib_deposits:吸收存款及同业存放
    - loan_oth_bank:拆入资金
    - trading_fl:交易性金融负债
    - notes_payable:应付票据
    - acct_payable:应付账款
    - adv_receipts:预收款项
    - sold_for_repur_fa:卖出回购金融资产款
    - comm_payable:应付手续费及佣金
    - payroll_payable:应付职工薪酬
    - taxes_payable:应交税费
    - int_payable:应付利息
    - div_payable:应付股利
    - oth_payable:其他应付款
    - acc_exp:预提费用
    - deferred_inc:递延收益
    - st_bonds_payable:应付短期债券
    - payable_to_reinsurer:应付分保账款
    - rsrv_insur_cont:保险合同准备金
    - acting_trading_sec:代理买卖证券款
    - acting_uw_sec:代理承销证券款
    - non_cur_liab_due_1y:一年内到期的非流动负债
    - oth_cur_liab:其他流动负债
    - total_cur_liab:流动负债合计
    - bond_payable:应付债券
    - lt_payable:长期应付款
    - specific_payables:专项应付款
    - estimated_liab:预计负债
    - defer_tax_liab:递延所得税负债
    - defer_inc_non_cur_liab:递延收益-非流动负债
    - oth_ncl:其他非流动负债
    - total_ncl:非流动负债合计
    - depos_oth_bfi:同业和其它金融机构存放款项
    - deriv_liab:衍生金融负债
    - depos:吸收存款
    - agency_bus_liab:代理业务负债
    - oth_liab:其他负债
    - prem_receiv_adva:预收保费
    - depos_received:存入保证金
    - ph_invest:保户储金及投资款
    - reser_une_prem:未到期责任准备金
    - reser_outstd_claims:未决赔款准备金
    - reser_lins_liab:寿险责任准备金
    - reser_lthins_liab:长期健康险责任准备金
    - indept_acc_liab:独立账户负债
    - pledge_borr:其中:质押借款
    - indem_payable:应付赔付款
    - policy_div_payable:应付保单红利
    - total_liab:负债合计
    - treasury_share:减:库存股
    - ordin_risk_reser:一般风险准备
    - forex_differ:外币报表折算差额
    - invest_loss_unconf:未确认的投资损失
    - minority_int:少数股东权益
    - total_hldr_eqy_exc_min_int:股东权益合计(不含少数股东权益)
    - total_hldr_eqy_inc_min_int:股东权益合计(含少数股东权益)
    - total_liab_hldr_eqy:负债及股东权益总计
    - lt_payroll_payable:长期应付职工薪酬
    - oth_comp_income:其他综合收益
    - oth_eqt_tools:其他权益工具
    - oth_eqt_tools_p_shr:其他权益工具(优先股)
    - lending_funds:融出资金
    - acc_receivable:应收款项
    - st_fin_payable:应付短期融资款
    - payables:应付款项
    - hfs_assets:持有待售的资产
    - hfs_sales:持有待售的负债
    - cost_fin_assets:以摊余成本计量的金融资产
    - fair_value_fin_assets:以公允价值计量且其变动计入其他综合收益的金融资产
    - cip_total:在建工程(合计)(元)
    - oth_pay_total:其他应付款(合计)(元)
    - long_pay_total:长期应付款(合计)(元)
    - debt_invest:债权投资(元)
    - oth_debt_invest:其他债权投资(元)
    - oth_eq_invest:其他权益工具投资(元)
    - oth_illiq_fin_assets:其他非流动金融资产(元)
    - oth_eq_ppbond:其他权益工具:永续债(元)
    - receiv_financing:应收款项融资
    - use_right_assets:使用权资产
    - lease_liab:租赁负债
    - contract_assets:合同资产
    - contract_liab:合同负债
    - accounts_receiv_bill:应收票据及应收账款
    - accounts_pay:应付票据及应付账款
    - oth_rcv_total:其他应收款(合计)(元)
    - fix_assets_total:固定资产(合计)(元)
    - update_flag:更新标识

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ts_codeNo
ann_dateNo
start_dateNo
end_dateNo
periodNo
report_typeNo
comp_typeNo
fieldsNo
Behavior3/5

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

No annotations are provided, so the description must convey behavioral traits. It includes a constraint that only one stock can be queried per request (ts_code: '每次只能查询一支股票'). However, it lacks details on idempotency, rate limits, authorization, or what happens when data is missing. Partial disclosure but incomplete.

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

Conciseness2/5

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

The description is extremely verbose, replicating the full parameter table and an extensive list of over 100 fields. The essential purpose is stated in the first two lines, but the bulk is redundant with the input schema and not front-loaded for quick scanning. This hinders efficient agent comprehension.

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

Completeness3/5

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

No output schema exists, so the description must explain return values. It provides a field list indicating what data can be retrieved, but does not describe the output structure (e.g., format, ordering, pagination) or error handling. For a data retrieval tool, this is adequate but not thorough.

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?

The input schema has 0% description coverage, but the tool description contains a detailed parameter table with explicit descriptions in Chinese for each parameter (e.g., format for dates, period conventions). Additionally, a comprehensive list of available fields with Chinese labels is provided, adding significant meaning beyond the schema.

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 in Chinese and English that this tool retrieves balance sheet data for listed companies. It distinguishes itself from sibling tools like 'income' and 'cashflow' by specifying it covers the balance sheet, one of the three major financial statements.

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?

The description implies usage for balance sheet queries but does not explicitly state when to use this tool over alternatives (e.g., income statement or cash flow). No guidance on when not to use or which conditions are appropriate is provided.

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/zlinzzzz/finData-mcp-server'

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