Skip to main content
Glama

Compare an indicator's value across its official sources

compare_sources
Read-onlyIdempotent

Compare one indicator across all official sources with full citations and the spread between them. Use when sources disagree or you need to know which official number to cite.

Instructions

Fetch one indicator for one country from EVERY official source in its chain independently (e.g. World Bank WDI and the IMF WEO/Fiscal Monitor) and see the values side by side, each with its own citation, plus the spread between them. Use when sources disagree, when you need to know WHICH official number to cite, or to check how large the methodological gap is (central vs general government, calendar vs fiscal year, vintage differences). Differences are methodological, never an error by a source — the result says which definition each value carries. Sources that are down report their error in place without sinking the comparison.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoOptional year to compare at, e.g. '2023'. Default: the latest period all responding sources share.
countryYesISO3/ISO2 code or English name.
indicatorYesRegistry key, e.g. 'govt_debt_gdp', 'gdp_growth'. See search_indicators.
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive. The description adds valuable behavioral context about interpretation of differences (methodological, not errors) and graceful error handling for down sources, which goes beyond the annotations.

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?

The description is compact and efficient, using 3 sentences to convey purpose, use cases, interpretation, and error handling. It front-loads the key action and avoids redundancy.

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?

Given no output schema, the description still indicates what the user will see ('values side by side, each with its own citation, plus the spread'). It also covers source failures. While it lacks a detailed response format, it is sufficient for a read-only comparison tool.

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% with meaningful descriptions for each parameter. The description echoes some of this (e.g., example indicator keys, default period) without adding significant new semantics, so it meets the baseline but doesn't elevate it.

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 clearly states a specific action ('Fetch one indicator for one country from EVERY official source') and resource (indicator values across official sources), with example sources. It distinguishes itself from siblings like get_indicator by emphasizing multi-source comparison side by side.

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?

Explicitly provides when-to-use scenarios: 'Use when sources disagree, when you need to know WHICH official number to cite, or to check how large the methodological gap is.' This gives clear context for selecting this tool over alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asokore/statcite'

If you have feedback or need assistance with the MCP directory API, please join our Discord server