Skip to main content
Glama

Interva

Get one country's series

get_series
Read-onlyIdempotent

Retrieve a canonical time series by indicator + geography.

Both arguments accept any vocabulary the catalog knows: Interva's own
code, the publisher's code (`NY.GDP.PCAP.CD`, `WHOSIS_000001`), the
indicator name or an alias; and ISO alpha-3, alpha-2, or a country name in
common use ('Korea, Rep.', 'UK', 'Ivory Coast').

Returns `{"series": [...]}` on success. When the request cannot be resolved
it returns a `detail` explaining which term failed and what to do — an
agent can act on that, where an empty list only looks like missing data.
Pass `source` to choose between publishers when a term is ambiguous.

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

Input Schema

NameRequiredDescriptionDefault
endNoLast period to include, e.g. '2023'. Omit for the latest.
startNoFirst period to include, e.g. '2010' or '2010-01'. Omit for the start of the series.
sourceNoA publisher id ('worldbank', 'imf', 'who', 'eurostat'...) to choose among publishers of an ambiguous term. list_sources gives the ids.
geographyYesA country: ISO alpha-3 or alpha-2 code, or a name in common use ('Nigeria', 'UK', 'Korea, Rep.', 'Ivory Coast').
indicatorYesWhat is measured: Interva's code, the publisher's code ('NY.GDP.PCAP.CD'), the indicator's name or an alias ('GDP per capita', 'inflation').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / end / description
      Added value: +"Last period to include, e.g. '2023'. Omit for the latest."
    • addedInput schema / properties / geography / description
      Added value: +"A country: ISO alpha-3 or alpha-2 code, or a name in common use ('Nigeria', 'UK', 'Korea, Rep.', 'Ivory Coast')."
    • addedInput schema / properties / indicator / description
      Added value: +"What is measured: Interva's code, the publisher's code ('NY.GDP.PCAP.CD'), the indicator's name or an alias ('GDP per capita', 'inflation')."
    • addedInput schema / properties / source / description
      Added value: +"A publisher id ('worldbank', 'imf', 'who', 'eurostat'...) to choose among publishers of an ambiguous term. list_sources gives the ids."
    • addedInput schema / properties / start / description
      Added value: +"First period to include, e.g. '2010' or '2010-01'. Omit for the start of the series."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the description is free to add higher-value context — and it does, disclosing the success envelope `{"series": [...]}` and the distinct error shape with a `detail` explaining which term failed. The explicit contrast against the misleading "empty list" outcome is genuinely useful for agent recovery, though limits on series length or result size are not covered.

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 the core operation, then vocabulary flexibility, then return contract. Sentences earn their place, though the vocabulary enumeration in paragraph two overlaps heavily with what the schema already documents.

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 5-parameter read tool with no output schema, the description supplies the return shape and the failure contract, which is the key missing piece. Remaining gaps are minor — no note on series length, pagination, or frequency granularity — and start/end semantics are already covered by the schema.

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 coverage is 100% and the schema's own parameter descriptions already give the accepted vocabularies and examples ('NY.GDP.PCAP.CD', 'Korea, Rep.', 'UK'). The description restates rather than extends this, adding only the framing that any catalog-known vocabulary is accepted and the tie-in to ambiguity resolution via `source`, so baseline 3 applies.

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?

States a specific verb and resource: "Retrieve a canonical time series by indicator + geography," plus the required argument pair. It does not name a sibling to distinguish from (e.g., find_data, search, resolve), so the agent must infer that this is the direct-lookup path by name alone.

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?

There is useful in-tool routing advice — use `source` when a term is ambiguous — but no explicit statement of when to prefer this over search/find_data/resolve or what to do when a term is unresolvable beyond reading `detail`. Usage is implied rather than framed as a decision between alternatives.

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.

Resources