Skip to main content
Glama

MzansiData

Get a municipality profile

get_municipality
Read-onlyIdempotent

Profile of one of South Africa's 257 municipalities: population and household services (Census 2022), money and audit outcomes (National Treasury, Auditor-General), the 2026/27 electricity tariff increase (NERSA) and, for metros, unemployment (QLFS). Each figure names its source; the result links the municipality's MzansiData page.

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_or_code": "<name_or_code>"
    },
    "name": "get_municipality"
  }
}

Input Schema

NameRequiredDescriptionDefault
name_or_codeYesName (e.g. Buffalo City, Durban) or code (e.g. BUF, WC024)

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 declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds substantive context beyond them: each figure carries its source, coverage is asymmetric (unemployment only for metros, Census 2022 vintage, 2026/27 tariff year), and the result links to the MzansiData page. It does not discuss failure modes for unknown names/codes, which keeps it from 5.

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, front-loaded with the resource and count, then a compact inventory of data domains and sources. Dense but every clause carries information; the parenthetical source attributions are justified because they signal data provenance.

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 return content, and it does so by naming the sections, their sources, and the included page link. Missing only an indication of response shape/fields or behavior on ambiguous or unknown inputs.

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% and the schema already gives name and code examples (Buffalo City, Durban / BUF, WC024). The description adds nothing about parameter format, case sensitivity, or ambiguity handling, so the 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?

The description states a specific resource ('Profile of one of South Africa's 257 municipalities') and enumerates the exact data domains returned (Census 2022 population/services, Treasury/AG money and audit outcomes, NERSA 2026/27 tariff, QLFS unemployment for metros). This is far more than a restatement of the name. It does not explicitly contrast itself with siblings like get_indicator, so it stops short of 5.

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 implied by the resource: an agent wanting a consolidated municipal profile rather than a single indicator would pick this. However, it never says when to prefer get_indicator or search over this tool, nor states prerequisites. Adequate but with a clear gap in routing guidance.

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