Search PhilGEPS procurement notices
search_procurementSearch Philippine government procurement notices using PhilGEPS data, filtering by keyword, agency, region, or date range. Handles data outages and invalid input with explicit error responses.
Instructions
Search PH government procurement from PhilGEPS open data.
Note: the PhilGEPS public portal does not expose server-side search for external clients, so this tool fetches the latest ~100 bid notices and filters them in-memory. Data is cached 6 hours. Keyword/agency/region filters are applied client-side (case-insensitive substring match). Examples:
search_procurement(keyword="flood") search_procurement(keyword="", agency="DPWH", limit=10)
On failure: returns {results: [], upstream_error: true, data_status: "unavailable", caveats: [...]} instead of a bare list, so an outage is never read as "no matching notices". A date_from or date_to that does not parse returns {results: [], validation_error: true, data_status: "invalid_request"} before any fetch, naming the bad value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 20, max 100). | |
| agency | No | Partial match on procuring entity name. | |
| region | No | PH region filter (partial match). | |
| date_to | No | ||
| keyword | Yes | Search term matched against title + agency + classification. | |
| date_from | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |