Skip to main content
Glama
SA Municipal Finance MCP

SA Municipal Finance MCP

by root7-labs

Financial health trend (Pro)

health_trend
Read-only

Compare nine Treasury financial health indicators across up to seven audited years for a municipality, with improving or worsening flags for each.

Instructions

Pro: the nine Treasury financial health indicators side by side for up to seven audited years, with an improving/worsening flag for each.

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

Input Schema

NameRequiredDescriptionDefault
yearsNoNumber of audited years. Default 5.
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 already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. Beyond that, the description usefully discloses the return contents (nine indicators, improving/worsening flag per indicator) — information that matters because there is no output schema — and signals a tier restriction via 'Pro:'. It stops short of noting data availability limits or behavior when fewer audited years exist.

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?

A single front-loaded sentence that leads with the tier marker and the resource, then the time span and the per-indicator flag. Nothing is padding and nothing needed is buried.

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-only tool with fully documented schema and no output schema, the description covers enough to select and call it correctly, including the return shape. The only real gap is the absence of any routing hint distinguishing it from the sibling 'financial_health' snapshot tool.

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 coverage is 100%, with both 'municipality' and 'years' fully documented including the 2–7 range and accepted code formats. The description's 'up to seven audited years' only restates the schema maximum and adds no new syntax, formatting, or fallback guidance, 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?

The description names the specific resource (the nine Treasury financial health indicators) and the specific shape of the result (indicators side by side across audited years, each with an improving/worsening flag). It is clear what the tool returns, but it never contrasts itself with the close sibling 'financial_health' or with 'compare_municipalities', so the agent must infer the difference.

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?

Usage is only implied: 'side by side for up to seven audited years' suggests this is the multi-year trend view rather than a single-period snapshot. There is no explicit statement of when to prefer it over 'financial_health', no mention of a Pro/subscription prerequisite beyond the 'Pro:' prefix, and no stated exclusions.

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