Skip to main content
Glama

search_contracts

Read-onlyIdempotent

Search US federal and state government contract opportunities (bids, RFPs, solicitations).

Use this when the user wants contracts to bid on. Returns {as_of, results, has_more, next_cursor}; each result has id, type, title, agency, office, naics {code, title}, set_aside, state, city, posted_at, response_deadline, url (matchawards.com), sam_url and solicitation_number. Filters: naics, state, keyword, set_aside (federal only), type (federal or state), posted_within_days, open (default true), limit, cursor. If has_more is true, call again with cursor=next_cursor and the same filters. Example: naics="238160", state="VA", keyword="roof". For grants use search_grants, for jobs search_jobs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
openNotrue (the default): only items with a response deadline of today or later, US Eastern; an item with no deadline counts as closed. false: include closed ones.
typeNoNarrow to federal or to state contracts. Leave empty for both.
limitNoNumber of results to return, 1 to 50.
naicsNoUp to 10 six-digit NAICS codes, comma-separated, e.g. '236220' or '541511,541512'. Unknown codes are ignored.
stateNoTwo-letter US state code, e.g. 'VA'. Many federal notices have no state, so this filter skips them.
cursorNonext_cursor from the previous response. Pass it with the same filters to get the next page.
keywordNo2 to 100 characters matched against the title only.
set_asideNoSet-aside code, e.g. 'SBA' or 'SDVOSBC'. Federal contracts only.
posted_within_daysNoOnly items posted in the last N days, 1 to 180 (default 180).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.