Skip to main content
Glama

Fetch one NIH grant (citation record)

fetch
Read-onlyIdempotent

Use this tool to retrieve the full record for one NIH grant by its id. Returns {id, title, text, url, metadata} with url set to the public OpenNIH grant page so the client can cite it. This is the citation-record wrapper resolving the canonical row for an id. The record is PROJECT-level, not project-year: when a project number owns several project-year rows the LATEST fiscal year is returned (metadata.matching_rows reports how many rows exist). Bounds: id is REQUIRED and must be a full NIH project number matching ^[A-Z0-9-]{1,24}$ (e.g. 1R01CA123456-01A1); core project numbers and partial numbers do not match. An id that matches no row in the corpus raises an error — a missing grant can also mean it was added to RePORTER after the snapshot cutoff, so it is absent here rather than nonexistent.

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent, and the description adds real behavioral context beyond them: PROJECT-level resolution returning the LATEST fiscal year with metadata.matching_rows, plus error behavior for unmatched ids and the snapshot-cutoff caveat for 'missing' grants. That is exactly the kind of context annotations cannot carry.

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?

Front-loaded with purpose and return shape, then constraints and edge cases in priority order. It is dense but nearly every sentence carries unique information; the final snapshot-cutoff sentence is slightly over-explained.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Even though an output schema exists, the description still previews the response fields and URL purpose, and covers the level-of-aggregation subtlety and failure mode. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the sole parameter is undocumented in the schema, so the description carries the full burden — and does: required, full NIH project number format, regex ^[A-Z0-9-]{1,24}$, a concrete example (1R01CA123456-01A1), and the explicit exclusion of core/partial numbers.

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?

States a specific verb and resource ('retrieve the full record for one NIH grant by its id') and discloses the return shape ({id, title, text, url, metadata}). It clearly separates itself from the list/search siblings by being a single-record citation wrapper.

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?

Implies the condition of use (you already hold a full NIH project number) and warns that core project numbers and partial numbers do not match. It does not explicitly name which sibling to use instead when you don't have an id, so it stops short of full when/when-not routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources