Skip to main content
Glama

Interva

Build a country-year panel

build_panel
Read-onlyIdempotent

Several indicators for several countries as one table, ready to compute on.

`indicators` and `geographies` take any vocabulary `resolve` accepts (codes,
publisher codes, names; ISO codes or country names); up to 10 and 60.
Returns `rows` (one per country and year, a key per indicator code),
`columns` (each indicator's name, unit and the dataset behind each country),
and what is missing: `unresolved` terms (an ambiguous one lists candidates:
re-call with a code), `missing` country-indicator pairs and `gaps` (years
one country lacks). Where several publishers measure one concept
("population"), the World Bank's series is taken and listed in `chosen`
with the others; pass `source` or a code to choose another. Values are each publisher's own: nothing is converted,
interpolated or filled. Cite each column's datasets with cite_dataset.

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": {
      "indicators": "<indicators>",
      "geographies": "<geographies>"
    },
    "name": "build_panel"
  }
}

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.
indicatorsYesUp to 10 indicators, each as get_series takes them: codes, publisher codes or names.
geographiesYesUp to 60 countries: ISO codes or names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / end / description
      Added value: +"Last period to include, e.g. '2023'. Omit for the latest."
    • addedInput schema / properties / geographies / description
      Added value: +"Up to 60 countries: ISO codes or names."
    • addedInput schema / properties / geographies / maxItems
      Added value: +60
    • addedInput schema / properties / geographies / minItems
      Added value: +1
    • addedInput schema / properties / indicators / description
      Added value: +"Up to 10 indicators, each as get_series takes them: codes, publisher codes or names."
    • addedInput schema / properties / indicators / maxItems
      Added value: +10
    • addedInput schema / properties / indicators / minItems
      Added value: +1
    • 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

A4.4/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description still adds substantial behavior: caps of 10 indicators and 60 geographies, the exact return structure, a default publisher preference rule (World Bank listed in `chosen`), and the guarantee that values are never converted, interpolated or filled.

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?

Front-loads the one-line purpose, then groups input semantics, return shape, and gap-handling in short scannable clauses. No sentence is redundant against the schema or annotations.

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 complex multi-input aggregation tool with no output schema, the description is complete enough to call correctly: it names the return keys, explains unresolved/missing/gaps handling, and states the publisher-selection rule. Output field details being absent from an output schema is compensated in prose.

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 already 100%, so baseline is 3, but the description adds real meaning: which vocabularies `indicators` and `geographies` accept and how `source` overrides the default publisher. It says little about `start`/`end` beyond what the schema already documents.

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 concrete verb and resource: several indicators for several countries assembled into one table. It clearly implies a multi-indicator, multi-country bulk operation distinct from single-series retrieval, but never explicitly names get_series as the narrow alternative.

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?

Gives actionable workflow context: inputs take any vocabulary resolve accepts, ambiguous terms require a re-call with a code, `source` selects among competing publishers, and results should be cited via cite_dataset. It stops short of explicit when-to-use/when-not framing against sibling tools, so no exclusion guidance is offered.

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