Skip to main content
Glama

get_observations

Read-onlyIdempotent

Retrieve FRED series observations as date/value pairs with optional filters for date range, units, aggregation, sort, and limit. Also supports ALFRED vintage data for point-in-time views.

Instructions

Fetch a FRED series' observations (date/value pairs, each with its ALFRED real-time period). Supports an optional date range, a units transform, aggregation to a lower frequency, sort order, and a result limit. For point-in-time/vintage (ALFRED) data, set realtime_start/realtime_end (both together; same date = the series as known on that day) and/or vintage_dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoLatest observation date, `YYYY-MM-DD`.
sortNoSort order by date.
limitNoMaximum number of observations to return.
startNoEarliest observation date, `YYYY-MM-DD`.
unitsNoUnits transformation to apply.
frequencyNoFrequency to aggregate observations down to. FRED can only aggregate to a frequency **coarser than** the series' native one (e.g. a monthly series to quarterly or annual, never a coarser series to a finer one); asking for a finer or invalid frequency returns a FRED 400.
series_idYesThe FRED series id, e.g. `GNPCA` or `UNRATE`.
aggregationNoAggregation method — how observations are combined when aggregating to `frequency`. Requires `frequency`; supplying it without `frequency` is rejected (an invalid-params error), not silently ignored.
realtime_endNoALFRED: end of the real-time period, `YYYY-MM-DD`. Must be given together with `realtime_start`.
vintage_datesNoALFRED: specific revision dates to fetch, each `YYYY-MM-DD`. Each date selects that vintage of the series.
realtime_startNoALFRED: start of the real-time period, `YYYY-MM-DD` — the data as it was known then. Use the same value for `realtime_end` to snapshot the series as of one day (point-in-time). Must be given together with `realtime_end`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYesThe number of observations returned.
series_idYesThe series the observations belong to.
observationsYesThe observations, in the requested sort order.
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavioral context about ALFRED point-in-time/vintage behavior and the constraint that realtime_start/realtime_end be used together, going beyond the annotations without contradicting them.

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?

Two sentences front-load the core purpose, then efficiently summarize optional capabilities and the special ALFRED case. Every sentence earns its place with no filler or 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?

For an 11-parameter read-only tool with an output schema, the description covers the primary function, optional transforms, and the critical ALFRED usage nuance. Parameter-level constraints live in the schema, so the description does not need to repeat them; the only notable gap is lack of sibling-tool differentiation.

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 the schema already explains every parameter (units enums, aggregation method, realtime constraints, etc.). The description restates some high-level capabilities and adds a compound hint for realtime_start/realtime_end, but it does not materially add meaning beyond the rich schema, so baseline 3 is appropriate.

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?

Description uses a specific verb ('Fetch') and clearly identifies the resource ('a FRED series' observations') with output described as date/value pairs plus ALFRED real-time periods. It is unambiguous but does not explicitly distinguish itself from sibling tools like get_series_data or get_series_vintagedates, so it misses the top score.

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?

Provides clear context for when to use the tool (fetching observations with optional date range, units, aggregation, sort, limit) and gives explicit ALFRED guidance: realtime_start/realtime_end must be set together, and same date gives a point-in-time snapshot. It does not name alternative tools or state exclusions, so it stops short of a 5.

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/ojhermann-org/ferric-fred'

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