get_agency_charity_funding
Cross-platform agency↔charity funding graph. Combines two sources: (1) major contracts disclosed in charity annual reports (annualised values, expiry dates) and (2) GETS (Government Electronic Tenders Service) awarded contracts where the supplier is a registered charity. Three modes: (a) pass agency to list charities funded by that NZ govt agency, (b) pass charity to list agencies funding that charity, (c) pass neither for a platform-wide summary with top 25 of each. Use for questions like "which charities does MSD fund", "who funds Women's Refuge", "top charities by government funding", or "government funding expiry risk for NZ charities". Values: AR = annualised, GETS = awarded totals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows returned in top_charities / top_agencies lists (default 25, max 200). | |
| agency | No | Agency slug or name substring (e.g. "ministry-of-social-development", "MSD", "Te Whatu Ora"). Mutually exclusive with `charity`. | |
| charity | No | Charity slug or name substring (e.g. "womens-refuge", "Salvation Army"). Mutually exclusive with `agency`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool payload. Null when the call did not produce one — read meta.availability_status to find out why, and do not treat null as zero, empty or "none found". | |
| meta | Yes | ||
| tool | Yes | Tool that produced this result. | |
| schema_version | Yes | Envelope contract version. Bumps only on a breaking shape change. |