Skip to main content
Glama

Verify a claimed statistic against the official source

verify_stat
Read-onlyIdempotent

Verify a claimed economic figure against official statistics, returning a verdict, diagnostics for common errors, and a full citation. Use before publishing statistics in a report, brief, or article.

Instructions

Check a claimed economic figure (from a draft, article, or memory) against the official statistical series and get a verdict: match, close, mismatch, or cannot_verify. With the official value, the difference, diagnostics for classic errors (wrong year, percent-vs-decimal, unit scaling), and a full citation for the correct number. Honesty contract: when the official source cannot support a judgment (source down, no published value, fallback vintage risk), the verdict is cannot_verify with the reason, never a guess. Supports historical IMF-vintage checks via as_of. Use this before publishing any economic statistic in a report, brief, or article.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
as_ofNoHistorical IMF-vintage verification: judge the claim against the dated IMF WEO edition resolved from this date, e.g. '2019-04', '2019', instead of today's live data. Resolution is a conservative month calendar (editions flip May 1 / Nov 1, not the IMF's exact release days) and always verifies against a dated WEO edition even when the indicator's live primary is World Bank WDI or the IMF Fiscal Monitor. The response's as_of object and notes disclose both, so present results as 'matched the IMF WEO {vintage} edition', never 'was true at the time'. Recent editions serve from the IMF's own dated vintage dataflows (api.imf.org) directly, with DBnomics's dated editions as the deep archive, the citation names which one served. Only supported for the six WEO-dated registry indicators (gdp_growth, current_account_gdp, govt_debt_gdp, fiscal_balance_gdp, govt_revenue_gdp, govt_expenditure_gdp); rejects with advice otherwise, and impossible calendar dates are rejected.
periodYesPeriod of the claim, usually a year: '2024'.
countryNoCountry for registry indicators / World Bank series.
indicatorYesRegistry key ('inflation_cpi', 'gdp_growth', …) or explicit series id ('worldbank/FP.CPI.TOTL.ZG', 'imf/NGDP_RPCH', 'dbnomics/IMF/WEO:latest/USA.NGDP_RPCH.pcent_change').
claimed_valueYesThe value as claimed (in the series' own units).
strict_sourceNoReproducibility mode: never verify against a fallback source, error instead if the primary source fails. Default false; without it, a verify served from a transient-failure fallback returns cannot_verify with the fallback value as indicative (fallback_used=true), while a fallback for a series the primary permanently lacks (e.g. Taiwan in WDI) is judged normally with disclosure.
tolerance_absNoOptional absolute tolerance in series units (e.g. 0.1 percentage points).
tolerance_pctNoOptional relative tolerance in percent.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYes
periodYes
seriesYes
verdictYes
citationYes
differenceYes
diagnosticsYes
explanationYes
claimed_valueYes
is_projectionYes
status_methodYes
official_valueYes
observation_statusYes
relative_difference_pctYes
Install Server

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is clear. The description adds significant non-obvious behavioral context: the honesty contract (cannot_verify rather than guessing), fallback semantics (fallback_used=true, permanent-lack fallback judged normally), and as_of vintage resolution behavior. These go well beyond what annotations alone reveal.

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 front-loaded with the core purpose and each subsequent sentence earns its place: outputs, honesty contract, as_of support, and the publishing use case. It is dense but efficient, with no filler or tautology.

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 tool with 8 parameters, a complete input schema, an output schema, and rich annotations, the description covers the essential edge cases: source-down behavior, no-published-value cases, fallback restrictions, and historical vintage checks. An agent has everything needed to call it correctly and interpret its results.

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 description coverage is 100%, so the baseline is 3. The description reinforces as_of and strict_source but does not add parameter-level meaning beyond what the schema already provides. It does not need to compensate for undocumented parameters.

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 states a specific verb ('Check') and a clear resource (a claimed economic figure against the official statistical series), and enumerates concrete outputs: verdict, official value, difference, diagnostics, and citation. It is unequivocally clear about what the tool does, but it does not explicitly differentiate from siblings such as verify_claims or compare_sources, so it stops one point short of a full 5.

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?

It gives an explicit use case: 'Use this before publishing any economic statistic in a report, brief, or article.' It also describes distinct modes (as_of for historical IMF-vintage checks, strict_source for reproducibility). However, it does not name alternative tools or state when not to use this one, so it lacks the exclusions needed for a 5.

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

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