Skip to main content
Glama
SA Municipal Finance MCP

SA Municipal Finance MCP

by root7-labs

Supplier payment risk (Pro)

supplier_payment_risk
Read-only

Assess municipal supplier payment risk before bidding for or delivering on a contract: see payment delays, overdue shares, creditor-type exposure, recent trends and a low/moderate/high risk band.

Instructions

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.

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": {
      "municipality": "<municipality>"
    },
    "name": "supplier_payment_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthsNoMonths of trade-creditor history to show. Default 6.
municipalityYesMunicipality demarcation code (e.g. CPT, JHB, WC024) or name (e.g. 'Stellenbosch'). Codes are unambiguous.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds real substance beyond them by naming the data source (latest monthly creditor returns) and enumerating exactly what the response contains — creditor-type breakdown, ageing shares, monthly trend, and a low/moderate/high risk band. That is meaningful disclosure for a tool with no output schema. It does not mention data freshness limits or coverage gaps, which keeps it at 4.

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 sentences, front-loaded with the core definition and followed by the returned content, then the use case. The dense parenthetical list of creditor types is informative rather than padding, and there is no restatement of the tool name or schema.

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 two-parameter read tool with no output schema, the description adequately covers both what it computes and what it returns, so an agent can decide whether the output answers its question. The remaining gap is operational: no note on staleness of the monthly returns or on how an ambiguous municipality name is resolved.

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 both parameters (municipality code/name, months of history) are already fully documented in the schema. The description adds no format, default, or constraint detail beyond that, 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?

States a concrete resource and derived measure: supplier payment duration for a municipality, drawn from monthly creditor returns, plus the specific breakdowns returned (creditor type, >30/>90 day share, trend, risk band). An agent can tell this is a payment-behaviour/risk lookup rather than a general profile or health score. It does not name a sibling to contrast with, 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?

Gives one positive use context — 'Useful before bidding for, or delivering on, a municipal contract' — which implies the decision scenario. It offers no when-not conditions, no prerequisites (e.g. whether the municipality must exist first via find_municipality), and does not point to an alternative tool for related questions.

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