Skip to main content
Glama
haydentbs

USAspending MCP Server

by haydentbs

Search USAspending Awards

usaspending_search_awards
Read-onlyIdempotent

Search federal awards and subawards by recipient, agency, date range, award type, NAICS, PSC, or keywords using customizable filters.

Instructions

Search prime awards or subawards with USAspending AdvancedFilterObject filters and selected fields. Use for questions like top awards for a recipient, agency, date range, award type, NAICS, PSC, or keyword.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filtersNoUSAspending AdvancedFilterObject. Common keys include time_period, keywords, agencies, recipient_search_text, award_type_codes, award_ids, naics_codes, psc_codes, and place_of_performance_locations. Specify an explicit time_period for time-sensitive analysis.
fieldsNoFields to return. Examples: Award ID, Recipient Name, Award Amount, Awarding Agency, Description, generated_internal_id.
limitNoResults per page.
pageNoPage number to return.
sortNo
orderNodesc
spending_levelNoawards
response_formatNoOutput format: markdown for readable summaries, json for raw structured data.markdown
Behavior3/5

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

Annotations already declare the tool as read-only and non-destructive. The description adds context about searching both prime awards and subawards, but does not disclose potential behavioral traits like pagination limits, rate constraints, or data freshness. Given the annotation coverage, the description adds moderate value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no unnecessary words. It front-loads the core action and immediately provides use-case examples, making it efficient for an agent to quickly understand the tool's purpose.

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

Completeness3/5

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

Given the tool's complexity (8 parameters, nested filter object, no output schema), the description gives a high-level overview but lacks details on constructing the filter object, handling pagination, or understanding the response structure. It is adequate but not comprehensive.

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?

The description mentions the 'AdvancedFilterObject' and provides example keys, adding value beyond the schema's parameter descriptions. However, with 63% schema coverage, it does not fully compensate for missing descriptions on parameters like 'sort' or 'spending_level'. The examples help but are not exhaustive.

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?

The description clearly states the tool searches prime awards or subawards using AdvancedFilterObject filters and selected fields, with concrete use case examples. It effectively distinguishes from sibling tools like usaspending_search_transactions or usaspending_get_award by specifying the scope.

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?

The description provides explicit examples of when to use the tool ('top awards for a recipient, agency, date range...'), which guides the agent. However, it does not explicitly state when not to use it or compare with sibling alternatives, leaving room for improvement.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/haydentbs/usaspending-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server