Skip to main content
Glama
lmdat

@lmdat/cafef-financial-mcp

by lmdat

Lấy Báo cáo lưu chuyển tiền tệ

get_cash_flow

Fetch cash flow statements for Vietnamese stocks: operating cash flow and cash equivalents across recent quarters or years, with data standardization.

Instructions

Lấy dữ liệu Báo cáo lưu chuyển tiền tệ (Cash Flow Statement) của 1 mã cổ phiếu Việt Nam từ API công khai cafef.vn. Trả về lưu chuyển tiền thuần từ hoạt động kinh doanh, tiền và tương đương tiền cuối kỳ theo nhiều kỳ gần nhất, đã chuẩn hóa số liệu và phát hiện kỳ thiếu dữ liệu. Lưu ý: mã chỉ tiêu (code) trong báo cáo này có tiền tố theo nhóm (HDKD_xx, HDDT_xx, HDTC_xx), khác với Balance Sheet/Income Statement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYesMã cổ phiếu, ví dụ FPT, VNM, HPG
pageSizeNoSố kỳ gần nhất cần lấy (mặc định 4)
typeTimeNoQUY = lấy theo quý, NAM = lấy theo nămQUY
Behavior4/5

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

With no annotations, description carries full burden. It explains data source, normalization, missing period detection, and that it returns multiple periods. It does not mention side effects, which is appropriate for a read operation.

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?

Description is a single coherent paragraph that front-loads the purpose and then adds details. It could be slightly more structured but is not overly long.

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?

Given no output schema, description covers key output aspects (returned metrics, multiple periods, normalization, missing period detection). It does not detail exact structure but provides sufficient context for an AI agent to understand the tool's function.

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 100% with parameter descriptions. The description adds value by explaining that code prefixes differ from other statements, aiding interpretation of results. However, parameter details like pageSize and typeTime are already fully described in 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 the tool retrieves Cash Flow Statement data for a Vietnamese stock from cafef.vn API, lists specific returned metrics (cash flow from operations, cash equivalents), and distinguishes from siblings by noting different code prefixes.

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 implies usage for cash flow analysis and contrasts with Balance Sheet/Income Statement by mentioning different code prefixes, but does not explicitly state when to use this tool versus alternatives.

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/lmdat/cafef-financial-mcp'

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