Skip to main content
Glama

MzansiData

Get a South African indicator

get_indicator
Read-onlyIdempotent

One figure for a named indicator, region and period, with the year-earlier value, the source release, the licence and the mzansidata.co.za page. Indicators: unemployment_rate, expanded_unemployment_rate, employed, unemployed, labour_force_participation_rate, absorption_rate, inflation, core_inflation, cpi_index, food_inflation, transport_inflation, housing_inflation, population, feel_safe_walking_after_dark, feel_safe_walking_day, housebreaking, claude_usage_index. Region: South Africa (default), a province (e.g. Gauteng) or a metro (e.g. Cape Town) where the data has it. Period: e.g. 2026Q3, 2026-09, September 2026 or 2026; default is the latest.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYesIndicator name or plain words, e.g. unemployment_rate
periodNoe.g. 2026Q3, 2026-10, October 2026, 2025
regionNoSouth Africa, a province or a metro

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value the annotations cannot: the exact payload shape (single figure plus year-earlier comparison, source release, licence, page link), which is the main unknown for a data-lookup tool with no output schema. It stops short of describing error behavior for unknown indicators or missing periods.

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?

Front-loaded with the outcome (what one call returns) before the enumeration, which is the right ordering. The indicator list is long but each item is load-bearing because no enum exists. Some compression is possible — the period examples repeat the schema verbatim.

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 three-parameter lookup with no output schema, the definition covers the return contents, the valid indicator vocabulary, region granularity with defaults, accepted period formats and the default period. That is essentially everything an agent needs to construct a correct call and interpret the result.

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%, so all three parameters are already documented, establishing the baseline of 3. The description does add real meaning beyond the schema by enumerating the seventeen valid indicator names, which the schema only illustrates with a single example. Region and period guidance largely restates the schema examples.

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?

Opens with a concrete verb-and-resource statement ("One figure for a named indicator, region and period") and then enumerates exactly what comes back: year-earlier value, source release, licence and page URL. That is far more specific than the title alone. It does not, however, explicitly distinguish itself from siblings like get_municipality or search, so routing relies on the reader inferring from the resource name.

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?

The description gives operational context for the parameters — South Africa is the default region, latest is the default period, sub-national data exists "where the data has it" — which implies how to call it. But it never says when to reach for this tool versus fetch, search or get_municipality, and gives no exclusions or failure conditions.

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