Skip to main content
Glama

單值查詢(point)

data_point
Read-onlyIdempotent

取「一個標的 × 一個欄位 × 一個時點」的單值,如 0050 的折溢價、基金最新淨值、USD/TWD 匯率、景氣對策信號綜合分數。dataset 取自 data_catalog 的 point 清單;回應必附單位、資料日與來源。Single current value for one security and field.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dataset": "<dataset>"
    },
    "name": "data_point"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo標的識別碼,如 0050/T1104Y/USD/TWD;可加前綴消歧義,如 etf:0050、fund:T1104Y
datasetYes資料集,如 etf.premium/fund.nav/fx.rate(見 data_catalog)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description goes beyond that by promising a return contract: each response carries the unit, data date, and source, which matters because there is no output schema. It does not cover failure modes, such as what happens when an id is ambiguous despite the prefix mechanism.

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 description is compact and front-loads the core definition before the examples and return contract. The trailing English sentence largely restates the opening Chinese clause, which is mild redundancy but not enough to hurt.

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?

With only two parameters and no output schema, the description supplies the important missing piece by describing the returned metadata (unit, date of data, source). The description's mention of 'one point in time' is not backed by a date or time parameter, which could mislead an agent expecting temporal selection, but otherwise the definition is sufficient to call the tool correctly.

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 schema already documents both id and dataset, including the prefix disambiguation syntax. The description adds only modest meaning: it states that the dataset must come from the point list in data_catalog, plus examples that map onto dataset values. The baseline of 3 is appropriate given the schema's completeness.

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 states a specific verb and scope: retrieving a single value for one security, one field, and one point in time, and it illustrates this with concrete datasets (0050 premium/discount, fund NAV, USD/TWD, business climate score). This implicitly distinguishes it from the history-oriented siblings data_series and data_table, but it never names them explicitly.

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?

One useful routing hint is given: the dataset value must come from the 'point' list in data_catalog, which tells the agent to discover datasets first. However, the description never says when to prefer this tool over data_series or data_query, and it does not state any exclusions.

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