Skip to main content
Glama
longbridge

longbridge

Official

Market Anomaly

anomaly
Read-onlyIdempotent

Identify unusual price or volume anomalies in HK, US, CN, or SG markets. Optionally filter by stock symbol and adjust result count to focus on specific market movements.

Instructions

Get market anomaly alerts (unusual price/volume changes). market: HK/US/CN/SG. symbol: optional, filter to a specific stock. count: results per page (default 50, max 100).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of results to return (default: 50, max: 100)
marketYesMarket code: HK, US, CN, SG
symbolNoFilter to a specific symbol, e.g. "700.HK" or "AAPL.US"

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
all_offNo
changesNo

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: -"AnomalyParam"
  2. Changed9 schema fields changedv0.6.0
    • removedOutput schema / $defs / AnomalyChange / properties / change_rate / description
      Removed value: -"Price change rate (decimal ratio)."
    • removedOutput schema / $defs / AnomalyChange / properties / name / description
      Removed value: -"Display name of the security."
    • removedOutput schema / $defs / AnomalyChange / properties / symbol / description
      Removed value: -"Security symbol, e.g. \"700.HK\"."
    • removedOutput schema / $defs / AnomalyChange / properties / volume / description
      Removed value: -"Traded volume associated with the anomaly."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / description
      Removed value: -"Returned by `anomaly`. Wraps a `changes` array of unusual price/volume\nalerts plus an `all_off` flag. Subset of the wire response — the\ndescription marks `changes[]` as having further undocumented fields."
    • removedOutput schema / properties / all_off / description
      Removed value: -"Whether anomaly alerting is globally off for the market."
    • removedOutput schema / properties / changes / description
      Removed value: -"Anomaly alert entries."
    • removedOutput schema / title
      Removed value: -"AnomalyResponse"
  3. Changed1 schema field changedv0.5.6
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "AnomalyChange": {
      +      "properties": {
      +        "change_rate": {
      +          "description": "Price change rate (decimal ratio).",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "description": "Display name of the security.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "symbol": {
      +          "description": "Security symbol, e.g. \"700.HK\".",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "volume": {
      +          "description": "Traded volume associated with the anomaly.",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Returned by `anomaly`. Wraps a `changes` array of unusual price/volume\nalerts plus an `all_off` flag. Subset of the wire response — the\ndescription marks `changes[]` as having further undocumented fields.",
      +  "properties": {
      +    "all_off": {
      +      "description": "Whether anomaly alerting is globally off for the market.",
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "changes": {
      +      "description": "Anomaly alert entries.",
      +      "items": {
      +        "$ref": "#/$defs/AnomalyChange"
      +      },
      +      "type": [
      +        "array",
      +        "null"
      +      ]
      +    }
      +  },
      +  "title": "AnomalyResponse",
      +  "type": "object"
      +}
  4. Addedv0.4.5
  5. Removedv0.4.0
  6. Addedv0.3.2
  7. Removedv0.3.1
  8. First observedv0.1.12

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already indicate readOnlyHint, openWorldHint, idempotentHint, and nondestructive behavior. The description adds value by explaining what constitutes an anomaly and the default parameter behavior, going beyond the annotations.

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 sentences with zero waste: first sentence defines purpose, second sentence lists parameters with defaults. Perfectly front-loaded and efficient.

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 has only 3 parameters and an output schema, the description covers all necessary information: purpose, parameter roles, and defaults. It is self-contained for selection and invocation.

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%, but the description concisely summarizes each parameter's purpose and values (e.g., market codes, optional symbol, count default/max), adding practical context beyond the raw 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?

The description begins with 'Get market anomaly alerts', clearly stating the action and resource. It specifies the nature of anomalies as 'unusual price/volume changes' and lists parameter roles, distinguishing it from sibling tools like candlesticks or quote.

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 for anomaly detection but does not explicitly state when to use this tool over alternatives such as market_temperature or top_movers. No exclusion or comparison is provided.

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