Skip to main content
Glama
mazihua-lgtm

a-share-mcp

by mazihua-lgtm

Server Quality Checklist

67%
Profile completionA complete profile improves this server's visibility in search results.
  • Latest release: v0.1.0

  • Disambiguation5/5

    Each tool targets a clearly distinct data type: K-line history, limit-up pool, limit-down pool, per-stock fund flow, index spot quotes, and stock news. The two pool tools are near-twins but their names and descriptions make the up/down distinction unambiguous.

    Naming Consistency5/5

    All six tools follow a uniform get_<noun> snake_case pattern (get_kline, get_limit_up_pool, get_fund_flow, get_index_spot, get_stock_news). No mixed conventions or inconsistent verb styles.

    Tool Count5/5

    Six tools is well-scoped for an A-share market-data server, with each tool covering a distinct data category and no filler or redundant endpoints.

    Completeness4/5

    The surface covers K-lines, limit pools, fund flow, index quotes, and news, which supports most common A-share research workflows. However, there is no per-stock real-time quote tool (only index spot) and no fundamentals/symbol-search, which agents must work around via daily K-line data.

  • Average 3.2/5 across 6 of 6 tools scored.

    See the Tool Scores section below for per-tool breakdowns.

    • No community issues in the last 6 months
    • 1 commit in the last 12 weeks
    • No stable releases found
    • No critical vulnerability alerts
    • No high-severity vulnerability alerts
    • No code scanning findings
    • CI status not available
  • This repository is licensed under MIT License.

  • This repository includes a README.md file.

  • No tool usage detected in the last 30 days. Usage tracking helps demonstrate server value.

    Tip: use the "Try in Browser" feature on the server page to seed initial usage.

  • Add a glama.json file to provide metadata about your server.

  • If you are the author, simply .

    If the server belongs to an organization, first add glama.json to the root of your repository:

    {
      "$schema": "https://glama.ai/mcp/schemas/server.json",
      "maintainers": [
        "your-github-username"
      ]
    }

    Then . Browse examples.

  • Add related servers to improve discoverability.

How to sync the server with GitHub?

Servers are automatically synced at least once per day, but you can also sync manually at any time to instantly update the server profile.

To manually sync the server, click the "Sync Server" button in the MCP server admin interface.

How is the quality score calculated?

The overall quality score combines two components: Tool Definition Quality (70%) and Server Coherence (30%).

Tool Definition Quality measures how well each tool describes itself to AI agents. Every tool is scored 1–5 across six dimensions: Purpose Clarity (25%), Usage Guidelines (20%), Behavioral Transparency (20%), Parameter Semantics (15%), Conciseness & Structure (10%), and Contextual Completeness (10%). The server-level definition quality score is calculated as 60% mean TDQS + 40% minimum TDQS, so a single poorly described tool pulls the score down.

Server Coherence evaluates how well the tools work together as a set, scoring four dimensions equally: Disambiguation (can agents tell tools apart?), Naming Consistency, Tool Count Appropriateness, and Completeness (are there gaps in the tool surface?).

Tiers are derived from the overall score: A (≥3.5), B (≥3.0), C (≥2.0), D (≥1.0), F (<1.0). B and above is considered passing.

