PAGASA public advisory, bulletin, and storm surge files
list_pagasa_advisory_filesList PAGASA advisory PDF files (weather, cyclone, storm surge) from public directories, newest first, with optional kind filter and count limit. Returns file metadata like URL, last modified, and size.
Instructions
List PAGASA public PDF files from a pubfiles directory listing, newest first.
Reads the nginx directory index PAGASA publishes at pubfiles.pagasa.dost.gov.ph/tamss/weather// and returns each PDF's name, URL, last-modified time, and size. This tool returns file URLs only, never PDF bytes, so fetch a PDF yourself if you need its contents. Examples:
list_pagasa_advisory_files() latest weather advisories list_pagasa_advisory_files(kind="bulletin", limit=5) 5 newest cyclone bulletins list_pagasa_advisory_files(kind="stormsurge") storm surge folder, flagged stale
On failure: an unknown kind, or a limit outside 1 to 100, gives validation_error true and data_status "invalid_request". A 404, a body with no directory listing, zero parsed files, or a parser error on a 200 body gives data_status "indeterminate". A transport failure or a non-2xx status gives data_status "unavailable". All three carry files: [] and the real error in caveats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | One of "weather_advisory", "bulletin", "stormsurge". | weather_advisory |
| limit | No | Max files to return, newest first (1 to 100, default 20). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||