Skip to main content
Glama

trigger_batch_backfill

Batch backfill historical daily data for multiple stocks in one operation. Specify market, symbols, and years to fill gaps in price history.

Instructions

對指定的一批股票(symbols 陣列)立即啟動歷史日線批次補齊。適合當用戶的投資組合或多檔股票都缺少足夠歷史資料時一次性補全。每個市場同時只能有一個補齊作業。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketYes市場:TW 或 US
symbolsYes股票代號陣列,例如 ["2330","0050","00646"]
yearsNo補齊年份,預設 5
skipExistingNo跳過已有足夠資料的股票,預設 false(全部重新補)
Behavior4/5

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

The description adds behavioral context beyond annotations: it is a mutation (starting a job) and enforces a one-job-per-market constraint. Annotations indicate non-readonly, non-destructive, non-idempotent, which aligns with the description. No contradictions.

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?

The description is two sentences (three clauses in Chinese) with no wasted words. It front-loads the action and constraint. Every sentence adds value.

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

Completeness2/5

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

No output schema is provided, and the description does not explain return value (e.g., job ID or status) or how to monitor progress. For a tool that triggers an asynchronous operation, this is a significant gap. Missing details on job lifecycle.

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?

Input schema has 100% description coverage, so baseline is 3. The description provides context that the symbols array is for a batch of stocks, but does not add meaning beyond what the schema already describes. Years default is mentioned in schema, not in description.

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 clearly states the verb (trigger) and resource (batch backfill of historical daily data for stocks). It distinguishes from siblings like 'trigger_backfill' by emphasizing 'batch' and multiple symbols. However, it does not explicitly contrast with the singular backfill tool.

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 explicit usage context: 'Suitable when a user's portfolio or multiple stocks lack sufficient data and need one-time completion.' It also notes the constraint 'Only one backfill job per market at a time.' However, no mention of alternatives or when not to use is given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevinlin49361128-stack/stock-analyzer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server