Skip to main content
Glama

查詢題材股的最新收盤、漲跌幅、成交量、所屬題材與近 60 個交易日收盤

stocks__get_stock
Read-onlyIdempotent

[台美股題材與高股息]查詢題材股的最新收盤、漲跌幅、成交量、所屬題材與近 60 個交易日收盤。

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": {
      "code": "<code>"
    },
    "name": "stocks__get_stock"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes股票代號,例:2330

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds payload context — that results include 60 days of historical closes and theme membership — which is useful beyond the annotations. It does not mention data freshness, coverage limits, or behavior for unknown codes.

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 sentence, front-loaded with a bracketed domain tag followed by the returned fields. Nothing is wasteful, though the content largely duplicates the title verbatim, which reduces the marginal information per token.

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?

With no output schema, the description usefully enumerates the return fields, which is the right call for a lookup tool. However, for an openWorld data tool it omits whether both TW and US codes are accepted in the same parameter, what happens on invalid codes, and how fresh the quotes are — gaps an agent would need to call it confidently.

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?

There is a single required parameter with 100% schema description coverage ('股票代號,例:2330'), so the schema already carries the semantics. The description never mentions the code parameter or its accepted formats/markets, adding nothing here. Baseline 3 applies when the schema does the heavy lifting.

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 (查詢) and resource (題材股) and enumerates exactly what is returned: latest close, change %, volume, associated themes, and 60 trading days of closes. It also brackets the domain as Taiwan/US theme and high-dividend stocks. It does not differentiate itself from siblings such as stocks__get_us_stock or stocks__get_theme_stocks, so it stops short of a 5.

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 explicit when-to-use guidance, no stated preconditions, and no alternative named. An agent must infer from the phrase '題材股' that this is for thematic-stock lookups rather than general quotes or theme listings. The bracket tag hints at scope but does not route between competing tools.

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