Skip to main content
Glama

get_observations

Retrieve time-series observations for a FRED series, including date and value pairs. Narrow the date range or use frequency aggregation to limit the number of points returned.

Instructions

Get the observations (actual time-series values) for a FRED series.

Returns a compact list of {date, value} points plus metadata. To stay within the client's result-size limit, the point count is capped; if a series has more points than the cap over your window, narrow the date range or aggregate via frequency. A value of "." means the observation is missing for that date.

Args: series_id: The FRED series ID, e.g. "UNRATE". start_date: Inclusive start "YYYY-MM-DD". Omit for the series start. end_date: Inclusive end "YYYY-MM-DD". Omit for the latest. units: Optional transform: "lin" (levels), "chg", "ch1", "pch", "pc1" (year-over-year %), "pca", "cch", "cca", "log". frequency: Optional down-aggregation: "d","w","bw","m","q","sa","a". Omit to use the series' native frequency. sort_order: "asc" (oldest first) or "desc" (newest first). limit: Max points to return (capped at the server maximum).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
unitsNo
end_dateNo
frequencyNo
series_idYes
sort_orderNoasc
start_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries full responsibility for disclosing behavior. It explains the compact return format, the point-count cap, the '.' sentinel for missing values, and parameter behaviors (e.g., units, frequency, sort_order). It does not cover error cases or rate limits, but given the output schema exists, the return metadata structure is not needed here. Substantial behavioral disclosure is present, though a few edge behaviors are omitted.

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 well-structured, starting with a one-sentence purpose, followed by a concise overview of behavior and caps, then a bulleted list of arguments. Every sentence contributes useful information, and the formatting makes it easy to scan. It is appropriately compact for the complexity of the tool.

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 the tool has 7 parameters, no annotations, and no schema descriptions, the description covers all the essential invocation details: required series_id, date handling, transformations, aggregation, sorting, and limits. It also notes the result-size cap and missing value representation. It does not mention potential prerequisites like API keys or rate limits, but those are not implied by the tool's context. The presence of an output schema leaves return format details to the schema. Overall, it is nearly complete, with minor room for adding explicit exclusions or prerequisites.

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 description coverage is 0%, but the description includes an 'Args' section that thoroughly explains every parameter: series_id with example, start/end dates with format and inclusivity, units with possible values, frequency with possible values, sort_order, and limit. This fully compensates for the lack of schema descriptions, adding significant meaning beyond the raw property types.

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 uses a specific verb+resource: 'Get the observations (actual time-series values) for a FRED series.' It clearly distinguishes this from sibling tools like search_series (searching) and get_series_info (metadata) by indicating this tool retrieves time-series data points. The purpose is unambiguous and action-oriented.

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 for when to use the tool, such as retrieving observations over a date range with optional transformations. It gives practical guidance on handling result-size caps (narrow date range or use frequency aggregation), but it does not explicitly name alternatives or state when not to use this tool relative to siblings. This is clear context without explicit exclusions, meriting a 4.

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/yifudiao/fred-mcp'

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