get_project_outcomes
MCP Tool
Lookup tool that returns the Project Outcomes Report of one NSF award as plain text, with the report HTML as filed on request.
get_project_outcomes returns the Project Outcomes Report of one NSF award: the public summary of results that a PI
files after an award ends. The report comes back as plain text, with a few identifying fields of the award. The HTML
as filed is added only on request.1
Only completed awards from roughly 2010 on have a report.1 Every normalized award record has a
hasOutcomesReport flag, so check it in a search result or in get_award_details before you call
this tool.2 Award 1114898 has a report; award 9307607 (from 1993) does not.3 The
nsf://award/{id}/outcomes resource template returns the same plain text for clients
that read resources.
The description that clients see in tools/list is:1
Get the Project Outcomes Report (the public summary of results a PI files after an award ends) for one NSF award, as plain text. Only completed awards from roughly 2010 on have one; search results show hasOutcomesReport.
Schema
Descriptions are the exact strings in the Zod schema.4
| Parameter | Type | Required | Default | Constraints | NSF API mapping | Description |
|---|---|---|---|---|---|---|
awardId |
string | yes | trimmed; must match ^\d{1,10}$ |
path segment of GET /awards/{id}/projectoutcomes.json |
NSF award ID, e.g. 2632685 | |
includeHtml |
boolean | no | false |
none (applied by the server) | Also return the report HTML as filed (the plain-text version is always returned) |
An awardId that is not 1 to 10 digits after trimming fails validation with the message
Award IDs are numeric (e.g. 2632685), before any API call.4
Output
| Field | Type | Meaning |
|---|---|---|
awardId |
string | The award ID |
title |
string, optional | Award title |
pdPIName |
string, optional | PI name |
awardeeName |
string, optional | Awardee institution (the record’s awardee field when awardeeName is absent) |
startDate |
string, optional | Start date, mm/dd/yyyy |
expDate |
string, optional | Expiration date, mm/dd/yyyy |
outcomesReport |
string | Project Outcomes Report as plain text |
outcomesReportHtml |
string, optional | The report HTML as the API returns it; only with includeHtml: true |
The fields come from the tool’s output schema and from the record the client builds from the API response.4 5
Behaviour
- Endpoint. The client calls GET /awards/{id}/projectoutcomes.json. It returns
response.award[], the same full record as the detail endpoint. The report is the HTML fieldprojectOutComesReport(capital C), which older awards and active awards lack.6 -
No report. When the award does not exist (HTTP 200 with an empty
awardlist) or its record has no report, the client returns nothing and the tool fails with:5 1No Project Outcomes Report for award <awardId>: the award does not exist, is still active, or predates outcome reports - Plain text. The text version is made from the HTML:
scriptandstyleblocks are removed;<br>and the ends ofp,div,li, headings and table rows become line breaks; list items start with-; other tags are stripped; a tag cut off at the end of a truncated report is dropped; every HTML5 named entity (such as’or—) and numeric entity is decoded, once, so&rsquo;becomes’; an out-of-range numeric entity becomes U+FFFD; non-breaking spaces become plain spaces and soft hyphens are removed; and runs of blank lines are collapsed.7 - Other failures. Transport errors and API error notices propagate as tool errors, for example
NSF API project outcomes lookup failed (timed out).5 8 An HTTP 404 is one of these errors,NSF API project outcomes lookup failed (HTTP 404), and is not retried: the live API never answers a missing award with 404, so a 404 means the API has moved or broken. A body without aresponseobject (an HTML page,{}, a JSON error object) fails with `Unexpected NSF API response (no “response” object, content-type)` instead of reading as "no report".[^api-client] See [Errors](/nsf-awards-mcp/reference/errors.html).
Examples
The report of award 1114898 as plain text:
{ "awardId": "1114898" }
Result, built from the trimmed live record of award 1114898. The PI name is elided here, and the fixture’s report is itself cut short.9 8
{
"awardId": "1114898",
"title": "CNH: Long-Term Vulnerability and Resilience of Coupled Human-Natural Ecosystems to Fire Regime and Climate Changes at an Ancient Wildland Urban Interface",
"pdPIName": "...",
"awardeeName": "University of Arizona",
"startDate": "09/01/2011",
"expDate": "02/29/2016",
"outcomesReport": "In the past half century many thousands of homes have been built within North American forests dominated by ponderosa pine (Pinus ponderosa) trees. These forests and communities are now extremely vulnerable to large, severe fires during droughts as a consequence of fire exclusion and other land use practices. ..."
}
With "includeHtml": true, the result also has outcomesReportHtml, which starts with
<div class="porColContainerWBG">.8
An award without a report returns an error result (isError: true):3
{ "awardId": "9307607" }
No Project Outcomes Report for award 9307607: the award does not exist, is still active, or predates outcome reports