hk_food_alert_get
Pack: hk-food-alerts · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/hk_food_alert_get for the schema, then POST the same URL with its arguments for the data.
Get one Hong Kong Centre for Food Safety food alert or allergy alert by its id (such as 2026_636 from hk_food_alerts_search): the issue date, food product, importer and place of origin, product description (batch, best-before date, weight), the reason for the alert (the test result and the legal limit), the action the CFS and the importer took, the advice to the trade and to consumers, and the related links. Phone numbers and e-mail addresses are removed. An unknown id returns found:false. Example: id=“2026_636”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Alert id such as 2026_636, as returned by hk_food_alerts_search. |
Example call
Arguments
{
"id": "2026_636"
}
curl
curl -X POST https://gateway.pipeworx.io/hk-food-alerts/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hk_food_alert_get","arguments":{"id":"2026_636"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('hk_food_alert_get', {
"id": "2026_636"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
alert | object | |
source | string | |
data_as_of | string | |
caveat | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"alert": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"alert_url": {
"type": "string"
},
"title": {
"type": "string"
},
"issue_date": {
"type": "string"
},
"food_product": {
"type": "string"
},
"importer": {
"type": "string"
},
"place_of_origin": {
"type": "string"
},
"product_description": {
"type": "string"
},
"reason": {
"type": "string"
},
"action_taken": {
"type": "string"
},
"advice_to_trade": {
"type": "string"
},
"advice_to_consumers": {
"type": "string"
},
"further_information": {
"type": "string"
},
"links": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": true
}
},
"other_fields": {
"type": "array",
"items": {}
},
"contact_details": {
"type": "string"
}
},
"additionalProperties": true
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"caveat": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the hk-food-alerts pack
{
"mcpServers": {
"hk-food-alerts": {
"url": "https://gateway.pipeworx.io/hk-food-alerts/mcp"
}
}
}
See Getting Started for client-specific install steps.