Skip to main content
Glama
Open Data B2B & Compliance MCP Server

Open Data B2B & Compliance MCP Server

search_nonprofit_990_leads

Read-onlyIdempotent

Search US 501(c) nonprofits, hospitals, universities, and foundations by name, state, sector, revenue, or assets, then retrieve IRS Form 990 financials, compensation, grants, PDFs, and lead scores.

Instructions

Search US 501(c) nonprofits, hospitals, universities, and private grantmaking foundations via ProPublica Nonprofit Explorer API v2, enriched with latest IRS Form 990 / 990-PF / 990-EZ financials, executive compensation, grants paid, PDF filing URLs, and lead quality scores.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_nonprofit_990_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoOrganization name, city, or mission keyword (e.g., "foundation", "hospital", "university"). Default: "foundation".foundation
stateNoOptional 2-letter US state abbreviation (e.g., "NY", "CA", "TX").
maxResultsNoMaximum leads to return (1-50 in MCP mode). Default: 10.
minAssetsUsdNoMinimum latest total assets in USD. Default: 0.
nteeCategoryNoOptional NTEE broad sector ID 1-10 (1=Arts, 2=Education, 3=Environment, 4=Health, 5=Human Services, 6=International, 7=Public/Societal Benefit & Foundations, 8=Religion, 9=Mutual, 10=Unknown).
minRevenueUsdNoMinimum latest total revenue in USD. Default: 0.
subsectionCodeNoOptional IRS 501(c) subsection code (e.g., 3 for 501(c)(3), 4 for 501(c)(4), 6 for 501(c)(6)).
foundationsOnlyNoWhen true, restrict to private foundations (990-PF) and grantmaking foundations (NTEE T* / grants paid). Default: false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

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, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the external API dependency, the freshness of the underlying IRS filings, and the fact that results are scored for lead quality rather than returned raw. It omits pagination and rate-limit behavior, which keeps it from a 5.

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?

A single sentence that front-loads verb, resource, and data source before the enrichment tail. The trailing list of enriched fields is long but each item carries selection value (grants paid and compensation signal prospect quality), so little is wasted.

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 eight optional parameters, no output schema, and no nested objects, the description compensates well by enumerating what a result contains (financials, executive compensation, grants paid, PDF filing URLs, lead quality scores), effectively standing in for a missing output schema. It stops short of stating result ordering or truncation behavior for maxResults.

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% and all eight parameters carry their own enum values, examples, and defaults, so the schema does the heavy lifting. The description adds no parameter-level meaning beyond the general 'enriched with 990 financials' framing, which is the correct baseline of 3.

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?

Names a specific verb (Search) and a precisely scoped resource (US 501(c) nonprofits, hospitals, universities, private grantmaking foundations) and names the upstream data source (ProPublica Nonprofit Explorer API v2). The enrichment clause (Form 990/990-PF/990-EZ financials, compensation, grants, PDF URLs, lead scores) makes it distinguishable from the dossier sibling, which is a single-entity lookup.

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 by the resource scope and the filters (e.g., foundationsOnly steers toward grantmakers), so an agent can infer this is the discovery/prospecting entry point. However, there is no explicit statement of when to use this versus get_nonprofit_990_dossier for a known organization, and no prerequisites or exclusions are given.

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