Skip to main content
Glama

SA Municipal — Officials Directory

samuni.reference.officials
Read-onlyIdempotent

Get contact details for senior officials of a South African municipality. Returns role, name, title, email address, and phone number. Common roles: Mayor/Executive Mayor, Deputy Mayor/Executive Mayor, Municipal Manager, Chief Financial Officer, Speaker, Chief Audit Executive. Requires demarcation code (e.g. CPT=Cape Town, JHB=Johannesburg, ETH=eThekwini). No auth required. Source: SA National Treasury MFMA officials cube.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNoFilter by role name (e.g. "Mayor/Executive Mayor", "Chief Financial Officer", "Municipal Manager"). Case-sensitive, partial matches not supported.
demarcation_codeYesMunicipality demarcation code to look up officials for (e.g. CPT=Cape Town, JHB=Johannesburg, ETH=eThekwini, TSH=Tshwane).

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. Added
  2. Removed
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already cover read-only, idempotent, non-destructive behavior, so the safety profile is established. The description adds useful context beyond annotations by stating 'No auth required', citing the data source, and enumerating returned fields. No contradictions with 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, front-loading the main purpose first and then giving returns, roles, requirements, auth, and source. Every sentence carries useful information with no fluff or repetition.

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 simple read-only lookup with an output schema, the description covers purpose, required input, optional filter, roles, auth, and source. It does not mention how to discover the demarcation code (e.g., via samuni.reference.municipalities), which is a minor gap given the siblings list.

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 documents both parameters fully. The description reinforces the meaning of demarcation_code and role with examples, but it does not add substantial new semantics beyond what the schema already provides.

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 clearly states a specific action ('Get contact details') and resource ('senior officials of a South African municipality'). It is specific enough to distinguish from the broader reference tool samuni.reference.municipalities, though it does not name any sibling tools explicitly.

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 clear context on when to use the tool: it requires a demarcation code, optionally filters by role, needs no auth, and lists common role names. It does not explicitly state when not to use it or point to alternatives like samuni.reference.municipalities for code lookup.

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.