Skip to main content
Glama

Get a country group table

get_table
Read-only

Newest value of one World Bank indicator for every member of a country group, highest first. period "common" puts every row on one period (members without it in missing). top (1-50) ranks the members and returns the first N, each row with its rank (order desc or asc). Example: {"indicator":"SP.POP.TOTL","group":"G20","period":"common"}.

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>",
      "group": "<group>"
    },
    "name": "get_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNo
groupYes
orderNo
periodNo
indicatorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / order
      Added value: +{
      +  "enum": [
      +    "desc",
      +    "asc"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / top
      Added value: +{
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / period
      Added value: +{
      +  "enum": [
      +    "latest",
      +    "common"
      +  ],
      +  "type": "string"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description is not burdened with the safety profile. It adds real behavior beyond those annotations: default descending ordering by value, 'common' period alignment with missing members retained as missing, and rank columns emitted when top is used.

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 parameter behaviors, then a concrete example. Every sentence carries information. Minor deduction for the compressed, slightly awkward phrase 'members without it in missing,' which reads as a typo and costs clarity.

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

Completeness3/5

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

With no output schema, the description should convey more about row shape. It mentions rank columns and missing-member handling, but never states what fields each row contains (country identifier, indicator value, period), which an agent needs to consume the result.

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 0%, so the description must carry parameter meaning. It explains period (latest vs common), top (1-50 with rank output), and order (desc/asc), and the example demonstrates the indicator code format. However, group member semantics and the indicator string format are conveyed only incidentally, leaving partial compensation for the coverage gap.

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?

The description names a specific resource and scope: 'Newest value of one World Bank indicator for every member of a country group, highest first.' An agent can tell this is a cross-sectional country-group table, not a time series. It does not explicitly distinguish itself from siblings like get_series or get_history, which is what keeps it from a 5.

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?

Usage is implied through the parameter-driven behavior: use period 'common' when rows must share a period, use top to rank and truncate. There is no explicit statement of when to choose this over get_series or get_history, and no preconditions or exclusions are given.

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