Skip to main content
Glama

Fed Contracts

Search contract awards

search_awards
Read-onlyIdempotent

Search federal IT/software contract awards signed in the last N days (default 90), newest first. The window filters on signing date, so to find a long-running contract by name (signed years ago, still active) set days up to 3650. Use it to answer "who won what" questions, e.g. "Which companies won DHS cloud contracts this quarter?" or "Find awards mentioning Login.gov at GSA".

Filters (all optional, combined with AND):

  • keyword: case-insensitive substring of the award description. Descriptions are short and written by contracting officers: they name the program or mission ("VA.gov platform", "modernization", "DevSecOps"), almost never languages or frameworks ("Ruby", "React" find little or nothing). For software development work, filter naics_code "541511" (custom computer programming; 541512 is systems design/integration) and work from the winning companies instead.

  • agency: abbreviation (DHS, VA, HHS), sub-agency acronym (USCIS, FEMA, CMS, IRS), or a name fragment of 4+ characters ("Homeland", "Veterans"). The response lists matched_agencies so you can confirm how it was interpreted.

  • naics_code: 2-6 digits, matched as a prefix. "54151" covers all computer services (541511 programming, 541512 systems design/integration, 541519 other); agencies code similar work differently (VA files much of its development under 541512).

  • state (place of performance, 2-letter), min_amount (USD obligated).

Dates: signed_date is when the award was signed; end_date is the current period of performance end; potential_end_date is the end if all options are exercised. Only prime contracts with activity in about the last 2 years are stored. Department of Defense data lags ~90 days. Returns at most limit awards (default 25, max 50, to keep responses within client size limits) plus total_count, each with a usaspending.gov URL. When total_count exceeds what was returned, pass next_offset as offset to get the next page (or narrow the filters). For "who won lately at an agency" prefer recent_awards; for contracts ending soon use expiring_contracts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_awards"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook back this many days by signed date (default 90)
limitNoMax awards to return (default 25)
stateNo2-letter place-of-performance state code, e.g. VA
agencyNoAgency abbreviation, sub-agency acronym, or name fragment
offsetNoSkip this many awards (paging; use next_offset from the previous response)
keywordNoSubstring to match in the award description
min_amountNoMinimum award amount in USD
naics_codeNoNAICS code or prefix (2-6 digits), e.g. 541511 or 54151

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavior beyond that: DoD data lags ~90 days, only prime contracts with activity in roughly the last 2 years are stored, responses are capped at 50 to stay within client size limits, and next_offset drives pagination. It also discloses what the response contains (total_count, matched_agencies, per-award usaspending.gov URL), which matters because no output schema exists.

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?

Opens with the one-sentence scope, then a bulleted filter list, then a dates paragraph and paging note – a structure that lets an agent read only the first line and still act. The length is justified by the amount of non-obvious domain semantics conveyed, and no sentence merely restates the name or schema.

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?

With 8 optional parameters, no output schema, and no enums, a lesser description would leave the agent guessing about return shape and filter interactions. This one covers return contents, paging, response caps, data-freshness caveats, and the AND semantics of combined filters – everything needed to call it correctly on the first try.

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 coverage is 100%, yet the description still adds real meaning: keyword is a case-insensitive substring of a short contracting-officer description; agency accepts abbreviation, sub-agency acronym, or a 4+ character name fragment and echoes the interpretation in matched_agencies; naics_code matches as a 2-6 digit prefix with a concrete example of 54151 covering 541511/541512/541519. It also disambiguates the three date fields (signed_date, end_date, potential_end_date) that the schema never exposes as parameters but shape results.

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 with scope: "Search federal IT/software contract awards signed in the last N days (default 90), newest first." The sort order and the signing-date window are front-loaded, so it is immediately distinguishable from expiring_contracts (ending soon) and recent_awards (agency activity), both of which it names.

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

Usage Guidelines5/5

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

Gives explicit when-to-use with worked example questions ("Which companies won DHS cloud contracts this quarter?"), then routes to alternatives: prefer recent_awards for "who won lately at an agency" and expiring_contracts for contracts ending soon. It also warns about a usage trap – keyword search fails on languages/frameworks, so use naics_code 541511 instead – and explains the days=3650 workaround for finding long-running contracts.

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.