My matches
my_matchesUse this when the user asks for their own matches: open contracts for their business. It needs a linked MatchAwards account and uses that account's NAICS codes and state; without a linked account it asks the user to link one.
Options: type (federal or state), ignore_state (true: every state), only_my_set_aside (true: only notices set aside for the account's set-aside; by default open competitions are included too), limit (1 to 50, default 20). If has_more is true, call again with cursor=next_cursor and the same options.
Print each result's url, and sam_url for federal notices, as markdown links.
Do not use for searches with the user's own filters (search_contracts) or for grants (search_grants).
When you are done searching, call show_results once with the best ids; it shows them as a card the user can pick from.
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": "my_matches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Narrow to federal or to state contracts. Leave empty for both. | |
| limit | No | Number of results to return, 1 to 50. | |
| cursor | No | next_cursor from the previous response. Pass it with the same filters to get the next page. | |
| ignore_state | No | true: search every state, not only the profile's. | |
| only_my_set_aside | No | true: only notices set aside for the profile's set-aside. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| as_of | No | When the API generated the results (ISO time). | |
| results | Yes | ||
| warning | No | Set when paging stopped early; the results so far are still valid. | |
| has_more | Yes | true: call again with cursor=next_cursor and the same filters. | |
| next_cursor | No | ||
| profile_used | Yes | ||
| settings_url | No | Set when the profile has no NAICS codes: the match settings page on matchawards.com where the user adds them. Show it as a markdown link. |