Tool Scores

  • Behavior2/5

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

    No annotations are provided, so the description carries the full behavioral burden. It states what data is returned but says nothing about whether this is a read-only call, whether there are symbol-format or market-scope constraints, rate limits, or data freshness. The 'get' wording weakly implies read-only but that is inference, not disclosure.

    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?

    A single compact sentence that front-loads the resource ('个股逐日资金流') followed by the returned fields. No filler or repetition, though it is terse enough to omit essential invoking detail.

    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?

    An output schema exists, so return-value explanation is not required, and the description does add the field taxonomy anyway. However, with 0% parameter documentation and no usage or behavioral context, an agent still lacks what it needs to invoke the tool correctly across markets or symbol formats.

    Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

    Parameters2/5

    Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

    Schema description coverage is 0% — neither 'symbol' nor 'days' is documented anywhere. The description does not compensate at all: it never mentions the stock identifier or the lookback window, so an agent gets no guidance on symbol format or what the days default of 10 means.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose4/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    The description names a concrete resource (per-stock daily fund flow) and enumerates the specific data returned (main force / super-large / large / medium / small order net inflow and their proportions). That is far more specific than a tautology. It does not, however, position itself against siblings like get_kline or the limit-up/limit-down pools, which an agent may confuse for related market-data queries.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

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

    There is no when-to-use statement, no conditions or prerequisites, and no mention of an alternative tool. The agent must infer from the resource name alone that this is for capital-flow analysis rather than price history, which get_kline also covers.

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

  • Behavior3/5

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

    With no annotations, the description carries the full behavioral burden. It does disclose the data source (东财) and the shape of the returned content, but says nothing about authentication, rate limits, caching/freshness, or how far back news is retrieved. An output schema exists, so return structure is covered elsewhere.

    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?

    One compact sentence with the resource and return fields front-loaded; no filler. It is arguably too terse, but nothing is wasted.

    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?

    For a simple two-parameter read tool with an output schema, the description covers the resource, source, and result fields adequately. The gap is the undocumented required 'symbol' format and 'limit' behavior, which leaves an agent guessing on invocation details.

    Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

    Parameters2/5

    Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

    Schema description coverage is 0% for both parameters, so the description must compensate, and it does not. It never explains the expected symbol format (e.g., bare code vs. exchange-prefixed) nor the meaning/effect of the 'limit' parameter despite its default of 20.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose4/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    The description names a specific verb+resource (individual stock news from East Money) and even enumerates the returned fields (title/summary/publish time/source/link), so the agent knows exactly what it fetches. It does not explicitly contrast with siblings, but none of get_kline/get_fund_flow/get_index_spot overlap with news, so differentiation is implicit.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

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

    There is no statement of when to use this tool, no prerequisites, and no named alternatives. Usage is only inferable from the tool name and the word 'news' in the description.

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

  • Behavior2/5

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

    No annotations are provided, so the description carries the full behavioral burden. It discloses only that the data is 'real-time' (实时), without saying whether quotes are delayed, how fresh they are, what happens for unknown indices, or any rate-limit considerations for a live-market endpoint.

    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?

    A single front-loaded sentence identifies the resource and its coverage with zero filler. Appropriate sizing for a zero-argument lookup tool.

    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?

    With no parameters and an output schema present, the description does not need to explain return values, and the example index list gives a good idea of scope. It is near-complete, lacking only note of whether the response is a fixed set or exhaustive.

    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 tool takes zero parameters, so schema description coverage is trivially 100% and there are no parameter semantics for the description to compensate for. Baseline 4 applies.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose4/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    The description names a specific resource — real-time quotes for major indices — and enumerates concrete examples (SSE Composite, SZSE Component, ChiNext, CSI 300, CSI 500). An agent can distinguish this market-data tool from get_kline (candlesticks) or get_fund_flow (money flow) by resource type, though no sibling is named explicitly.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

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

    There is no when-to-use guidance, no statement of prerequisites, and no mention of alternatives such as get_kline for historical or per-stock data. Usage is only inferable from the resource name itself.

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

  • Behavior3/5

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

    With no annotations, the description must carry the full behavioral load. It discloses the data source and asserts stability, which is useful context, but says nothing about read-only nature, rate limits, latency, or failure modes. An output schema exists so return-shape omission is acceptable, leaving a moderately thin behavioral profile for a no-annotation tool.

    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?

    Purpose is front-loaded in the first clause, followed by a dense but scannable semicolon-separated list of parameter constraints. No filler sentences, though the telegraphic style is terse rather than polished.

    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?

    Parameter semantics are fully covered and an output schema handles return values, so an agent has what it needs to call the tool correctly. The missing piece is routing guidance relative to the five sibling market-data tools.

    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 description coverage is 0% with no enums, so the description is the sole source of parameter meaning. It covers all four: accepted symbol formats ('600519'/'sh600519'/'sz000001'), period values (day/week/month), adjust values (qfq/hfq/none), and the count range 1-800. It does not restate defaults, but it substantially compensates for the empty schema.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose4/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    Names a specific verb+resource (fetch A-share K-line data) and even identifies the data source (Tencent) and its stability. It clearly differs in resource type from siblings like get_fund_flow or get_stock_news, though it never explicitly contrasts itself with them.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

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

    No when-to-use or when-not-to-use guidance, and no alternative tools are named despite the sibling set containing other market-data endpoints. The '腾讯源,稳定' note hints a source trade-off exists but never says what to choose instead or when.

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

  • Behavior3/5

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

    With no annotations, the description carries the full behavioral burden, and it does disclose a concrete behavioral trait — that date is optional and defaults to the most recent trading day. It does not cover data freshness guarantees, rate limits, market scope (e.g. which exchange), or empty-result behavior, which leaves notable gaps for a data-fetch tool.

    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?

    Two short lines, front-loaded with the resource and fields followed by the one parameter's contract; every clause earns its place. The only minor friction is the mixed Chinese/English with a Latin 'date' token embedded mid-sentence.

    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 not be re-explained, and the single parameter is fully specified. The remaining gap is the absence of any when-to-use or sibling-routing guidance; for a simple read tool this is close to complete.

    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 description coverage is 0% for the single 'date' parameter, so the description must compensate, and it does: it states the parameter is optional, gives the exact YYYYMMDD format, and specifies the default (most recent trading day). This is meaningfully more than the bare string schema provides.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose4/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    The first clause names the resource (涨停池 / limit-up pool) and enumerates the returned fields (code, name, consecutive-board count, board-break count, sealing funds, industry), which pins down the tool's purpose precisely. It does not use an explicit verb, but the semantic domain is unambiguous and implicitly distinct from the sibling get_limit_down_pool.

    Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

    Usage Guidelines2/5

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

    There is no statement of when to use this tool versus alternatives such as get_limit_down_pool, get_kline, or get_fund_flow, nor any prerequisites or exclusions. Usage must be inferred entirely from the tool name and field list.

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

  • Behavior3/5

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

    No annotations are provided, so the description carries the full burden. It does disclose one behavioral trait beyond structured fields — that an omitted date resolves to the most recent trading day — but says nothing about it being a read-only query, any auth requirements, rate limits, or result size.

    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?

    Two short sentences, resource first and the parameter clarification second. Nothing is padded and everything present is actionable.

    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?

    With only one optional parameter, an output schema present, and full parameter semantics documented, the definition is nearly sufficient to invoke correctly. The remaining gap is the absence of any routing hint versus the limit-up sibling, which the name largely resolves anyway.

    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 0%, and the schema's default for date is an empty string with no explanation. The description supplies the missing meaning: the parameter is optional, uses the YYYYMMDD format, and an empty/default value resolves to the latest trading day — the essential facts an agent needs to format the call.

    Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

    Purpose3/5

    Does the description clearly state what the tool does and how it differs from similar tools?

    "跌停池" identifies the resource and, by contrast with the sibling get_limit_up_pool, implies it returns the limit-down pool. However it is essentially a restatement of the tool name with no verb or explicit scope statement, so the agent must infer that this is a read/query operation.

    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 usage by stating that date is optional and defaults to the most recent trading day, which tells the agent the tool works without arguments. It never states when to prefer this over get_limit_up_pool or other market-data siblings, so guidance is only implied.

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

GitHub Badge

Glama performs regular codebase and documentation scans to:

  • Confirm that the MCP server is working as expected.
  • Confirm that there are no obvious security issues.
  • Evaluate tool definition quality.

Our badge communicates server capabilities, safety, and installation instructions.

Card Badge

a-share-mcp MCP server – quality and maintenance score on Glama

Copy to your README.md:

Score Badge

a-share-mcp MCP server – quality and maintenance score on Glama

Copy to your README.md: