Skip to main content
Glama

Irs Exempt Org Search

irs_exempt_org_search
Read-onlyIdempotent

Find US tax-exempt organisations in the IRS Exempt Organizations Business Master File by ruling date (when the IRS determined exemption), foundation type, state, subsection, NTEE category and minimum assets, ranked by assets. Example: private foundations determined in 2025 or later, largest first. Needs a bounded search: a ruling-date window, or private_foundation true, or a small state; a search that would scan too much says so and asks for a narrower one. Returns EIN, name, city, state, ruling month, foundation type, subsection, NTEE and latest assets/income/revenue, with codes decoded; use irs_exempt_org_get for the full record. Searching by organisation name is not supported. Every answer carries data_as_of and answered_from. Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 10,
      "ruling_from": "2025-01",
      "private_foundation": true
    },
    "name": "irs_exempt_org_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
nteeNoNTEE code prefix, e.g. "T" (philanthropy and grantmaking) or "T20".
sortNoRank by latest reported assets (default), income, revenue, or ruling date (newest first). Missing amounts rank last.
limitNoRows to return, default 25, max 200.
stateNoTwo-letter state or territory code of the organisation address, e.g. "DE".
ruling_toNoLatest ruling month, "YYYY" or "YYYY-MM". Defaults to the newest in the file.
min_assetsNoOnly organisations with latest reported assets of at least this many US dollars.
subsectionNoSubsection code, e.g. "03" for 501(c)(3), "04" for 501(c)(4), "92" for 4947(a)(1) trusts.
ruling_fromNoEarliest ruling (IRS determination) month, "YYYY" or "YYYY-MM", e.g. "2025-01".
foundation_codeNoFoundation code(s), comma separated, e.g. "04" or "02,03,04". 04 = private non-operating, 03 = private operating, 02 = private operating exempt from excise tax, 15 = public charity (broad support), 16 = 509(a)(2) public charity, 21-25 = supporting organizations.
private_foundationNotrue: only private foundations (foundation codes 02, 03, 04, the 990-PF filers). false: only organisations that are not private foundations.

Output Schema

NameRequiredDescriptionDefault
hintNo
noteNo
foundNo
reasonNo
sourceNo
messageNo
returnedNo
sorted_byNo
data_as_ofNo
amounts_noteNo
answered_fromNo
organizationsNo
total_matchesNo
scanned_organizationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, open-world), the description discloses the bounded-search enforcement and the resulting refusal-and-ask-for-narrower behaviour, that every answer carries data_as_of and answered_from, and that the service is keyless. These are operational traits an agent cannot infer from annotations.

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?

Front-loaded with purpose, filters and ranking, then constraints, then return shape, then caveats — a sensible order with no filler sentences. It is slightly long, and enumerating the returned fields duplicates the existing output schema.

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?

For a ten-parameter, zero-required search tool, the definition covers the query semantics, the mandatory bounding constraint, the unsupported query type, the sibling handoff for full records, and response metadata. An output schema exists, so the return-field list is extra but not a gap; nothing needed to call it correctly is missing.

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 description coverage is 100%, so each of the ten parameters is already documented, including enum values, formats and defaults. The description only restates the filter set and clarifies that 'ruling date' means the IRS determination date; it adds little parameter-level meaning beyond the schema, so the baseline 3 applies.

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 (Find) and resource (US tax-exempt organisations in the IRS Business Master File), enumerates the filterable dimensions, states the ranking (assets) and gives a concrete example query. The sibling irs_exempt_org_get is explicitly positioned as the full-record lookup, so an agent can separate the two without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use context ('Needs a bounded search: a ruling-date window, or private_foundation true, or a small state'), an explicit exclusion ('Searching by organisation name is not supported'), and a named alternative ('use irs_exempt_org_get for the full record'). It also tells the agent what happens when the query is too broad.

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.