Skip to main content
Glama
madushankaf

Bloomberg MCP Server

by madushankaf

get_historical_data

Retrieve Bloomberg end-of-period time series for given tickers and fields across a date range, with optional periodicity, currency conversion, and data point limit.

Instructions

End-of-period historical time series (BLPAPI HistoricalDataRequest, i.e. BDH()).

Args: securities: Bloomberg tickers, e.g. ["AAPL US Equity"]. fields: Field mnemonics, e.g. ["PX_LAST", "VOLUME"]. start_date: YYYY-MM-DD. end_date: YYYY-MM-DD. periodicity: DAILY | WEEKLY | MONTHLY | QUARTERLY | SEMI_ANNUALLY | YEARLY. currency: Optional ISO code to convert into, e.g. "USD". max_data_points: Optional cap on returned points (most recent are kept).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsYes
currencyNo
end_dateYes
securitiesYes
start_dateYes
periodicityNoDAILY
max_data_pointsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose useful traits: periodicity defaults to DAILY, currency conversion is optional, and max_data_points truncates while keeping the most recent points. However, it says nothing about authentication/entitlement requirements, error behavior on invalid tickers or fields, or rate limits — significant gaps for an external data API call.

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?

A single front-loaded purpose sentence followed by a compact args list; every line adds information and nothing is repeated from the schema titles. The docstring format is conventional and easy to scan.

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?

An output schema exists, so return-value explanation is rightly omitted, and the parameter documentation is thorough enough to call the tool correctly. The remaining gap is environmental context — entitlement/auth needs and what happens on invalid tickers or unsupported field/periodicity combinations — for a tool with no annotations.

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%, so the description must compensate — and it does. It documents all seven parameters: example ticker and field formats, YYYY-MM-DD for both dates, the full accepted periodicity enum (WEEKLY/QUARTERLY/SEMI_ANNUALLY/YEARLY — not encoded in the schema), ISO currency conversion, and the truncation direction for max_data_points.

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 ('End-of-period historical time series') and anchors it to the underlying BLPAPI HistoricalDataRequest / BDH() call, so the agent can distinguish it from get_intraday_bars, get_intraday_ticks, and get_reference_data. It does not explicitly name those siblings or route the agent between them, which keeps it short of a 5.

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 only implied by the phrase 'End-of-period historical' — the agent can infer it beats the intraday siblings for daily-and-coarser time series, but no when-to-use, when-not-to-use, or alternative-routing guidance is given. There are also no stated prerequisites (e.g. resolving tickers via search_instruments, validating fields via search_fields).

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