Skip to main content
Glama
sacahan

CasualMarket

by sacahan

get_company_profile

Look up essential company details for any Taiwan stock by symbol: company name, industry, chairman, establishment date, paid-in capital, employee count, and website.

Instructions

取得上市公司基本資訊。

提供公司的基本概況,包括公司名稱、行業別、董事長、 成立日期、實收資本額、員工人數等基本資料。

使用範例: get_company_profile("2330") # 查詢台積電基本資訊 get_company_profile("2317") # 查詢鴻海基本資訊

Args: symbol: 公司股票代碼 (例如: "2330")

Returns: MCPToolResponse[CompanyProfileData]: 統一格式的回應,包含: - success (bool): 操作是否成功 - data (CompanyProfileData): 公司基本資訊,包含: * symbol: 股票代碼 * company_name: 公司全名 * industry: 所屬行業 * chairman: 董事長姓名 * established: 成立日期 * capital: 實收資本額 * employees: 員工人數 * website: 公司官網 - error (str): 錯誤訊息(失敗時) - tool (str): 工具名稱

Raises: 查詢失敗時返回錯誤回應,可能的原因: - 公司代碼不存在或已下市 - 資料來源暫時無法存取 - 公司資訊尚未更新

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It explains the return envelope structure (success, data, error, tool), the fields within CompanyProfileData, and the possible failure reasons such as delisted symbols or unavailable data sources. Since this is a read-only lookup, the '取得/查詢' verbs and lack of side-effect warnings sufficiently convey behavior, though it stops short of explicitly stating that no data is mutated.

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?

Although the description is somewhat long, it is well-structured into overview, usage examples, Args, Returns, and Raises sections. Every part earns its place because there is no output schema and no annotations to rely on; the format makes it easy to scan and parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only tool with no output schema, the description is complete: it specifies the input format, the expected data fields, the response envelope, and the error conditions. There is no missing information an agent would need to call this tool correctly and interpret its result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, and the schema only says 'symbol' is a required string. The description compensates fully by defining symbol as '公司股票代碼' with '2330' and '2317' examples and showing exactly how to call the function. This adds meaning the schema alone cannot provide.

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 opens with a specific verb and resource: '取得上市公司基本資訊' (get basic information for a listed company), and then enumerates the exact fields returned, such as company name, industry, chairman, established date, capital, and employees. This clearly distinguishes it from sibling tools that cover income statements, balance sheets, dividends, and other financial-specific data.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description provides clear context by explaining that this tool returns company basic profile data and gives concrete usage examples with real Taiwan stock symbols. It does not explicitly state when not to use it or name alternative tools, but the scope is clear enough that an agent can infer it is for basic company information rather than financial statements or trading operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.