Skip to main content
Glama

990.tax nonprofit lookup

US nonprofit statistics

get_nonprofit_stats
Read-onlyIdempotent

Counts and totals for US tax-exempt organizations from IRS public data: national, one state, or one NTEE major category (A-Z). Active organizations, 990-N filers, revocations, and revenue, assets, employees and pay from e-filed returns; national adds e-Postcard filers by year, revocations by month and organizations by category.

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": {
      "scope": "<scope>"
    },
    "name": "get_nonprofit_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYes
stateNoWith scope "state"
ntee_majorNoWith scope "ntee": NTEE major group letter, e.g. B (education)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-open-world behavior, so the description does not need to restate safety. It adds useful behavioral context by naming the data source (IRS public data), the metrics available (active organizations, 990-N filers, revocations, revenue, assets, employees, pay), and the extra breakdowns returned for national scope. That goes beyond structured fields.

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

Conciseness4/5

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

The description is front-loaded and dense with relevant information, with no filler sentences. It is a single long sentence, which makes it slightly harder to scan, but every clause contributes to scope or metric understanding.

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?

There is no output schema, so the description carries the burden of explaining what is returned. It does so by listing the metrics and national-level breakdowns, which is fairly complete for a statistics tool. Minor gaps remain around output format or pagination, but those are less critical for a read-only aggregate 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 67%, and the schema itself documents state and ntee_major with length constraints and examples. The description reinforces the three scope values and clarifies that NTEE uses a single major category letter, but it adds little syntax or format detail beyond the schema. Baseline 3 is appropriate.

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 and resource: 'Counts and totals for US tax-exempt organizations from IRS public data.' It also enumerates the three supported scopes (national, one state, one NTEE major category), which clearly distinguishes it from sibling tools like get_nonprofit_profile and search_nonprofits.

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?

The description implies when to use the tool by listing the available scopes and metrics, but it does not explicitly contrast this with alternatives such as get_top_nonprofits or search_nonprofits. An agent can infer that this is for aggregate statistics, but no exclusion or routing guidance is provided.

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