cima_supply_problems
Pack: aemps-cima · Endpoint: https://gateway.pipeworx.io/aemps-cima/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/cima_supply_problems for the schema, then POST the same URL with its arguments for the data.
Current and recent medicine-supply shortages in Spain (problemas de suministro) from AEMPS — the Spanish counterpart of the FDA/EMA shortage databases. Returns the affected product, national code (CN), AEMPS shortage-type code, start date, expected end date (open-ended if none), whether it is still active, and AEMPS’s own observation text (often naming an alternative). Only the product name filters this endpoint upstream (not the lab). Answers “is there a shortage of X in Spain”, “current Spanish drug supply problems”. Example: cima_supply_problems({}); cima_supply_problems({ name: “eltrombopag” }). Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | Medicine name to filter by, e.g. “eltrombopag”. Omit for all current supply problems. |
limit | number | no | Max rows to return (default 50, max 200) |
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/aemps-cima/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cima_supply_problems","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cima_supply_problems', {});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"aemps-cima": {
"url": "https://gateway.pipeworx.io/aemps-cima/mcp"
}
}
}
See Getting Started for client-specific install steps.