Skip to main content
Glama

Nonprofit restriction check

wever_nonprofit-restriction-check
Read-only

Agent Nonprofit Records: submit restricted-gift records with the spending records they answer to: the moment the records are read at; each restricted gift with its id, reference, donor, amount, currency, the moment received, the restricted purpose the gift record states, the restriction as the ledger records it, the moment the restriction term ends in the gift record and in the ledger, any change of purpose the records assert and the donor consent record it cites; each spending record with its id, the gift it is charged to, the moment, the amount and the purpose it names; each release with its id, the gift, the moment, the amount and a note; each donor consent record with its id, reference, the gift, the moment given and the purpose consented to. The signed report gives the gifts and the spending, each spending record against the purpose the restriction covers or a changed purpose the donor’s recorded consent covers, each restriction as the gift record and the ledger record it, each balance left past the restriction term against a release, and each change of purpose against a donor consent record, and counts them, and names divergent restricted-gift records: a restricted gift spent outside its stated purpose, restriction terms recorded differently in the gift record and the ledger, a restricted balance carried past its term with no spending or release recorded, and a change of purpose asserted with no record of donor consent; then spending and releases above the gift and a spending or release record naming a gift the records do not hold, with the fix for each and what would change the verdict. No gifts, no spending records, a gift with no stated purpose, or no reading moment beside a term leaves those points unverified. Gifts and records match by letters and digits, a stated purpose covers a spending purpose when every word of it appears there with plurals folded, amounts compare to the cent and terms by the day. This reads whether each restriction a donor placed on a gift holds in the spending. Verdict nonprofit_restriction_divergent, nonprofit_restriction_partial, nonprofit_restriction_unverified or nonprofit_restriction_consistent. POST /api/nonprofit-restriction-check. Reads the nonprofit records supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it solicits no donation, contacts no donor, files no form and gives no tax or legal advice, which stay with the organization and its advisers, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Nonprofit Records reads a nonprofit’s own records: donation records, pledge records, restricted-gift records, fundraising campaign records, board and governance records, volunteer records, program spending records and the annual report written for donors and the public, each against the acknowledgment and ledger records, the collections, the spending records, the gift records and costs, the bylaws, votes and budgets, the shift records and policy, the mission and grant-purpose records or the records underneath it. The family’s ground is the nonprofit’s own house: money given, promises made by donors, restrictions placed on gifts, and what the board and the annual report say about all of it; the Agent Grants family reads the grant side, applications out and awards in, and the Agent Tax Records family reads filings made to the government, while this family reads neither. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-nonprofit-records-contract. Human page: https://weverlabs.com/agent-nonprofit-records/.

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": {
      "gifts": "<gifts>",
      "spending": "<spending>",
      "releases": "<releases>",
      "consents": "<consents>"
    },
    "name": "wever_nonprofit-restriction-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe moment the restricted-gift records are read at, such as 2026-03-02.
giftsYesEach restricted gift.
labelNoOptional name recorded in the report.
consentsYesEach donor consent record.
releasesYesEach release from restriction.
spendingYesEach spending record charged to a restricted gift.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnly, closed-world, non-destructive), the description discloses the price (0.10 USDC per call on Base via x402), a 10 free signed-wallet call allowance per rolling 30 days, the required X-Wever-Wallet-Proof binding to the exact JSON arguments and route, an Ed25519 signed receipt, and explicit negative side effects (no network request, fetch, message, payment or external write). It also states the matching semantics and the conditions that leave points unverified. The disclosure is rich but buried in a single dense block, so it takes effort to extract.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a single sprawling run-on that opens with an inventory of record fields rather than the tool's purpose, which only appears mid-paragraph. Payment, contract, family taxonomy and matching rules are all crammed into the same block with no headings or sentence breaks. The information is valuable but the structure works against fast scanning.

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?

With no output schema, the description carries the return-value burden and does so: it names the verdict enum, the signed report's contents (evidence read, findings with fixes, what would change the verdict), and the receipt. It also covers cost, auth binding and scope exclusions. What it lacks is any guidance on report volume or handling of large record sets near the 2000/5000 item caps.

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

Parameters5/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, but the description adds real meaning on top: records match 'by letters and digits,' a stated purpose covers a spending purpose when every word appears with plurals folded, amounts compare to the cent and terms by the day, and a gift with no stated purpose or a term with no reading moment leaves those points unverified. Those are decision rules the schema cannot express and they change how an agent populates and trusts the inputs.

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 a specific check: 'This reads whether each restriction a donor placed on a gift holds in the spending,' and enumerates the four verdicts it can return, so the verb and resource are unambiguous. It also demarcates the family boundary (grants and tax filings belong to other families). It stops short of naming a specific sibling such as donation-check or pledge-check to route the agent between close alternatives.

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 implied rather than stated: the agent can infer it should call this when it holds restricted-gift records plus the spending they answer to, and the family paragraph says grants and tax filings are out of scope. There is no explicit 'use this instead of X when...' and no stated prerequisites beyond the required arrays, so an agent must reconstruct the trigger condition itself.

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