Skip to main content
Glama

StatCite — Verified Economic Statistics

Get a raw series by explicit id

get_series
Read-onlyIdempotent

Fetch any supported series by explicit id: 'worldbank/' (needs country), 'imf/' (needs country; current-vintage IMF WEO/Fiscal Monitor via the DataMapper API), 'caribstat/<ECCB|CBB>//' (Eastern Caribbean Central Bank and Central Bank of Barbados tables, including Anguilla and Montserrat, which the World Bank does not report; find ids with search_indicators), or 'dbnomics///' (IMF WEO, OECD, Eurostat and more via DBnomics, dated editions, e.g. 'WEO:2025-04', for vintage-pinned reproducibility). 'fred/' ids are recognized only so the service can return an explanatory disabled response. FRED is permanently disabled here and those ids are never retrievable. Supports year filters and transforms (yoy, pct_change, index). Every response carries a full citation. Prefer get_indicator for common indicators.

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": {
      "series_id": "<series_id>"
    },
    "name": "get_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoRequired for worldbank/* series.
end_yearNo
series_idYese.g. 'worldbank/NY.GDP.MKTP.KD.ZG', 'imf/NGDP_RPCH', 'dbnomics/IMF/WEO:latest/BRB.NGDP_RPCH.pcent_change'.
transformNo
start_yearNo
latest_onlyNoReturn only the most recent non-null observation, preferring one not marked as a projection or as a period the source shades as future data.
strict_sourceNoReproducibility mode for registry-key ids: never substitute the fallback source. No effect on explicit source-prefixed ids (they already pin one source).

Output Schema

NameRequiredDescriptionDefault
nameYes
unitNo
notesYes
countryNo
citationYes
frequencyNo
series_idYes
limitationsNoCodes for what this figure is NOT, each derived from a structured field of the result or from the indicator registry. An empty list means none of these conditions was detected. It is not a warranty.
observationsYes
fallback_usedNo
stale_primaryNo
fallback_reasonNo
stale_primary_yearsNo
stale_primary_unqueriedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / latest_only / description
      Previous value: -"Return only the most recent non-null observation."New value: +"Return only the most recent non-null observation, preferring one not marked as a projection or as a period the source shades as future data."
  2. Changed1 schema field changed
    • addedOutput schema / properties / stale_primary_unqueried
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / properties / limitations / items / properties / code / enum
      Previous value: -[
      -  "projection",
      -  "fallback_source",
      -  "stale_primary",
      -  "modeled_estimate",
      -  "rounded_source",
      -  "computed_values"
      -]New value: +[
      +  "projection",
      +  "fallback_source",
      +  "stale_primary",
      +  "modeled_estimate",
      +  "rounded_source",
      +  "computed_values",
      +  "stale_latest",
      +  "outturn_unconfirmed"
      +]
  4. Changed1 schema field changed
    • addedOutput schema / properties / limitations
      Added value: +{
      +  "description": "Codes for what this figure is NOT, each derived from a structured field of the result or from the indicator registry. An empty list means none of these conditions was detected. It is not a warranty.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "enum": [
      +          "projection",
      +          "fallback_source",
      +          "stale_primary",
      +          "modeled_estimate",
      +          "rounded_source",
      +          "computed_values"
      +        ],
      +        "type": "string"
      +      },
      +      "detail": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "detail"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / stale_primary
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / stale_primary_years
      Added value: +{
      +  "type": "number"
      +}
  6. Changed2 schema fields changed
    • addedInput schema / properties / latest_only
      Added value: +{
      +  "description": "Return only the most recent non-null observation.",
      +  "type": "boolean"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "citation": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "citation_text": {
      +          "type": "string"
      +        },
      +        "license": {
      +          "type": "string"
      +        },
      +        "retrieved_at": {
      +          "type": "string"
      +        },
      +        "series_id": {
      +          "type": "string"
      +        },
      +        "source": {
      +          "type": "string"
      +        },
      +        "source_url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "source",
      +        "series_id",
      +        "source_url",
      +        "license",
      +        "retrieved_at",
      +        "citation_text"
      +      ],
      +      "type": "object"
      +    },
      +    "country": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "iso3": {
      +          "type": "string"
      +        },
      +        "name": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "iso3",
      +        "name"
      +      ],
      +      "type": "object"
      +    },
      +    "fallback_reason": {
      +      "enum": [
      +        "transient",
      +        "definitive"
      +      ],
      +      "type": "string"
      +    },
      +    "fallback_used": {
      +      "type": "boolean"
      +    },
      +    "frequency": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "notes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "observations": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "note": {
      +            "type": "string"
      +          },
      +          "period": {
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "period",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "series_id": {
      +      "type": "string"
      +    },
      +    "unit": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "series_id",
      +    "name",
      +    "observations",
      +    "citation",
      +    "notes"
      +  ],
      +  "type": "object"
      +}
  7. Changed1 schema field changed
    • changedInput schema / properties / series_id / description
      Previous value: -"e.g. 'worldbank/NY.GDP.MKTP.KD.ZG', 'fred/CPIAUCSL', 'imf/NGDP_RPCH', 'dbnomics/IMF/WEO:latest/BRB.NGDP_RPCH.pcent_change'."New value: +"e.g. 'worldbank/NY.GDP.MKTP.KD.ZG', 'imf/NGDP_RPCH', 'dbnomics/IMF/WEO:latest/BRB.NGDP_RPCH.pcent_change'."
  8. Changed1 schema field changed
    • changedInput schema / properties / series_id / description
      Previous value: -"e.g. 'worldbank/NY.GDP.MKTP.KD.ZG', 'fred/CPIAUCSL', 'dbnomics/IMF/WEO:latest/BRB.NGDP_RPCH.pcent_change'."New value: +"e.g. 'worldbank/NY.GDP.MKTP.KD.ZG', 'fred/CPIAUCSL', 'imf/NGDP_RPCH', 'dbnomics/IMF/WEO:latest/BRB.NGDP_RPCH.pcent_change'."
  9. Changed1 schema field changed
    • addedInput schema / properties / strict_source
      Added value: +{
      +  "description": "Reproducibility mode for registry-key ids: never substitute the fallback source. No effect on explicit source-prefixed ids (they already pin one source).",
      +  "type": "boolean"
      +}
  10. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds substantive behavior beyond them: every response carries a citation, transforms are applied server-side, DBnomics supports vintage-pinned dated editions, and FRED ids return an explanatory disabled response rather than data. The strict_source fallback-substitution rule is also explained rather than left to the schema.

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?

The core action and id formats are front-loaded and each namespace entry carries distinct information. The FRED warning is slightly redundant, repeating the disabled status twice in consecutive sentences, which costs a little tightness in an otherwise dense and well-ordered block.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a multi-source routing tool with an output schema already covering return values, the description supplies everything an agent needs: id syntax per provider, required companion parameters, transform availability, reproducibility semantics, and the permanently dead source. No material calling decision is left unresolved.

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?

With 57% schema coverage, the description meaningfully compensates: it specifies the exact id grammar per source, states that 'country' is required for worldbank/* and imf/* ids, and mentions year filters and the transform options. The only gap is that start_year/end_year are not described beyond 'Supports year filters', leaving boundary semantics to 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 ('Fetch any supported series by explicit id') and immediately enumerates the id namespaces it accepts, so an agent can distinguish it from get_indicator and search_indicators without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly routes the agent: 'Prefer get_indicator for common indicators' and 'find ids with search_indicators' for caribstat tables. It also states a hard exclusion up front ('FRED is permanently disabled here and those ids are never retrievable'), which prevents a whole class of wasted calls.

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.