Summarize PhilGEPS procurement
get_procurement_summaryAggregate procurement statistics from PhilGEPS cached notices by year, agency, or region. Get totals, breakdowns by mode and region, and top agencies for research and analysis.
Instructions
Aggregate procurement statistics over the latest notices cached from PhilGEPS.
This tool aggregates the same latest ~100-notice window search_procurement reads (6h cache). rules_evaluated names which breakdowns ran, by_mode and by_region. rules_not_computable explains why total_value_php stays null: PhilGEPS open notices do not publish approved budget amounts. Examples:
get_procurement_summary() get_procurement_summary(agency="DPWH", year=2025)
On failure: data_status "unavailable", upstream_error true, totals zero and by_mode/by_region/top_agencies empty, with the real PhilGEPS error in caveats. A year that is not a plain integer returns validation_error: true and data_status "invalid_request" before any fetch, naming the bad value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Filter publish date to this year. Drops an undated record and notes the dropped count in caveats. | |
| agency | No | Partial agency match filter. | |
| region | No | PH region filter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||