Skip to main content
Glama
akshare-one-mcp

akshare-one-mcp

Get Valuation

get_valuation

Get daily valuation history: PE (TTM and static), PB, PEG, price/cash, price/sales, share counts and market cap.

Instructions

Get daily valuation history: PE (TTM and static), PB, PEG, price/cash, price/sales, share counts and market cap.

The upstream is Eastmoney's per-stock valuation series, called through akshare rather than akshare-one: akshare-one has no valuation domain yet, so there is no ako.get_valuation to route through and nothing in providers.py to fall back over. Every other data tool goes through that layer, and this one should move onto it as soon as upstream gains the domain.

No other source publishes the same daily panel, so there is no source or fallback parameter: a failure surfaces instead of being answered from a series with different fields.

Unlike the other tools, the records keep the upstream's Chinese field names verbatim (数据日期, PE(TTM), ...), because akshare-one's English vocabulary does not cover this domain and inventing one here would pre-empt it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "get_valuation"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesA-share stock symbol/ticker (e.g. '000001')
recent_nNoNumber of most recent records to return

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the upstream source, that there is deliberately no fallback and failures propagate, and that returned records use verbatim Chinese field names (数据日期, PE(TTM)) rather than English. It does not cover pagination beyond recent_n or permission/auth needs, keeping it short of a 5.

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

Conciseness3/5

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

The lead sentence is well front-loaded and earns its place, but the middle paragraphs about akshare-one, providers.py, and a future migration are internal plumbing that does not help an agent select or invoke the tool. Roughly half the text is scaffolding rather than instruction.

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?

An output schema exists, so return values need no explanation, and the description still adds the critical caveat that fields come back in Chinese and that failures are not silently served from another source. For a two-parameter read tool this is close to complete; only explicit comparison against the sibling tools is missing.

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%, so the schema already documents symbol and recent_n, making 3 the baseline. The description adds real meaning by explaining why there is deliberately no source or fallback parameter — an agent inspecting the schema would otherwise wonder about the missing knobs — though it says nothing extra about recent_n itself.

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?

Opens with a specific verb and resource ('Get daily valuation history') and enumerates the exact metrics returned (PE TTM/static, PB, PEG, price/cash, price/sales, share counts, market cap). The metric panel clearly separates it from the sibling financial-statement and price-history tools without needing to name them.

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?

Usage is only implied by the metric list and the 'A-share stock symbol' parameter — an agent can infer this is the valuation-series lookup, but there is no explicit when-to-use/when-not guidance and no named alternative. The discussion of akshare vs akshare-one and providers.py is routing implementation detail, not invocation guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.