Skip to main content
Glama

台股題材與高股息

get_stock

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes股票代號,例:2330

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read (查詢) and lists the returned data, but says nothing about freshness/latency, rate limits, permissions, or error behavior for an invalid code.

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 front-loaded sentence that lists the returned fields with no filler. It is efficient, though it packs the return-value enumeration rather than leading with the core action.

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 helpfully enumerates the returned fields (close, change, volume, theme, 60-day history), which partially compensates. However, with no annotations it omits any behavioral context an agent would want for correct invocation.

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 coverage is 100% and the single 'code' parameter is fully documented with an example (2330). The description adds no extra format or constraint details beyond the schema, so the baseline of 3 for a fully covered schema is appropriate.

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?

States a specific verb (查詢) and resource (題材股), and enumerates the returned fields (最新收盤、漲跌幅、成交量、所屬題材、近 60 個交易日收盤), so an agent understands it retrieves a single theme stock's data. It does not explicitly differentiate itself from siblings like get_theme_stocks or list_stock_themes, which limits it below 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 prerequisites, and no naming of alternatives among the four sibling tools. The agent must infer that it should be called with a single stock code, but nothing routes it away from get_theme_stocks or list_stock_themes.

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