Skip to content

Example questions

Your assistant turns a question into one tool call. Each call below is the exact tool and arguments for a common question. The repository checks each one against the tool’s input schema. The dates and identifiers are made up: your assistant fills in values that fit the question.

“What does set-aside code 8AN mean?” Ask this before you filter on a code. 8A is 8(a) Competed and 8AN is 8(a) Sole Source. This needs no key.

{
"tool": "lookup_reference_code",
"arguments": {
"domain": "set_aside",
"code": "8AN"
}
}

“Find small business set-aside solicitations about software in Texas, posted in the first three weeks of November.” SAM.gov takes dates as MM/dd/yyyy. SBA is a total small business set-aside.

{
"tool": "get_sam_opportunities",
"arguments": {
"posted_from": "11/01/2026",
"posted_to": "11/21/2026",
"keyword": "software",
"set_aside": "SBA",
"state": "TX",
"limit": 10
}
}

“Show me the SAM.gov registration for this UEI.”

{
"tool": "get_sam_entity_details",
"arguments": {
"uei": "A1B2C3D4E5F6"
}
}

“Is Acme Corp excluded from federal contracting?”

{
"tool": "check_sam_exclusions",
"arguments": {
"entity_name": "Acme Corp"
}
}

“What does this company’s SAM.gov record look like next to the awards it won in fiscal 2025?”

{
"tool": "get_entity_and_awards",
"arguments": {
"uei": "A1B2C3D4E5F6",
"fiscal_year": 2025,
"award_limit": 10
}
}

“How many 8(a) competed and sole source awards did the VA make in August and September 2025?” This tool needs no key. It groups awards without pulling every row, and its answer says which date it filtered on.

{
"tool": "aggregate_contracts",
"arguments": {
"group_by": "set_aside",
"metric": "count",
"date_from": "2025-08-01",
"date_to": "2025-09-30",
"agency": "Department of Veterans Affairs",
"set_aside": [
"8A",
"8AN"
]
}
}

“What did Boeing win in fiscal 2025?”

{
"tool": "search_usaspending_awards_by_recipient",
"arguments": {
"recipient_name": "Boeing",
"fiscal_year": 2025,
"limit": 10
}
}

“Confirm that award’s set-aside and how many offers it got before it goes in a memo.” This is the verification step: it returns the full FPDS record of one award.

{
"tool": "get_award_detail",
"arguments": {
"award_id": "CONT_AWD_36C10B26F0223_3600_47QRCA24DV006_4732"
}
}
Section titled “Contracts, protests, and trends with Tango”

“Which IT contracts did the VA award to service-disabled veteran-owned small businesses in fiscal 2026?” Tango takes an agency as an FPDS code, 3600 for the VA, and a set-aside as exact FPDS codes.

{
"tool": "search_tango_contracts",
"arguments": {
"agency": "3600",
"naics_code": "541512",
"set_aside": [
"SDVOSBS"
],
"date_from": "2025-10-01",
"date_to": "2026-09-30",
"limit": 25
}
}

“Which VA bid protests were sustained this year?”

{
"tool": "search_tango_protests",
"arguments": {
"agency": "3600",
"outcome": "Sustained",
"filed_date_from": "2025-01-01",
"limit": 10
}
}

“How have this vendor’s obligations moved over three years?”

{
"tool": "get_tango_entity_metrics",
"arguments": {
"uei": "A1B2C3D4E5F6",
"months": 36,
"period_grouping": "quarter"
}
}

“Which IT contracts end in the first half of 2027?” Period-of-performance dates are applied by the server on the page it gets, so the answer says so in filters and warnings.

{
"tool": "search_highergov_contracts",
"arguments": {
"naics": [
"541512"
],
"pop_end_after": "2027-01-01",
"pop_end_before": "2027-06-30",
"limit": 50
}
}

“Which service-disabled veteran-owned opportunities were posted this month?”

{
"tool": "search_highergov_opportunities",
"arguments": {
"set_aside": [
"sdvosb"
],
"naics": [
"5415"
],
"posted_after": "2026-11-01",
"limit": 25
}
}
  • Filter first. Each source has its own quota, and some are small. One well-filtered call is better than many lookups.
  • Read filters and warnings. They say which filters the source applied and which the server applied to one page. A total of null means the count cannot be trusted.
  • Check codes before using them. lookup_reference_code lists the codes of a domain.
  • Start with a small limit, and page with next_cursor for more.
  • Use aggregate_contracts for population figures. get_tango_spending_summary summarizes one page of at most 100 records, and says when there are more.

The tool reference lists every tool and argument.