Skip to main content
Glama
SA Municipal Finance MCP

SA Municipal Finance MCP

by root7-labs

Find a South African municipality

find_municipality
Read-only

Look up South African municipalities by name, province or type to retrieve demarcation codes required by other tools. Covers all metros, local and district municipalities.

Instructions

Look up South African municipalities by name, province or type and get their demarcation codes (needed by the other tools). Covers all metros, local and district municipalities.

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": "find_municipality"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 25.
queryNoName or code, e.g. 'Drakenstein', 'eThekwini', 'NMA'. Leave empty to list.
categoryNoA = metropolitan, B = local, C = district municipality.
provinceNoProvince name or code, e.g. 'Western Cape' or 'WC'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered by structured data. The description adds a useful completeness claim (full coverage of metros, local and district municipalities) and the fact that demarcation codes are the payload other tools consume. It says nothing about result caps or paging beyond the schema's limit default, so it adds some but not rich behavioral context.

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?

Two short sentences, zero filler, with the purpose and output value front-loaded before the coverage claim. Every clause earns its place.

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 read-only lookup with four all-optional, fully documented parameters and no output schema, this is close to complete: it names the searchable dimensions and the return value (demarcation codes). Slightly more on what happens with no query or on result limits would make it fully self-sufficient.

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%, including the enum meaning for categories A/B/C and the query format, so the schema does the heavy lifting and the baseline is 3. The description restates the same lookup dimensions (name, province, type) without adding accepted abbreviations, matching behavior, or how multiple filters combine.

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 verb and resource ('Look up South African municipalities') plus the search dimensions (name, province, type) and the key output (demarcation codes). It also scopes coverage ('all metros, local and district municipalities'), so an agent can tell this is the identifier-resolution tool rather than an analytics one. It stops short of naming a specific sibling such as municipality_profile, which keeps it from a 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?

The parenthetical '(needed by the other tools)' implies this is the prerequisite lookup step before calling municipality_profile, compare_municipalities and friends, which is genuine workflow guidance. However there is no explicit when-not or statement of which sibling to use once a code is in hand; usage is implied rather than directed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.