Skip to main content
Glama
taiwan-stock-mcp

taiwan-stock-mcp

by hulan-bebe

get_monthly_revenue

Retrieve current Taiwan stock monthly revenue or rank companies by YoY growth, with optional code, industry, and minimum YoY filters.

Instructions

Get latest company revenue or rank companies by YoY growth descending.

Revenue is TWD thousands; MoM, YoY and cumulative YoY are percent. Optional industry (English/Chinese category) and inclusive yoy_min filters also apply with code. Each company retains its actual reporting month, which can differ across companies.

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": "get_monthly_revenue"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNo4-6 character TWSE/TPEx code, e.g. 2330 or 0050
top_nNoPositive number of rows to return; scan caps at 100
yoy_minNoInclusive minimum revenue YoY growth in percent
industryNoEnglish or Chinese category; case-insensitive, unique substring and singular/plural accepted. Invalid or ambiguous input returns an error listing valid English categories.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does usefully disclose units (TWD thousands, percentages), inclusive filter semantics, and the caveat that each company retains its own reporting month — real behavioral value. But it omits the default sort/order when `code` is supplied, behavior when both `code` and `top_n` are set, and any pagination or data-freshness context.

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 two operating modes are front-loaded and the unit/format notes follow compactly. Four sentences, no filler, though the phrase 'filters also apply with code' is slightly ambiguous and could be phrased more precisely.

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?

An output schema exists, so return values need not be explained, and the description covers units, filter semantics, and the reporting-month caveat. The remaining gap is the unresolved ambiguity between the `code` path and the ranking path, which an agent would still have to guess at.

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%, so the baseline is 3; every parameter already has a description. The description adds modest value by clarifying that industry and yoy_min 'also apply with code,' which is interaction semantics the schema does not state, but it adds nothing to `top_n` or `code` themselves.

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 first sentence gives a specific verb and resource plus two operating modes: fetch a company's latest revenue, or rank companies by YoY growth descending. That is distinct from siblings like get_quote or screen_valuation, though the description never explicitly contrasts with them.

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?

Usage is only implied: supplying `code` suggests the single-company path, while the unspecified case implies ranking. There is no explicit when-not guidance or pointer to an alternative sibling tool, and the interaction between `code` and the ranking mode 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.