Skip to main content
Glama

Get country risk

get_country_risk
Read-onlyIdempotent

Full NERAI risk read for one country: HMM regime state (Calm/Tension/Crisis with escalation probability and persistence), resilience score, and risk topics as percentiles of the 30-day average vs each series' own history (now / 90d ago / delta), with calibrated shock probabilities at 4/9/13/26-week horizons. Returns the 8 most elevated topics by default; set all_topics=true for all 40, or pass topic to filter.

Input Schema

NameRequiredDescriptionDefault
topicNoFilter to topics matching this text (e.g. 'protest', 'military').
countryYesCountry code (e.g. NI, IR, TU) or name (e.g. Nigeria).
all_topicsNoReturn all 40 risk topics instead of the top 8.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the bar is lower, and the description adds real behavioral detail: the default truncation to 8 elevated topics, the toggle to 40, and the topic filter. It does not disclose rate limits or pagination, but it clearly characterizes the operation's behavior.

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?

Two sentences, no filler, and the payload contents are front-loaded before the parameter guidance. The first sentence is dense with parentheticals but each clause conveys distinct return information, keeping it efficient.

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?

With no output schema, the description carries the burden of describing returns and does so thoroughly (regime states, resilience, percentiles, shock horizons, default 8-topic cap). It is nearly complete for a read tool, though it leaves some terms like 'resilience score' unexplained.

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 schema already documents country, topic, and all_topics. The description reinforces all_topics (40 vs 8) and the topic filter in output context but adds little syntax or semantics the schema does not already carry; 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+resource (full risk read for one country) and enumerates the payload it produces: HMM regime state, resilience score, and topic percentiles with shock probabilities. This clearly delineates it from a list or comparison tool, but it never explicitly names siblings like compare_countries or get_early_warning, so it falls short of the top tier.

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 only implied: 'for one country' suggests this is the single-country read versus a comparison tool, and the all_topics/topic guidance is about parameters rather than when to choose this tool. There is no explicit when-to-use, when-not-to-use, or named alternative.

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.