Skip to main content
Glama

x402 Agent Toolkit — Quant Arb, TWSE & Agent Security

tw_stock_intel

[$0.02 USDC via x402] Structured English-keyed Taiwan listed company intelligence from official TWSE OpenAPI: daily OHLCV, P/E, dividend yield, P/B, monthly revenue YoY/MoM growth, and material disclosures (or quantitative market screeners).

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

Input Schema

NameRequiredDescriptionDefault
codeNoTaiwan stock ticker code (e.g. 2330 for TSMC). Omit to run a screener.
limitNo
screenerNoMarket-wide screener mode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose important behavior: a $0.02 USDC x402 payment requirement and the authoritative upstream source (official TWSE OpenAPI), which are real value-adds. However it says nothing about data freshness/lag, rate limits, failure modes when a ticker is unknown, or what payment failure looks like.

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 dense sentence, front-loaded with the cost marker and then the purpose, with the field list and screener alternative in logical order. No filler sentences, though the field enumeration makes it slightly long for one sentence.

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 returned data categories and discloses cost, which covers the biggest gaps. Missing pieces remain: the response structure/format, how limit interacts with screener mode, and error behavior for invalid tickers — meaningful for a paid tool with three parameters.

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 67%, with 'code' and 'screener' documented in-schema but 'limit' carrying no description. The description adds field-level meaning about what the returned data contains and implies the code-vs-screener mode split, but it does not clarify how 'limit' behaves in each mode. Roughly baseline for this coverage level.

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 resource (Taiwan listed company intelligence from the official TWSE OpenAPI) and enumerates the concrete data fields it returns: daily OHLCV, P/E, dividend yield, P/B, monthly revenue YoY/MoM, and material disclosures. It also flags the screener alternative in the parenthetical. It does not explicitly distinguish itself from siblings such as tw_institutional_flows, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent can infer this is for Taiwan equity fundamental/price data and that a market-wide screener mode exists via '(or quantitative market screeners)'. There is no explicit when-to-use versus when-not, and no routing to siblings like tw_institutional_flows for institutional flows. Adequate but leaves selection to 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.