Skip to main content
Glama
lzinga

US Government Open Data MCP

nih_spending_by_category

Read-only

Retrieve NIH project counts and estimated funding for any disease or research area across multiple fiscal years. Use predefined category IDs like Cancer (27) or Alzheimer's (7) to compare funding trends.

Instructions

Get NIH project counts and estimated funding for a disease/research area across fiscal years. Uses RCDC spending categories with an agency-based fallback for more accurate counts. Common category IDs: 27=Cancer, 7=Alzheimer's, 41=Diabetes, 60=HIV/AIDS, 93=Opioids, 30=Cardiovascular, 85=Mental Health, 38=COVID-19, 118=Stroke, 92=Obesity. Note: For the most reliable counts by disease area, also try nih_projects_by_agency with the relevant institute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
category_idYesRCDC spending category ID: 27=Cancer, 7=Alzheimer's, 41=Diabetes, 60=HIV/AIDS, 93=Opioids
fiscal_yearsYesFiscal years to compare: [2020,2021,2022,2023,2024]
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds transparency about the data source (RCDC spending categories and agency-based fallback), which enhances understanding beyond the annotations.

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?

Three sentences, each contributing essential information: what the tool does, how it works, and practical examples with alternatives. No wasted words.

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?

The description covers purpose, parameters, and alternatives. It lacks explicit output format details, but the tool is simple and the purpose implies the return type. A brief note on output structure would improve completeness.

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% with descriptions for both parameters. The description adds value by listing common category IDs (e.g., 27=Cancer) and providing usage context, which aids parameter selection.

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?

The description clearly states it retrieves NIH project counts and estimated funding for a disease/research area across fiscal years. It also distinguishes itself from sibling tools by name and by suggesting an alternative for more reliable counts.

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 description explains the methodology (RCDC categories with fallback) and provides common category IDs. It suggests an alternative tool for reliable counts, offering guidance on when to use this tool versus others.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lzinga/us-gov-open-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server