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.

Status
stable
Trust tier
unverified
Generated
claude-code/claude-opus-5-5, 2026-12-05
Tags
lookupoutcomesawardstools

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 field projectOutComesReport (capital C), which older awards and active awards lack.6
  • No report. When the award does not exist (HTTP 200 with an empty award list) or its record has no report, the client returns nothing and the tool fails with:5 1

    No 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: script and style blocks are removed; <br> and the ends of p, 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 &rsquo; or &mdash;) and numeric entity is decoded, once, so &amp;rsquo; becomes &rsquo;; 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 a response object (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
  1. get_project_outcomes handler ↩ ↩2 ↩3 ↩4

  2. MCP server factory and server instructions ↩

  3. User guide ↩ ↩2

  4. Tool input and output schemas ↩ ↩2 ↩3

  5. NSF API client ↩ ↩2 ↩3

  6. Live API behaviour notes in CLAUDE.md ↩

  7. HTML to plain text conversion ↩

  8. get_project_outcomes tests ↩ ↩2 ↩3

  9. Trimmed live record of award 1114898 ↩

Sources

  1. get_project_outcomes handler tool-handler
  2. Tool input and output schemas tool-schema
  3. NSF API client api-client
  4. HTML to plain text conversion html-utils
  5. MCP server factory and server instructions server
  6. get_project_outcomes tests outcomes-tests
  7. Trimmed live record of award 1114898 award-fixture
  8. User guide usage-guide
  9. Live API behaviour notes in CLAUDE.md api-behaviour