get_award_details

MCP Tool

Lookup tool that returns the full normalized record of one NSF award, found by its numeric award ID.

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

get_award_details returns the full record of one NSF award by its ID: abstract, PI and Co-PIs, institution, program, dates, amounts, yearly obligations, status, place of performance and program officer.1 2 The record is normalized: amounts are numbers, flags are booleans and people are parsed into objects.

Use it after a search, when a summary record is not enough, or when you already know the award ID. Publications are left out unless you ask for them, because they can be large. The Project Outcomes Report is never included: use get_project_outcomes, and check hasOutcomesReport first.1 The nsf://award/{id} resource template returns the same record (always without publications) for clients that read resources.

The description that clients see in tools/list is:1

Get the full record of one NSF award by ID: abstract, PI and Co-PIs, institution, program, dates, amounts, yearly obligations and status. Publications are omitted unless includePublications is true; use get_project_outcomes for the outcomes report (hasOutcomesReport says whether one exists).

Schema

Descriptions are the exact strings in the Zod schema.3

Parameter Type Required Default Constraints NSF API mapping Description
awardId string yes   trimmed; must match ^\d{1,10}$ path segment of GET /awards/{id}.json NSF award ID, e.g. 2632685
includeAbstract boolean no true   none (applied by the server) Include the award abstract
includePublications boolean no false   none (applied by the server) Include publications (jrnl, publicationResearch, publicationConference); can be large

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.3 4

Output

{ "award": { "...": "..." } }

award is the normalized full record, with these changes:1

  • projectOutComesReport (the report HTML) is always removed.
  • abstractText is removed when includeAbstract is false.
  • jrnl, publicationResearch and publicationConference are removed unless includePublications is true.5

Normalization, which the client applies to every record, turns estimatedTotalAmt and fundsObligatedAmt into numbers; activeAwd, histAwd and publicAccessMandate into booleans; primaryProgram into an array; pi and coPDPI into lists of { name, email, former }; renames the API’s piMiddeInitial to piMiddleInitial; drops fields the API sends as ""; and adds hasOutcomesReport.5 fundsObligated stays a list of strings such as "FY 2011 = $1,498,027.00", and dates stay mm/dd/yyyy.2 Every field is described in Award record.

The output schema is loose: it lists the common fields as optional and lets other fields through, so new fields from the API do not cause tool errors.3

Behaviour

  • Endpoint. The client calls GET /awards/{id}.json with the ID URL-encoded in the path.6
  • Missing award. The API answers a missing ID with HTTP 200 and an empty award list, not a 404.7 The client returns no record for that, and the tool fails with No NSF award found with ID <awardId>.6 1 An HTTP 404 is not read as a missing award: it fails with NSF API award lookup failed (HTTP 404) and is not retried, because it 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 <type>).6
  • Other failures. Transport errors and API error notices propagate unchanged as tool errors, for example NSF API award lookup failed (HTTP 503) after the client’s retries.6 8 See Errors.
  • The handler copies the record before removing fields, so it never changes the client’s own copy.8

Examples

The record of award 1114898 without the abstract:

{ "awardId": "1114898", "includeAbstract": false }

Abridged result, built from the trimmed live record of award 1114898. Person names and emails are elided here.9 8

{
  "award": {
    "id": "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",
    "agency": "NSF",
    "transType": "Standard Grant",
    "cfdaNumber": "47.050",
    "awardeeName": "University of Arizona",
    "awardeeCity": "TUCSON",
    "awardeeStateCode": "AZ",
    "awardeeDistrictCode": "AZ07",
    "pdPIName": "...",
    "pi": [{ "name": "...", "email": "...", "former": false }],
    "coPDPI": [{ "name": "...", "email": "...", "former": false }, "..."],
    "startDate": "09/01/2011",
    "expDate": "02/29/2016",
    "date": "08/16/2011",
    "estimatedTotalAmt": 1498027,
    "fundsObligatedAmt": 1498027,
    "fundsObligated": ["FY 2011 = $1,498,027.00"],
    "fundProgramName": "DYN COUPLED NATURAL-HUMAN",
    "dirAbbr": "GEO",
    "divAbbr": "GEO",
    "orgLongName": "Directorate for Geosciences",
    "primaryProgram": ["01001112DB NSF RESEARCH & RELATED ACTIVIT"],
    "activeAwd": false,
    "histAwd": false,
    "publicAccessMandate": false,
    "perfLocation": "University of Arizona",
    "perfStateCode": "AZ",
    "hasOutcomesReport": true,
    "...": "..."
  }
}

The same award with its publications. The result adds jrnl and publicationResearch, but still has no projectOutComesReport:8

{ "awardId": "1114898", "includePublications": true }

A missing award returns an error result (isError: true) whose text is:2

No NSF award found with ID 0000000
  1. get_award_details handler ↩ ↩2 ↩3 ↩4 ↩5

  2. User guide ↩ ↩2 ↩3

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

  4. Input and output schema tests ↩

  5. Award normalization, summary fields and field projection ↩ ↩2

  6. NSF API client ↩ ↩2 ↩3 ↩4

  7. Live API behaviour notes in CLAUDE.md ↩

  8. get_award_details tests ↩ ↩2 ↩3 ↩4

  9. Trimmed live record of award 1114898 ↩

Sources

  1. get_award_details handler tool-handler
  2. Tool input and output schemas tool-schema
  3. NSF API client api-client
  4. Award normalization, summary fields and field projection normalize
  5. get_award_details tests details-tests
  6. Input and output schema tests schema-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