Skip to main content
Glama

時間序列(series)

data_series
Read-onlyIdempotent

取「一個標的 × 一個欄位 × 一段時間」的時間序列,如 ETF 日收盤、基金淨值歷史。每點只有日期與值;資料缺口會以 gapNote 誠實標示、不靜默補值。Time series 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>",
      "id": "<id>"
    },
    "name": "data_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes標的識別碼,如 0050、T1104Y
monthsNo回看月數,預設 12、上限 120
datasetYes資料集,如 etf.close/fund.nav(見 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 declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds meaningful behavioral detail beyond annotations: each point contains only a date and value, and data gaps are explicitly marked with gapNote rather than silently filled. It does not discuss pagination, authorization, or rate limits, but the return-shape and gap-handling disclosure is valuable.

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 short and front-loaded, immediately stating the one-security/one-field/time-range scope and then the data-gap behavior. There is little waste, though the bilingual repetition adds a small amount of redundancy.

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?

The tool is simple with only three parameters and no output schema, and the description explains both the retrieval scope and the shape of returned points, including gapNote behavior. The main missing piece is explicit routing guidance versus similarly named sibling tools.

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 description coverage is 100%, so all three parameters are already documented in the schema. The description reinforces the dataset/field and time-range concepts with examples, but adds little syntax or constraint detail beyond what the schema already provides.

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-resource purpose: retrieve a time series for one security, one field, and a time range, with concrete examples such as ETF daily close and fund NAV history. It does not explicitly distinguish itself from related siblings like data_point, data_table, etf_price_history, or fund_nav_history.

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 implied by the examples and by the 'one security × one field × time range' framing, but there is no explicit when-to-use or when-not-to-use guidance. The description does not name alternatives or explain when an agent should choose this tool over etf_price_history or fund_nav_history.

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