Skip to main content
Glama

NZXplorer (Remote)

get_agency_charity_funding

Read-onlyIdempotent

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

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax rows returned in top_charities / top_agencies lists (default 25, max 200).
agencyNoAgency slug or name substring (e.g. "ministry-of-social-development", "MSD", "Te Whatu Ora"). Mutually exclusive with `charity`.
charityNoCharity slug or name substring (e.g. "womens-refuge", "Salvation Army"). Mutually exclusive with `agency`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesThe 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".
metaYes
toolYesTool that produced this result.
schema_versionYesEnvelope contract version. Bumps only on a breaking shape change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety burden is carried. The description still adds real behavioral context beyond them: it discloses the two upstream data sources, the AR vs GETS value semantics, and that mode (c) returns a bounded top-25-per-side summary. It doesn't discuss recency or coverage gaps of the sources.

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?

Front-loaded with the core concept, then structured into sources, modes, use cases, and value legend. Roughly 110 words that each carry distinct information; no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return-value documentation is unnecessary and the description correctly focuses on inputs, sourcing, and mode behavior. For a zero-required-parameter lookup tool, an agent has everything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns above it by explaining what each parameter selects (agency→charities, charity→agencies, neither→platform summary) and illustrating accepted slug/name formats. It doesn't restate the limit default beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('agency↔charity funding graph') and decomposes it into two named data sources and three call modes. An agent can determine exactly what this returns without opening the schema. This meaningfully distinguishes it from generic siblings like get_government_contracts or get_corporate_giving.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The three modes (a/b/c) give explicit when-to-use conditions keyed to which parameter is passed, and the example questions ('which charities does MSD fund', 'who funds Women's Refuge') anchor intent. It lacks explicit exclusions or named alternative siblings, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources