Skip to main content
Glama
gavin3129

akshare-mcp

by gavin3129

get_industry_news

Retrieve recent news headlines for an industry or theme. Provide a Chinese keyword and an optional number of days to filter articles.

Instructions

Get recent news headlines for an industry or theme.

Args: industry: An industry/theme keyword in Chinese, e.g. "光伏" (photovoltaics) or "新能源车" (electric vehicles). days: Look-back window in days (default 7, capped at 30). Items older than this are dropped.

Returns: A dict with the query echoed back and an articles list, each item carrying title, source, published_at and url. On failure, a dict with an error key.

Example: >>> get_industry_news("光伏", days=7) # doctest: +SKIP {'industry': '光伏', 'days': 7, 'count': 12, 'articles': [{'title': '...', 'source': '...', 'published_at': '2024-01-15 10:30:00', 'url': '...'}, ...]}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
industryYes
daysNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations provided, but the description fully covers behavior: look-back window capped at 30 days, default 7, dropping older items, return structure (with count, articles), and error handling (error key on failure).

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?

Well-structured with Args, Returns, Example sections. Every sentence adds value. Front-loaded with purpose. No unnecessary words.

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?

Given the tool's simplicity and the detailed description including output shape and error handling, it is complete. The presence of an output schema (implied by description) reduces need for further detail.

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%, but description adds rich meaning: industry must be in Chinese, days is a look-back window with default 7 and cap 30. All parameters are explained 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?

Clear verb 'Get' and resource 'news headlines for an industry or theme'. It naturally distinguishes from sibling tools (financial statements, stock quote) which are about 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 Guidelines4/5

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

Provides example and clarifies parameter constraints, but does not explicitly state when to use this tool over siblings. However, the context implies differentiation by domain.

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