SA Municipal Finance MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SAMUNI_LICENSE_KEY | No | Your Pro licence key from Polar, pasted as the value of SAMUNI_LICENSE_KEY in your MCP client config. Pro unlocks health_trend, supplier_payment_risk and compare_municipalities; the free tools work without a key. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| find_municipalityA | 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. |
| municipality_profileA | Basic details for a South African municipality plus its Auditor-General audit opinions by year, with links to the audit reports. |
| financial_healthA | National Treasury's nine financial health indicators for one municipality and one audited year: cash balance, cash coverage, current ratio, liquidity ratio, debtor collection rate, unauthorised/irregular/wasteful expenditure, repairs and maintenance, and operating and capital budget spending. Each is rated good, average or bad against Treasury benchmarks. |
| health_trendA | Pro: the nine Treasury financial health indicators side by side for up to seven audited years, with an improving/worsening flag for each. |
| supplier_payment_riskA | Pro: how long a municipality takes to pay its suppliers, from its latest monthly creditor returns. Shows money owed by creditor type (trade creditors, bulk electricity, bulk water, statutory deductions), the share older than 30 and 90 days, the recent monthly trend, and a low/moderate/high risk band. Useful before bidding for, or delivering on, a municipal contract. |
| compare_municipalitiesB | Pro: rank municipalities on Treasury's financial health indicators for their latest audited year. Give a list of up to 20 municipalities, or a province and/or category (e.g. all metros, or all local municipalities in the Western Cape). |
| samuni_statusA | Show the server version, licence tier and which tools are available. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool has a largely distinct role: lookup, profile, single-year indicators, multi-year trend, cross-municipality ranking, supplier payment behaviour, and server status. The main soft spot is find_municipality versus municipality_profile, both of which surface municipality details, though the descriptions (demarcation codes vs AG audit opinions) make the boundary workable.
Everything is snake_case, which keeps it readable, but the conventions are mixed: some tools use verb_noun (find_municipality, compare_municipalities) while others are bare resource nouns (municipality_profile, financial_health, health_trend, supplier_payment_risk) and one is prefixed with a server name (samuni_status). A predictable verb_noun pattern is not maintained.
Seven tools is well within a healthy range and each one maps to a distinct job in the municipal-finance workflow (find, profile, diagnose, trend, benchmark, supplier risk, status). No tool feels like padding or a duplicate entry.
The surface covers the core lifecycle: discover a municipality, view its profile and audit history, inspect financial health for one year and across years, benchmark against peers, and assess supplier payment risk. Minor gaps remain around underlying budget/expenditure line items and audit report contents, but the primary analysis paths have no dead ends.