Skip to main content
Glama

Africa API — Country Economic Signals

africa.countries.signals
Read-onlyIdempotent

Get a live macroeconomic snapshot for an African country. Returns 20–60 indicators across economy (GDP, inflation, trade), climate (precipitation, air quality), health (life expectancy, access to services), and demographic signals. Sources: World Bank WDI, IMF, UN, NASA POWER. Use country_code from africa.countries.list. Ideal for rapid country assessment and investment screening across 54 African nations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
country_codeYesISO 3166-1 alpha-2 country code (2-letter lowercase, e.g. "ng" for Nigeria, "ke" for Kenya, "za" for South Africa, "eg" for Egypt, "gh" for Ghana).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds valuable context: the range of indicators (20–60), the categories covered, and the data sources (World Bank WDI, IMF, UN, NASA POWER). It does not disclose any rate limits or pagination, but for a read-only, idempotent snapshot tool with an output schema, the description adds sufficient behavioral context without contradicting 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 three concise sentences. The first states the core action, the second lists the data categories and sources, and the third provides usage guidance and a use case. It is front-loaded with the purpose and contains no redundant information.

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 single-parameter tool with an output schema, the description is complete. It covers what the tool returns, the categories, the sources, the geographic scope, and a prerequisite for the parameter. The output schema handles return values, so no further explanation is needed. Nothing an agent needs to call it correctly is missing.

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 100% with a detailed parameter description (format, length, examples). The description adds a meaningful hint by instructing to use country_code from africa.countries.list, which helps the agent source the correct value. This goes beyond the schema's format details and justifies a score above the baseline of 3.

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 uses a specific verb+resource: 'Get a live macroeconomic snapshot for an African country.' It clearly distinguishes from siblings like africa.data.indicator (which provides specific indicators) by focusing on a multi-category snapshot. It also mentions the scope (54 African nations) and lists the domains (economy, climate, health, demographics), making the purpose unambiguous.

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?

The description gives a clear use case ('ideal for rapid country assessment and investment screening') and a prerequisite ('Use country_code from africa.countries.list'). It does not explicitly contrast with alternatives like africa.data.indicator, but the context strongly implies that for a broad snapshot this tool is preferred, while for a specific indicator another tool would be used. The guidance is present but lacks an explicit when-not-to-use statement.

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.