Skip to main content
Glama

get_macro_series

Read-onlyIdempotent

Fetches historical macroeconomic data from FRED for series like DGS10, FEDFUNDS, CPI, M2, or unemployment rate to analyze single indicator trends.

Instructions

取得 FRED(聯準會)特定總經時間序列的歷史數據,例如 10 年期公債殖利率(DGS10)、聯邦基金利率(FEDFUNDS)、M2 貨幣供給(M2SL)、CPI(CPIAUCSL)等。適合深入分析單一宏觀指標的歷史走勢。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seriesIdYesFRED 序列代號,例如 DGS10(10年利率)、FEDFUNDS(基準利率)、CPIAUCSL(CPI)、M2SL(M2)、UNRATE(失業率)
Behavior3/5

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

Annotations already indicate read-only, non-destructive, idempotent behavior. The description adds that the tool retrieves historical data, which is consistent. No new behavioral traits beyond annotations are disclosed.

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, concise and front-loaded with the main action and examples. No extraneous information.

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?

Given one parameter, full schema coverage, and annotations, the description is largely complete. It could mention output format or limitations like date range, but the tool is simple and the description covers essential usage.

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 fully describes the single parameter (seriesId) with examples. The description repeats some examples but adds no additional meaning beyond the schema.

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 tool retrieves historical FRED macro time series for a single indicator, with examples. However, it does not explicitly distinguish itself from similar siblings like get_macro_employment or get_macro_snapshot, which might also provide indicator data.

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?

The description implies use for in-depth historical analysis of a single indicator, but does not specify when not to use it or mention alternative tools. No exclusion criteria or prerequisites are provided.

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