Skip to main content
Glama
pyang2045

TWSE MCP Server

by pyang2045

getStockPERatios

Retrieve P/E ratios, dividend yields, and price-to-book ratios for all Taiwan Stock Exchange stocks to evaluate valuation and income.

Instructions

Get P/E ratios, dividend yields, and price-to-book ratios for all stocks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states what data is retrieved but offers no information on potential rate limits, data freshness, permissions, or impact on the system. The behavior is minimally transparent.

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?

The description is a single concise sentence (14 words) that front-loads the purpose. Every word is necessary, and no extraneous information is included.

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?

Given the absence of an output schema and annotations, the description provides the core purpose but lacks context about time frame, data source, or structure of returned data. It is minimally complete for a low-complexity tool but leaves some ambiguity.

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?

The input schema has zero parameters, and schema description coverage is 100%. Per guidelines, baseline is 4. The description does not add parameter semantics but is adequate given the absence of parameters.

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 clearly states it gets specific financial ratios (P/E, dividend yield, P/B) for all stocks, distinguishing it from sibling tools that focus on different financial data (e.g., balance sheets, income statements). The verb 'Get' and resource 'ratios for all stocks' are precise.

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?

No guidance is provided on when to use this tool versus alternatives. There is no mention of when it is appropriate, prerequisites, or exclusions, leaving the agent without context to differentiate it from similar tools like getIndustryEPS.

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/pyang2045/twsemcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server