Skip to main content
Glama

Search federal contract awards (USASpending)

search_awards
Read-onlyIdempotent

Search actual federal contract awards on USAspending.gov - who won what, from which agency, for how much. Filter by keywords, NAICS, PSC, recipient name, agency, date range, and award amount. Keyless and unlimited. Call this for competitive intelligence ("who holds contracts in this space"), incumbent research, or agency spending patterns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 10)
end_dateNoYYYY-MM-DD (default: today)
keywordsNoKeyword filters
psc_codesNo
recipientNoRecipient (contractor) name search
max_amountNo
min_amountNo
start_dateNoYYYY-MM-DD (default: 1 year ago)
agency_nameNoAwarding toptier agency name, e.g. "Department of Defense"
naics_codesNo

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive hints. The description adds 'Keyless and unlimited,' which addresses authentication and rate limits, providing valuable behavioral context beyond the annotations.

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 concise: one sentence for purpose, one for filters, one for use cases. It front-loads the core action and every sentence adds value without unnecessary detail.

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?

With 10 parameters and no output schema, the description covers the essential purpose, filters, and use cases. It hints at return fields ('who won what, from which agency, for how much') but does not detail result structure or pagination. Still, it is sufficient for a read-only search tool.

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

Parameters4/5

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

Schema coverage is 60%, so the description partially compensates for the missing param descriptions. It maps filters like 'NAICS, PSC, award amount' to the schema fields, giving meaning to otherwise undocumented params such as naics_codes, psc_codes, and min/max_amount.

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 actual federal contract awards on USAspending.gov, listing specific filters. It distinguishes from siblings by emphasizing 'actual' awards, contrasting with search_opportunities and get_award.

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 explicitly provides use cases: competitive intelligence, incumbent research, and agency spending patterns. It does not explicitly mention when not to use it or alternatives, but the contexts are clear enough for an agent to decide.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: two are code/name resolvers, two are searchers (awards vs opportunities), one fetches award details, one looks up entities, and one aggregates spending. No two tools overlap in function, and descriptions reinforce the boundaries.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (find_agency, find_naics, get_award, lookup_entity, search_awards, search_opportunities, spending_by_category). The use of 'lookup' instead of 'find' is a minor stylistic variation but does not break the overall pattern.

Tool Count5/5

Seven tools is well-scoped for a federal market intelligence server, covering the essential operations of entity resolution, searching, detail retrieval, and aggregation without unnecessary bloat. Each tool earns its place.

Completeness4/5

The tool set provides strong coverage of the federal market research workflow: resolving agencies and NAICS codes, searching opportunities and awards, retrieving award details, vetting entities, and aggregating spending. The only notable gap is the absence of a dedicated 'get_opportunity' tool to mirror 'get_award' for retrieving full opportunity details.

Resources