Skip to main content
Glama
DannyWongIsAvailable

Real-time Stock MCP Service

get_industry_profit_comparison

Compare profit metrics of companies in the same industry as a specified stock to evaluate relative financial performance.

Instructions

获取指定股票的同行业公司盈利对比数据,包括同行业公司的基本财务和盈利指标。

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

Returns: 行业公司盈利数据的Markdown表格

Examples: - get_industry_profit_comparison("688041.SH")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stock_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It describes the function as fetching data and returning a Markdown table, which implies a read-only operation. However, it does not explicitly state that it is read-only or disclose any potential side effects.

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 sections for Args, Returns, and Examples. Every sentence is informative without redundancy. The structure is front-loaded with the purpose.

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?

The description covers the tool's purpose, input format, and output type (Markdown table). Given the single parameter and the presence of an output schema (though not shown), it is fairly complete. However, it lacks context about limitations or performance considerations.

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?

Although schema coverage is 0%, the description adds meaning by specifying the stock_code format with an exchange suffix (e.g., '688041.SH'), which is not present in the schema's type definition. This helps the agent construct valid inputs.

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 it retrieves peer profit comparison data for a given stock, including basic financial and profitability indicators. This distinguishes it from siblings like get_valuation_comparison or get_growth_comparison.

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 it is for industry profit comparison but does not provide explicit guidance on when to use this tool versus alternatives like get_financial_ratios or get_growth_comparison. An example is given, but no when-not-to-use advice.

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