Skip to main content
Glama

Official Datasets

official_datasets
Read-only

One reader for the official datasets outside the headline indicators. family picks the set: financial_prices (government yield curves, securities, overnight benchmarks; by currency), native_history (gold ownership and custody, Treasury auctions, cash and debt, TIC positions, EIA energy; by source and year), official_dataset (balance of payments, international investment position, capital flows, central-bank liquidity, FX intervention, auctions, external debt, credit conditions, wage settlements; by dataset and currency) and company_results (company trading updates as macro evidence; by country). Omit the selector to list what a family holds. Access: API key required, else returns subscription_required with a subscribe link.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "family": "<family>"
    },
    "name": "official_datasets"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoOptional language for names and labels, for example `es` or `pt-BR`. A regional tag falls back to its base language and an unsupported language returns English. Slugs, codes, dates and values never change; the stored English name is kept in `name_original`.
yearNonative_history only: the year to read.
limitNoRows per page (1-100).
familyYesWhich dataset family to read.
offsetNoZero-based row offset, e.g. 0 for the first page.
sourceNofinancial_prices or native_history: the source id. Omit on native_history to list sources.
countryNocompany_results only: two-letter ISO country code. Omit to list countries.
datasetNoofficial_dataset only: the dataset slug, for example bop or cb_liquidity.
filtersNoFamily-specific filters. financial_prices: measure, instrument_id, issuer. native_history: measure, holder_country_code, ownership_basis, maturity, account_type, order, region, product. official_dataset: component (bop only). company_results: industry, company, measure, order.
currencyNo3-letter currency code for financial_prices and official_dataset.
end_dateNoInclusive upper bound, YYYY-MM-DD.
start_dateNoInclusive lower bound, YYYY-MM-DD.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / lang
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 35,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Optional language for names and labels, for example `es` or `pt-BR`. A regional tag falls back to its base language and an unsupported language returns English. Slugs, codes, dates and values never change; the stored English name is kept in `name_original`.",
      +  "examples": [
      +    "es"
      +  ]
      +}
  2. Changed27 schema fields changed
    • removedInput schema / properties / country / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / country / default
      Removed value: -null
    • addedInput schema / properties / country / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / currency / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / currency / default
      Removed value: -null
    • changedInput schema / properties / currency / examples
      Previous value: -[
      -  "usd",
      -  "eur",
      -  "gbp",
      -  "jpy"
      -]New value: +[
      +  "usd",
      +  "eur"
      +]
    • addedInput schema / properties / currency / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / dataset / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / dataset / default
      Removed value: -null
    • addedInput schema / properties / dataset / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / end_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / end_date / default
      Removed value: -null
    • changedInput schema / properties / end_date / examples
      Previous value: -[
      -  "2020-01-01",
      -  "2024-06-30"
      -]New value: +[
      +  "2024-06-30"
      +]
    • addedInput schema / properties / end_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / filters / default
      Removed value: -null
    • removedInput schema / properties / limit / default
      Removed value: -null
    • removedInput schema / properties / offset / default
      Removed value: -null
    • changedInput schema / properties / offset / description
      Previous value: -"Row offset."New value: +"Zero-based row offset, e.g. 0 for the first page."
    • removedInput schema / properties / source / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / source / default
      Removed value: -null
    • addedInput schema / properties / source / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / start_date / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / start_date / default
      Removed value: -null
    • changedInput schema / properties / start_date / examples
      Previous value: -[
      -  "2020-01-01",
      -  "2024-06-30"
      -]New value: +[
      +  "2024-06-30"
      +]
    • addedInput schema / properties / start_date / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / year / default
      Removed value: -null
    • removedInput schema / title
      Removed value: -"official_datasetsArguments"
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, open-world access, so the safety profile is covered. The description adds behavior the annotations cannot: API-key requirement and the specific failure mode ('returns subscription_required with a subscribe link'), which lets an agent anticipate and explain an auth failure. It does not discuss pagination defaults (limit 1-100, offset) or result ordering, leaving minor gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then family breakdown, then access constraint — a sensible order with no filler sentences. The family enumeration is dense and parenthetical, and the trailing access note could stand as its own sentence for scanability, but no clause is wasted.

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 a 12-parameter, multi-family reader with an output schema and annotations, the description covers purpose, family semantics, listing behavior, and the auth failure mode. Remaining details — pagination defaults, date-bound exclusivity, and language fallback behavior — are already documented in the schema, so nothing essential is missing.

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%, so the baseline is 3, but the description goes beyond the enum by explaining what each family value actually contains and which dimension selects it (currency, source/year, dataset/currency, country). This is meaningful semantic layering on top of a bare enum, though it largely restates the family-specific filter groupings already present in the schema.

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 opens with a specific verb and resource ('One reader for the official datasets') and immediately scopes it ('outside the headline indicators'), which distinguishes it from indicator_query and the topical siblings like rate_curve or forex. It then enumerates each of the four families with concrete contents (yield curves, TIC positions, balance of payments, company trading updates), so an agent knows exactly which data lives behind the tool without opening the schema.

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?

It gives real procedural guidance: 'family picks the set' and 'Omit the selector to list what a family holds', which tells the agent how to explore before querying. The 'outside the headline indicators' clause implicitly routes headline macro data to another tool, but no sibling is named explicitly and no when-not conditions are stated, so it stops short of full alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.