Skip to main content
Glama
longbridge

longbridge

Official
by longbridge

Macro Indicator Data

macrodata
Read-onlyIdempotent

Retrieve historical macro-economic indicator data by indicator code. Filter results by date range and paginate with offset and limit.

Instructions

Get historical observations for one macro-economic indicator. Use indicator_code from macrodata_indicators; start_date/end_date accept YYYY-MM-DD. Supports offset/limit pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of data points to return (default 100, max 100).
offsetNoPagination offset for historical data points, default 0.
end_dateNoLatest release date to include (YYYY-MM-DD, e.g. `"2024-12-31"`).
start_dateNoEarliest release date to include (YYYY-MM-DD, e.g. `"2024-01-01"`).
indicator_codeYesIndicator code from `macrodata_indicators`, e.g. `"30771718"`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
infoYes
countYes
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, etc. The description adds useful behavioral context beyond annotations, such as pagination support (offset/limit) and the date format requirement (YYYY-MM-DD), which aids the agent in using the tool correctly.

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 concise with two sentences, providing essential information without unnecessary words. It is front-loaded with the purpose and then details the key parameters.

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 presence of an output schema and well-documented parameters, the description is complete enough. It covers the main purpose, data source, date format, and pagination, but does not mention return format details (handled by output schema).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with parameter descriptions. The description adds context about date format and pagination, which while present in schema, reinforces the usage pattern. This is slightly above the baseline of 3.

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 clearly states the verb 'Get' and the resource 'historical observations for one macro-economic indicator'. It distinguishes itself from the sibling tool 'macrodata_indicators' by specifying it retrieves data for a single indicator, not the list of indicators.

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 instructs to use 'indicator_code from macrodata_indicators', providing a clear prerequisite. It does not explicitly state when not to use, but the context is clear enough for a data retrieval tool with a sibling for listing indicators.

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/longbridge/longbridge-mcp'

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