Skip to main content
Glama
DannyWongIsAvailable

Real-time Stock MCP Service

get_financial_ratios

Retrieve key financial ratios for any stock by providing its code. Includes profitability, solvency, and operational efficiency metrics in a Markdown table.

Instructions

获取指定股票的财务比率数据,包括盈利能力、偿债能力、运营能力等关键财务指标。

Args: stock_code: 股票代码,要在数字后加上交易所代码,格式如300750.SZ

Returns: 财务比率数据的Markdown表格

Examples: - get_financial_ratios("300750.SZ")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stock_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, and the description does not disclose any behavioral traits such as data freshness, authentication requirements, or side effects. It only states the tool retrieves data, which is implied by the name. For a read-only tool, this is minimally transparent.

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?

The description is concise with a clear purpose, Args, Returns, and Examples sections. Every sentence adds value, and it is front-loaded with the main functionality. No unnecessary words.

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?

Given that an output schema exists (Markdown table), the description does not need to detail return values. However, it only vaguely mentions key indicators without listing which ratios. For a tool with many siblings, more specificity about included ratios would improve completeness.

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?

The input schema has one parameter with no description (0% coverage). The description adds meaningful format guidance: 'add exchange code after the number, format like 300750.SZ'. This compensates for the schema gap, though it could specify allowed exchange codes.

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 financial ratio data for a specified stock, listing specific categories like profitability and solvency. This verb+resource pair is distinct from siblings like 'get_financial_summary' or 'get_main_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 Guidelines3/5

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

The description provides basic usage with argument format and example, but does not explicitly guide when to use this tool versus its many siblings. Usage is implied by the tool name and description, but no exclusions or alternatives are mentioned.

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/DannyWongIsAvailable/real-time-stock-mcp-service'

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