Skip to main content
Glama
longbridge

longbridge

Official

Rank List

rank_list
Read-onlyIdempotent

Retrieve ranked stock lists for US and HK markets by leaderboard tab key. Specify category key and market to get top stocks by heat, gainers, or trade activity.

Instructions

Get ranked stock list by leaderboard tab key. key: from rank_categories second_tags[].key (e.g. "hot_all-us", "hot_up-hk", "trade_heat-us"). market: inferred from key suffix (-us/-hk) or pass explicitly. size: results (default 20).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesTab key from rank_categories second_tags[].key, e.g. "hot_all-us" (US total heat), "hot_up-hk" (HK rising heat), "trade_heat-us" (US hot trades). The "ib_" prefix is stripped from rank_categories keys and added back automatically.
sizeNoNumber of results to return (default: 20)
marketNoMarket override: "US" | "HK" | "CN" | "SG". Defaults to the market suffix in the key (e.g. "ib_hot_all-hk" → HK), then "US".
need_articleNoWhether to include related news articles (default: false)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
listsNo
updated_atNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changedv0.7.1
    • removedInput schema / title
      Removed value: -"RankListParam"
  2. Changed22 schema fields changedv0.6.0
    • removedOutput schema / $defs / RankListItem / properties / amplitude / description
      Removed value: -"Intraday amplitude."
    • removedOutput schema / $defs / RankListItem / properties / chg / description
      Removed value: -"Price change (decimal ratio)."
    • removedOutput schema / $defs / RankListItem / properties / five_day_chg / description
      Removed value: -"5-day price change (decimal ratio)."
    • removedOutput schema / $defs / RankListItem / properties / industry / description
      Removed value: -"Industry/sector name."
    • removedOutput schema / $defs / RankListItem / properties / inflow / description
      Removed value: -"Net capital inflow."
    • removedOutput schema / $defs / RankListItem / properties / intro / description
      Removed value: -"Short company introduction."
    • removedOutput schema / $defs / RankListItem / properties / last_done / description
      Removed value: -"Latest traded price."
    • removedOutput schema / $defs / RankListItem / properties / market_cap / description
      Removed value: -"Total market capitalization."
    • removedOutput schema / $defs / RankListItem / properties / name / description
      Removed value: -"Display name of the security."
    • removedOutput schema / $defs / RankListItem / properties / pre_post_chg / description
      Removed value: -"Pre-/post-market price change (decimal ratio)."
    • removedOutput schema / $defs / RankListItem / properties / pre_post_price / description
      Removed value: -"Pre-/post-market price."
    • removedOutput schema / $defs / RankListItem / properties / symbol / description
      Removed value: -"Security symbol, e.g. \"700.HK\"."
    • removedOutput schema / $defs / RankListItem / properties / ten_day_chg / description
      Removed value: -"10-day price change (decimal ratio)."
    • removedOutput schema / $defs / RankListItem / properties / this_year_chg / description
      Removed value: -"Year-to-date price change (decimal ratio)."
    • removedOutput schema / $defs / RankListItem / properties / turnover_rate / description
      Removed value: -"Turnover rate."
    • removedOutput schema / $defs / RankListItem / properties / twenty_day_chg / description
      Removed value: -"20-day price change (decimal ratio)."
    • removedOutput schema / $defs / RankListItem / properties / volume_rate / description
      Removed value: -"Volume ratio versus average."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / description
      Removed value: -"Returned by `rank_list`. Wraps a `lists` array of ranked stocks for a\nleaderboard tab, plus a refresh time. Subset of the wire response."
    • removedOutput schema / properties / lists / description
      Removed value: -"Ranked stock entries."
    • removedOutput schema / properties / updated_at / description
      Removed value: -"Last refresh time (RFC3339)."
    • removedOutput schema / title
      Removed value: -"RankListResponse"
  3. Changed1 schema field changedv0.5.6
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "RankListItem": {
      +      "properties": {
      +        "amplitude": {
      +          "description": "Intraday amplitude.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "chg": {
      +          "description": "Price change (decimal ratio).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "five_day_chg": {
      +          "description": "5-day price change (decimal ratio).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "industry": {
      +          "description": "Industry/sector name.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "inflow": {
      +          "description": "Net capital inflow.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "intro": {
      +          "description": "Short company introduction.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "last_done": {
      +          "description": "Latest traded price.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "market_cap": {
      +          "description": "Total market capitalization.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "description": "Display name of the security.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "pre_post_chg": {
      +          "description": "Pre-/post-market price change (decimal ratio).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "pre_post_price": {
      +          "description": "Pre-/post-market price.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "symbol": {
      +          "description": "Security symbol, e.g. \"700.HK\".",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "ten_day_chg": {
      +          "description": "10-day price change (decimal ratio).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "this_year_chg": {
      +          "description": "Year-to-date price change (decimal ratio).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "turnover_rate": {
      +          "description": "Turnover rate.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "twenty_day_chg": {
      +          "description": "20-day price change (decimal ratio).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "volume_rate": {
      +          "description": "Volume ratio versus average.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Returned by `rank_list`. Wraps a `lists` array of ranked stocks for a\nleaderboard tab, plus a refresh time. Subset of the wire response.",
      +  "properties": {
      +    "lists": {
      +      "description": "Ranked stock entries.",
      +      "items": {
      +        "$ref": "#/$defs/RankListItem"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    },
      +    "updated_at": {
      +      "description": "Last refresh time (RFC3339).",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "title": "RankListResponse",
      +  "type": "object"
      +}
  4. Addedv0.4.5

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint, openWorldHint. Description adds specific behavior about key format, market inference, and size default, which is sufficient. No contradictions.

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?

Very concise: a single sentence followed by key-value explanations. No fluff. Every part is essential and front-loaded with the main 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?

With 4 parameters, output schema exists, and annotations cover safety, the description is largely complete. It covers key, market, and size well, though the need_article parameter is only in the schema. Overall adequate.

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 baseline 3. Description adds valuable context by providing examples for key, explaining market inference logic, and noting default size. This goes beyond the schema descriptions.

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?

Description clearly states it gets a ranked stock list by leaderboard tab key. It distinguishes from sibling 'rank_categories' (which provides category keys) and other list tools, and explains the key parameter's source.

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?

Explicitly explains how to obtain the key from rank_categories second_tags[].key and gives examples. Also clarifies market inference and default size. Could be improved by explicitly stating when to use this versus rank_categories.

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/longbridge/longbridge-mcp'

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