Skip to main content
Glama

Taiwan Stocks

Create an alert

create_alert

Creates an alert in the user's CubeLV account that keeps running after the chat ends and notifies the user in the CubeLV app. kind price: notifies when a stock's price crosses a level (Taiwan stocks, TAIFEX futures, Taiwan-company ADRs). kind screen: a saved screen on TWSE and TPEx stocks that notifies when a stock newly matches the conditions, checked during the session and after the close.

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": {
      "kind": "<kind>",
      "name": "<name>"
    },
    "name": "create_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNokind price: >= rises to, <= falls to
kindYes
langNoLanguage for data labels (industries, statement items, categories) and links: en, ja, ko or vi; default en
nameYesName shown in CubeLV
priceNokind price: price level in the market's currency
marketNokind price: TWSE, TPEX, TAIFEX, or NYSE/NASDAQ for Taiwan-company ADRs
symbolNokind price: code
universeNokind screen: universe as in screen_stocks; default all TWSE and TPEx stocks excluding disposal stocks, warrants and ETFs
entry_ruleNokind screen: conditions as in screen_stocks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the description only needs to add context — and it does: the alert persists after the chat ends, delivery happens in the CubeLV app, and screen alerts are evaluated during the session and again after the close. It stops short of noting what the call returns (alert identifier) or whether repeated calls create duplicates, despite idempotentHint=false.

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?

The first sentence front-loads the core action and the persistence/delivery behavior, then the two mode sentences follow in a predictable order matching the kind enum. It is dense but nearly every clause carries information; a slightly more scannable separation of the two modes would improve it.

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?

For a 9-parameter tool with nested objects (universe, entry_rule) and no output schema, the description covers the essential behavior: what gets created, that it outlives the session, and when each mode fires. Missing are the return payload and any constraints on how many alerts can exist, which matters given there is no output schema to fall back on.

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

Parameters3/5

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

Schema description coverage is 89% and the schema already prefixes each field with "kind price:" or "kind screen:", so the description mostly restates that mapping rather than extending it. It does add modest value by pinning the screen kind to TWSE and TPEx stocks specifically, but gives no guidance on op/price interaction, market identifiers, or how universe/entry_rule objects should be shaped — that burden stays entirely on 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?

The definition names a specific verb and resource ("Creates an alert in the user's CubeLV account") and then splits the tool into its two operating modes, "kind price" and "kind screen", with concrete scope for each (Taiwan stocks, TAIFEX futures, Taiwan-company ADRs vs. TWSE/TPEx screening). An agent can tell exactly what this tool produces and how the two modes differ without opening the schema.

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?

The description gives clear selection logic between the two kinds by describing the triggering semantics of each (price crossing a level vs. a stock newly matching a saved screen). It does not, however, point at siblings such as list_alerts for reviewing existing alerts, or mention prerequisites/limits such as alert quotas, so routing beyond the internal kind choice is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources