samuni.finance.income_expenditure
Get income and expenditure (Statement of Financial Performance) data for a South African municipality. Returns audited actual (AUDA) annual line items from the mSCOA chart of accounts. Covers revenue sources (rates, grants, service charges) and expenditure categories (employee costs, repairs, cap...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/samuni.finance.income-expenditure.md
What samuni.finance.income_expenditure does on Apibase
AI agents call samuni.finance.income_expenditure to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
year | integer | — | Financial year-end to retrieve (e.g. 2022). Omit for all available years. Returns audited actual figures (AUDA) at annual period level. |
limit | integer | — | Maximum line items to return (1-200, default 50). |
demarcation_code | string | Yes | Municipality demarcation code (e.g. CPT=Cape Town, JHB=Johannesburg, ETH=eThekwini, TSH=Tshwane, EKU=Ekurhuleni, BUF=Buffalo City). Required. |
Parameters from the server's own tool schema.
Why samuni.finance.income_expenditure is rated Low
Retrieves financial statement data for municipalities without creating, modifying, or deleting information.
From the tool's definition Get income and expenditure data, returns audited actual annual line items, no modifications
Attacks that exploit this kind of access
The rule that runs samuni.finance.income_expenditure safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For samuni.finance.income_expenditure, this is the rule to start with:
samuni.finance.income_expenditure is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every samuni.finance.income_expenditure call is checked against it from then on.
Questions about samuni.finance.income_expenditure
Get income and expenditure (Statement of Financial Performance) data for a South African municipality. Returns audited actual (AUDA) annual line items from the mSCOA chart of accounts. Covers revenue sources (rates, grants, service charges) and expenditure categories (employee costs, repairs, capital transfers). Data is Section 71-level aggregation from 2019-20 onwards. Requires demarcation code (e.g. CPT, JHB, ETH, TSH, EKU, BUF). No auth required. Source: SA National Treasury MFMA incexp_v2 cube. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
samuni.finance.income_expenditure accepts 3 parameters: year, limit, demarcation_code. Required: demarcation_code. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for samuni.finance.income_expenditure: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
samuni.finance.income_expenditure is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the samuni.finance.income_expenditure rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for samuni.finance.income_expenditure. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
samuni.finance.income_expenditure is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue