Skip to main content
Glama

US Grants.gov Federal Grant Opportunities MCP

Search US federal grants by agency

search_grants_by_agency
Read-onlyIdempotent

Find posted or forecasted US federal grant opportunities published by a specific federal agency code.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agency_code": "<agency_code>"
    },
    "name": "search_grants_by_agency"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoMax opportunities to return (default 10).
keywordNoOptional keyword filter within the agency.
agency_codeYesGrants.gov agency or sub-agency code (e.g. "HHS-NIH11", "DOD", "USDA", "DOC", "ED").
opp_statusesNoOpportunity status filter (default "posted|forecasted").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so safety and side-effect profile are covered. The description adds little beyond restating the posted/forecasted scope, and says nothing about result ordering, pagination limits, or rate limits. Adequate given annotation coverage, but not enriching.

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?

A single front-loaded sentence with zero wasted words. It is arguably terse to the point of omitting the differentiator from siblings, but nothing is redundant or poorly ordered.

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?

This is a simple, single-resource read search: four parameters, all fully documented in the schema, no output schema and no nested objects. The description conveys what kind of results come back and under what status scope, so an agent has what it needs to call it, with only cross-tool routing left implicit.

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

Parameters3/5

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

Schema description coverage is 100%, with agency_code, keyword, rows, and opp_statuses each documented inline (including example agency codes). The description only reinforces that agency_code is the identifying selector and that results are limited to posted/forecasted statuses, adding no syntax or format detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Find'), a specific resource ('posted or forecasted US federal grant opportunities'), and a scoping key ('a specific federal agency code'). It is clearly distinguishable from siblings like search_grants_by_funding_category or list_posted_federal_grants by virtue of the agency scoping, though it never names those alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the word 'specific' hints that an agency code is the required selector, and the 'posted or forecasted' phrasing mirrors the default status filter. There is no explicit statement of when to choose this tool over the funding-category or list-all variants, and no exclusion guidance.

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.