Skip to main content
Glama

AgentStall: Africa and India data

Languages spoken by country: share of population, speakers and official status (249 countries)

country_languages_lookup
Read-onlyIdempotent

Languages spoken by country: every language with its share of the population, approximate speakers and official status (official, de facto, regional) for 249 countries and territories, incl. all 54 African countries (e.g. Nigeria 17 languages, Kenya 19) and India (48). Also population and literacy. Source: Unicode CLDR 48.2 territory data. For localisation, translation and support planning. Free here (20 calls per day).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "country_languages_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoOptional 2-letter ISO country codes, comma-separated, up to 60 (default: all 249 countries and territories)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety and idempotence are covered structurally. The description earns credit for adding a rate limit (20 calls/day on the free tier) and a versioned data source (Unicode CLDR 48.2 territory data) plus the default-to-all behavior, none of which appear in the annotations. It does not discuss response size, truncation risk for a 249-country default, or error behavior for bad country codes, which are the real behavioral unknowns here.

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?

It is one front-loaded paragraph that leads with what is returned, then scope, source, use case and pricing — a sensible order. Most clauses carry information, though the per-country example counts (Nigeria 17, Kenya 19, India 48) and the 'incl. all 54 African countries' qualifier edge toward promotional filler.

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?

For a single optional-parameter, read-only lookup with no output schema, the description covers what is returned (per-language share, speakers, official status), the data source and the call budget, which is enough to invoke it correctly. The remaining gap is practical behavior on large default responses and invalid country codes, which no other structured field covers.

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% and the single parameter already documents the 2-letter ISO format, comma separation, the 60-item cap and the all-countries default. The description restates the default scope ('all 249 countries and territories') but adds no new syntax or validation meaning. Baseline 3 applies because the schema does the heavy lifting.

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 resource (languages spoken by country) and enumerates the returned fields: share of population, approximate speakers, and official status values (official, de facto, regional). It also pins down scope with '249 countries and territories' and concrete counts (Nigeria 17, India 48). It stops short of naming a sibling it is not, and 'Also population and literacy' mildly overlaps territory with country_info_lookup, so it is clear but not sibling-differentiated.

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 context: 'For localisation, translation and support planning', which tells an agent when this is the right call. It also discloses the free-tier constraint (20 calls/day), which helps an agent budget calls. There are no exclusions and no named alternative to route to instead, keeping it below a 5.

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