Skip to main content
Glama
lzinga

US Government Open Data MCP

usa_spending_by_award

Search federal spending awards including contracts, grants, loans, and direct payments. Filter by keyword, agency, recipient, date range, award type, and amount to analyze government expenditure data.

Instructions

Search federal spending awards (contracts, grants, loans, direct payments). Filter by keyword, agency, recipient, date range, award type, and amount.

Award type groups: 'contracts', 'grants', 'loans', 'direct_payments'. Or use codes: 'A,B,C,D' (contracts), '02,03,04,05' (grants), '07,08' (loans), '06,10' (direct payments)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keywordNoKeyword to search across award descriptions and recipient names
award_typeNoAward type filter
agencyNoAwarding agency name, e.g. 'Department of Defense'
recipientNoRecipient/company name to search for
stateNoTwo-letter state code, e.g. 'CA', 'TX'
start_dateNoStart date YYYY-MM-DD (default: current FY). Earliest: 2007-10-01
end_dateNoEnd date YYYY-MM-DD (default: today)
min_amountNoMinimum award amount in dollars
max_amountNoMaximum award amount in dollars
limitNoResults per page (default: 25)
pageNoPage number (default: 1)
sort_fieldNoSort by: 'Award Amount' (default), 'Recipient Name', 'Start Date', 'End Date'
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions filtering and award type groups/codes, but fails to disclose critical behavioral traits such as pagination behavior (implied by 'limit' and 'page' parameters but not explained), rate limits, authentication needs, or what the output looks like (e.g., format, fields). For a search tool with 12 parameters and no output schema, this is a significant gap.

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?

The description is appropriately sized and front-loaded, with the first sentence stating the core purpose and key filters. The second sentence adds necessary detail on award type mappings without redundancy. However, it could be slightly more structured by separating usage notes from parameter details.

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

Completeness2/5

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

Given the tool's complexity (12 parameters, no annotations, no output schema), the description is incomplete. It covers the purpose and some parameter context but lacks essential behavioral details like output format, pagination behavior, error handling, or rate limits. For a search tool in a data-rich context, this leaves significant gaps for an AI agent.

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%, so the schema already documents all 12 parameters thoroughly. The description adds minimal value beyond the schema by listing filterable fields and providing award type group/code mappings, but does not elaborate on parameter interactions, defaults, or constraints beyond what's in the schema descriptions. Baseline 3 is appropriate when the schema does the heavy lifting.

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's purpose with specific verbs ('Search federal spending awards') and resources ('contracts, grants, loans, direct payments'), and distinguishes it from siblings by focusing on award-level data rather than agency, recipient, or state aggregates (e.g., usa_spending_by_agency, usa_spending_by_recipient).

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?

The description implies usage through its list of filterable fields (keyword, agency, recipient, etc.), suggesting when to use it for award searches. However, it lacks explicit guidance on when to choose this tool over sibling alternatives like usa_spending_by_agency or usa_spending_by_recipient, and does not mention any prerequisites or exclusions.

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/lzinga/us-government-open-data-mcp'

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