Skip to main content
Glama

台股即時行情

stocks__get_tw_market_quotes
Read-onlyIdempotent

[台美股題材與高股息]台股即時行情:加權指數、櫃買指數、權值股與熱門 ETF(證交所基本市況報導,盤中即時、可能略有延遲)。可指定任意台股代號(含上櫃、ETF)。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "stocks__get_tw_market_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
codesNo台股代號,例:["2330","0050"];不填回傳大盤與熱門股

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent, so safety is covered; the description adds genuinely non-obvious facts beyond them: the upstream source (證交所基本市況報導) and that quotes are intraday but may be slightly delayed. It stops short of describing response shape or rate limits, but the added sourcing/latency context is substantive.

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 compact sentences: coverage first, then the parameters/source/latency caveat, so the key information is front-loaded. The bracketed category tag [台美股題材與高股息] is arguably extraneous but costs little.

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 one optional parameter, no output schema, and full annotation coverage, the description supplies what an agent needs: default behavior, symbol scope, source, and freshness caveat. Only the returned fields and ordering are unexplained, which is a minor gap for a quote lookup.

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% and the schema already gives an example array and the omission default, so baseline is 3. The description earns one more by clarifying the accepted universe — any TW ticker including 上櫃 and ETF — which tells the agent the symbol space is broader than the schema's single 2330/0050 example suggests.

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?

States a specific resource (台股即時行情) and enumerates exactly what it covers: 加權指數、櫃買指數、權值股、熱門 ETF, plus arbitrary TW tickers including OTC and ETFs. The 台股 qualifier cleanly separates it from the sibling stocks__get_us_quotes without needing to name it.

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?

Explains the two usage modes implicitly — pass codes for specific tickers, omit codes to get the broad market and hot stocks — which matches the optional parameter. However, it never states when to prefer it over siblings like stocks__get_us_quotes or stocks__get_stock, so routing still requires 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