Example questions: Calls your assistant can make, as the exact tool and arguments, for common federal procurement questions, and tips for your own. # Example questions > Calls your assistant can make, as the exact tool and arguments, for common federal procurement questions, and tips for your own. 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. ## Check a set-aside code “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. ```json { "tool": "lookup_reference_code", "arguments": { "domain": "set_aside", "code": "8AN" } } ``` ## Open opportunities “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. ```json { "tool": "get_sam_opportunities", "arguments": { "posted_from": "11/01/2026", "posted_to": "11/21/2026", "keyword": "software", "set_aside": "SBA", "state": "TX", "limit": 10 } } ``` ## Look up a company “Show me the SAM.gov registration for this UEI.” ```json { "tool": "get_sam_entity_details", "arguments": { "uei": "A1B2C3D4E5F6" } } ``` “Is Acme Corp excluded from federal contracting?” ```json { "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?” ```json { "tool": "get_entity_and_awards", "arguments": { "uei": "A1B2C3D4E5F6", "fiscal_year": 2025, "award_limit": 10 } } ``` ## Awards and spending “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. ```json { "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?” ```json { "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. ```json { "tool": "get_award_detail", "arguments": { "award_id": "CONT_AWD_36C10B26F0223_3600_47QRCA24DV006_4732" } } ``` ## 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. ```json { "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?” ```json { "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?” ```json { "tool": "get_tango_entity_metrics", "arguments": { "uei": "A1B2C3D4E5F6", "months": 36, "period_grouping": "quarter" } } ``` ## Forecasts and recompetes with HigherGov “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`. ```json { "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?” ```json { "tool": "search_highergov_opportunities", "arguments": { "set_aside": [ "sdvosb" ], "naics": [ "5415" ], "posted_after": "2026-11-01", "limit": 25 } } ``` ## Tips * **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](/docs/reference/sdk/) lists every tool and argument.