sg_food_recalls_search
Pack: sg-food-recalls · 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/sg_food_recalls_search for the schema, then POST the same URL with its arguments for the data.
Search the Singapore Food Agency’s list of food alerts and recalls: foods recalled or found unsafe in Singapore for foreign matter (glass, metal), undeclared allergens, microbial contamination (Listeria, E. coli, Salmonella, cereulide toxin) or adulteration with banned substances; newest first, the Agency’s recent published span. Each hit gives the date, notice type (recall, alert or adulteration alert), notice title, the product and the reason taken from the title, and the link to the notice. List only: the notice text is not read, so the importer or company is not returned, and every response says so. Filter by a word in the title (a food, brand or hazard such as cheese, milk, allergen, glass) or a date window. Zero matches states the span read. Example: query=“cheese”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Word in the notice title: a food, brand or hazard (e.g. “cheese”, “allergen”, “glass”, “formula”). Optional. |
date_from | string | no | Only notices on or after this ISO date (YYYY-MM-DD). |
date_to | string | no | Only notices on or before this ISO date (YYYY-MM-DD). |
limit | number | no | Notices to return (1-100, default 20). |
Example call
Arguments
{
"query": "cheese"
}
curl
curl -X POST https://gateway.pipeworx.io/sg-food-recalls/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sg_food_recalls_search","arguments":{"query":"cheese"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sg_food_recalls_search', {
"query": "cheese"
});
Response shape
| Field | Type | Description |
|---|---|---|
query | object | |
found | boolean | |
total_matching | number | |
returned | number | |
notices | array | |
searched | object | |
notice_text_read | boolean | |
notice_text_note | string | |
data_as_of | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"date_from": {
"type": "null"
},
"date_to": {
"type": "null"
}
},
"additionalProperties": true
},
"found": {
"type": "boolean"
},
"total_matching": {
"type": "number"
},
"returned": {
"type": "number"
},
"notices": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"date": {
"type": "string"
},
"title": {
"type": "string"
},
"notice_type": {
"type": "string"
},
"product": {
"type": "string"
},
"reason": {
"type": "string"
},
"importer_company": {
"type": "null"
},
"notice_url": {
"type": "string"
}
},
"additionalProperties": true
}
},
"searched": {
"type": "object",
"properties": {
"list": {
"type": "string"
},
"entries_scanned": {
"type": "number"
},
"scanned_first": {
"type": "string"
},
"scanned_last": {
"type": "string"
},
"limit": {
"type": "number"
}
},
"additionalProperties": true
},
"notice_text_read": {
"type": "boolean"
},
"notice_text_note": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"source": {
"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 sg-food-recalls pack
{
"mcpServers": {
"sg-food-recalls": {
"url": "https://gateway.pipeworx.io/sg-food-recalls/mcp"
}
}
}
See Getting Started for client-specific install steps.